John Wright wrote:
TextureLoader is capable of loading "textures" / "images" of sizes other than powers of two. It will automatically adjust the image for you. So it can be flexible if you let it. (I try to make all my textures powers of two so such adjustments aren't necessary)
To add to John's point - if you provide them as powers of two directly, that saves having an extra copy of the image floating around in memory too at some point during the process. If you have moderately sized textures ( >256x256) then that can add up to quite a lot of memory being used.
-- 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".