John Wright wrote:
Giuseppe,

Justin has written code that loads images for textures without using
TextureLoader.  I believe one of the main reasons Justin wrote his code
is specifically to avoid this issue of TextureLoader creating multiple
copies of the same image.  It does require the images are powers of two
though.  I imagine it wouldn't be too hard to duplicate Sun's code for
resizing images to a power of two (but maybe that's where the extra copy
comes from?).

I've added this code to Xj3D, but I haven't pushed it back to the
j3d.org codebase yet.

--
Alan Hudson
President: Yumetech, Inc.                      http://www.yumetech.com/
Web3D Open Source Chair        http://www.web3d.org/TaskGroups/source/

===========================================================================
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".

Reply via email to