Opened 8 years ago

Last modified 8 years ago

#66 accepted enhancement

Additional PNG texture format

Reported by: ddenn Owned by: angrypig
Priority: minor Component: Anteworld / Outerra tech demo
Version: Keywords: PNG, texture, format
Cc: Graphics card series: NV-400
Driver version: 301.42 Operating system: Win7


Can we have possibility use not only DDS format, but PNG also for textures? DDS are very user-unfriendly. It could be done like in x-plane, if there is DDS file, xplane uses it, if theres only PNG with specified name it uses PNG.

Change History (2)

comment:1 Changed 8 years ago by angrypig

If we will support this, people will use it and this will become a performance issue because we are doing all texture/geometry/terrain loads on demand. We have no pre-loading or level loading etc. and the next reason why not support PNG directly by engine is virtual texturing in the future, the PNG format is not suitable for such things. But as i said on the forum i can support the conversion in importer from TGA/PNG formats.

BTW if i remember correctly PNG has some issues with alpha channel that is why i am using TGA for uncompressed textures.

And the PNG doesn't support mipmaps, may be it is ok for X-Plane to generate mipmaps in real-time but it is the performance issue, especially if you need to convert it into DXT format to keep the memory footprint low.

Outerra has a lot of requirements that are common for standard game engines it is not simulator where some performance issues can be overlooked but what i read on FS forums people appreciate Outerra smooth rendering and we want to keep this because OT will be used for games too.

So we have to find out another way how to help people to fight this issue perhaps some separate authoring tool specialized for texture conversion that will automatically convert textures to right format? For example in the standard game development process it's common practice to let artists using lossless formats like PNG/TGA and then compile them into format suitable for engine.

Any ideas?

comment:2 Changed 8 years ago by angrypig

  • Owner set to angrypig
  • Status changed from new to accepted
Note: See TracTickets for help on using tickets.