Melchior FRANZ wrote:

Note that several textures are loaded multiple times! This is especially
painful for textures that are >1MB and don't really contain anything
meaningful, such as the Nimitz' red.rgb halo, which is loaded 28 times
into memory!

A few weeks back I already had a hunch something like this was happening (back when I used the sun halo texture for the runway lights). The best way to handle this is to create a caching mechanism where the absolute path of the texture is the key and the texture-id is cached for future use.

Erik


--
http://www.ehtw.info (Dutch)    Future of Enschede Airport Twente
http://www.ehofman.com/fgfs     FlightGear Flight Simulator


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to