Hi everyone This is a strange vrml file with texture. It can be rendered well in the browser Octaga, but texture not displayed with the Xj3D loader. I use sample code LoaderDemo.java to load it.
What's the problem? Strange!! The following is the vrml file. #VRML V2.0 utf8 NavigationInfo { type [ "EXAMINE" "ANY" ] } Group { children [ Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 50.0 -64.0, 28.0 -47.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 28.0 -47.0, 33.0 -21.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 33.0 -21.0, 16.0 -9.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 16.0 -9.0, -7.0 -17.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -7.0 -17.0, -27.0 -2.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -27.0 -2.0, -37.0 -6.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -37.0 -6.0, -42.0 -13.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -42.0 -13.0, -55.0 -11.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -55.0 -11.0, -56.0 -8.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -56.0 -8.0, -50.0 3.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -50.0 3.0, -38.0 3.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -38.0 3.0, -30.0 4.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -30.0 4.0, -26.0 26.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -26.0 26.0, -48.0 46.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -48.0 46.0, -43.0 50.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -43.0 50.0, -21.0 33.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ -21.0 33.0, 5.0 39.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 5.0 39.0, 21.0 27.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 21.0 27.0, 45.0 34.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 45.0 34.0, 64.0 16.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 64.0 16.0, 64.0 -8.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 64.0 -8.0, 79.0 -24.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 79.0 -24.0, 81.0 -51.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Shape { appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } texture ImageTexture { url ["brick.jpg"] } } geometry Extrusion { beginCap FALSE crossSection [ 81.0 -51.0, 50.0 -64.0] endCap FALSE solid FALSE spine [ 0 0 0, 0 15 0 ] } } Transform { translation 0 15 0 children [ Shape{ appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } } geometry Extrusion { beginCap FALSE crossSection [ 50.0 -64.0,28.0 -47.0,33.0 -21.0,16.0 -9.0,-7.0 -17.0,-27.0 -2.0,- 37.0 -6.0,-42.0 -13.0,-55.0 -11.0,-56.0 -8.0,-50.0 3.0,-38.0 3.0,-30.0 4.0,-26.0 26.0,-48.0 46.0,-43.0 50.0,-21.0 33.0,5.0 39.0,21.0 27.0,45.0 34.0,64.0 16.0,64.0 -8.0,79.0 -24.0,81.0 -51.0,50.0 -64.0 ] endCap TRUE solid FALSE spine [ 0 0 0, 0 0.01 0] } } ] } Transform { translation 0 0 0 children [ Shape{ appearance Appearance { material Material { diffuseColor 0.75 0.75 0.75 } } geometry Extrusion { beginCap FALSE crossSection [ 50.0 -64.0,28.0 -47.0,33.0 -21.0,16.0 -9.0,-7.0 -17.0,-27.0 -2.0,- 37.0 -6.0,-42.0 -13.0,-55.0 -11.0,-56.0 -8.0,-50.0 3.0,-38.0 3.0,-30.0 4.0,-26.0 26.0,-48.0 46.0,-43.0 50.0,-21.0 33.0,5.0 39.0,21.0 27.0,45.0 34.0,64.0 16.0,64.0 -8.0,79.0 -24.0,81.0 -51.0,50.0 -64.0 ] endCap TRUE solid FALSE spine [ 0 0 0, 0 0.01 0] } } ] } ] } =========================================================================== 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".