BVEStation

Author Topic: Better Performance on Routes & Trains  (Read 3051 times)

Offline coneyislandDFNQ

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 801
  • Gender: Male
  • Route & Object Developer
    • View Profile
Better Performance on Routes & Trains
« on: October 22, 2011, 11:08:05 am »
I heard some users mention it before and I tested it and the theory is correct.


When developing I suggest that you use .png instead of .bmp


.png uses less disk space and it runs better in openBVE especially with people who have outdated graphic cards.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: Better Performance on Routes & Trains
« Reply #1 on: October 22, 2011, 12:30:20 pm »
What about the use of alpha channels on .png images? Wouldn't that slow computers down more than .bmp images?
Previously known as pjiang6211

Offline coneyislandDFNQ

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 801
  • Gender: Male
  • Route & Object Developer
    • View Profile
Re: Better Performance on Routes & Trains
« Reply #2 on: October 22, 2011, 12:34:15 pm »
What about the use of alpha channels on .png images? Wouldn't that slow computers down more than .bmp images?

It would but not as much as a .bmp. The .bmp is too big as an image file. Kinda compare it to a .zip and a .rar. I would use .rar or even .7z because it compresses smaller than a .zip file

Offline ipac

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 645
    • View Profile
Re: Better Performance on Routes & Trains
« Reply #3 on: October 22, 2011, 12:34:46 pm »
Then there would be no alpha channels, since bmp doesn't support it.
BVEStation.

Offline coneyislandDFNQ

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 801
  • Gender: Male
  • Route & Object Developer
    • View Profile
Re: Better Performance on Routes & Trains
« Reply #4 on: October 22, 2011, 12:37:39 pm »
Then there would be no alpha channels, since bmp doesn't support it.

Even better. Lol

Offline error46146

  • Head Admin
  • Dispatcher
  • ******
  • Posts: 620
  • Gender: Male
    • View Profile
    • Photography by me.
Re: Better Performance on Routes & Trains
« Reply #5 on: October 22, 2011, 03:22:09 pm »
We still use BMP for the sake of backwards-compatibility with BVE2.

For maximum performance and space compression I would prefer to use JPEG format but some people have a grudge against it (you all know who you are lol)

Offline Dj Hammers

  • Head Admin
  • Supervisor
  • ***
  • Posts: 1,034
  • Gender: Male
  • 7 Years of Developing for openBVE!
    • View Profile
    • My YouTube Channel
Re: Better Performance on Routes & Trains
« Reply #6 on: October 22, 2011, 05:13:23 pm »
I do not like to use JPEG because of image noise (however yes I do know that there are noise-free JPEG standards).

JPEG is not meant for being used in textures, but rather images. PNG is perfect for texture use.