Paul Gordon wrote:
Hi folks,Odd.
When I load VRML97 files with textures, random numbers of shapes do not get the textures applied, and on the screen I get several messages of the form
Failed to create buffered image for: myfile.jpg
Many shapes use the same texture image file, and it appears for some of the loaded shapes in the scene, but not for others. I have searched for other people reporting this, but to no avail. This error appears to occur under Solaris, but not Windows. Memory is not an issue. Has anyone ever seen this message?
Does it always fail on the same file between runs or is it different ones?
It appears to fail on the same shapes between runs of the same model. If I load foo.jpg as a texture for 3 different shapes, one doesn't get any texture. But if I symlink foo1.jpg and foo2.jpg to foo.jpg and replace the references in the VRML file so any particular filename for the texture is only given once, they all load. So it seems to be something particularly about reloading the same filename repeatedly. Can or does the loader try to cache a loaded texture based on the file name? Bizarre that it only happens under Solaris, not Windows...
Also, which version of Xj3D are you using? The latest stable release is M7.
I'm using M8 RC2.
Any help you can give in this matter would be most appreciated! Thanks!
P.S. In the model file, many shapes are reusing the same texture, but different parts of it (it's a human anaotmical model). These textures are rescaled to 1024x1024 or 2048x2048 by the loader.
-- 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".
=========================================================================== 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".