Hi Alan, Thanks for the suggestion. I tried putting the primitive Box in a SharedGroup as you suggested and it still works. Looks like this isn't the problem.
Kelvin is investigating further. josh >>> [EMAIL PROTECTED] 01/11/02 05:36PM >>> Josh Richmond wrote: >As a sanity check, I plopped some code from TextureImage.java (the demo) into the >previous test code I emailed - it works!! > >To be more precise, when displaying a textured Box primitive constructed in code, the >texture remains even though I remove and replace the JPanel containing the Canvas3D. >It still does NOT work with a VRML file. > >What is the difference? > >NOTE: In the attached code, you'll have to change the URL of the texture you want to >load. It's a lazy piece of test code. > >josh > Hmmm, you mentioned the VRML objects where DEFed right? So maybe this is an issue with SharedGroups across multiple views? Try putting the box under a SharedGroup and see what happens. -- 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".
