Artur Biesiadowski wrote:
Question for both you and Justin - do you clear cache at some point ? Use weak references ? Or just keep all textures forever ?
The j3d.org setup allows you to request different caching strategies. There are 3 different types by default - no caching, weak ref, and hold references forever. For some reason, John was having problems with the fixed cache dropping references too like it was the weakref implementation. Unfortunately I could never reproduce what he was seeing so I couldn't find out what the problem was. Xj3D uses the j3d.org texture caching code too and we run some *really* large worlds (ie hundreds of megs of textures) through it and have never noticed a problem, so it's got me baffled! -- Justin Couch http://www.vlc.com.au/~justin/ Java Architect & Bit Twiddler http://www.yumetech.com/ Author, Java 3D FAQ Maintainer http://www.j3d.org/ ------------------------------------------------------------------- "Humanism is dead. Animals think, feel; so do machines now. Neither man nor woman is the measure of all things. Every organism processes data according to its domain, its environment; you, with all your brains, would be useless in a mouse's universe..." - Greg Bear, Slant ------------------------------------------------------------------- =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
