* Robicd -- Friday 21 April 2006 00:01:
>  what happens when the same 3d object is 
> present multiple times in the scene, does fgfs load into memory multiple 
> copies of the same texture?

Depends: OBJECT_SHARED objects are, well, shared. And they are never freed
until fgfs is exited. That's intentional: they are very frequently used and
not that big. Textures are also shared with them. You'd see in the listings
if they'd load the same textures multiple times, for example the windock.
It's only listed once.

OBJECT_STATIC, in turn, are not shared, but freed with the tile. Their
textures aren't shared either. Would be nice if they did, of course.
OTOH, most of the static objects have textures that are of no use for
other models, so it's not a big problem.

m.


-------------------------------------------------------
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to