Erik Hofman wrote:

Richard Bytheway wrote:

-----Original Message-----
[mailto:[EMAIL PROTECTED] Behalf Of Melchior
FRANZ


I let this program now run over the directories Textures{,.high}/
and Aircraft/ and got this difference:

 cvs:        223.61 MB
 recoded:    182.09 MB
 ----------------------
 savings:     41.52 MB


Do the texture files _have_ to be in RGB(A) format?


Yes, any other (non OpenGL supported format) just saves some disk space but no texture memory. As far as I understand it, OpenGL supports compressed RGB images _in_memory_. So I think we should update CVS as well.


My understanding is that there is a special api the driver/card provides for compressed textures. Remember that it is *plib* that does the texture loading. It reads from the disk and decompresses it into a raw format internally which it can hand off to the opengl api. If *plib* can't read Melchior's better compression scheme, then there's not too much point in doing it.

Regards,

Curt.

--
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to