Hi,
I am using the VRML97Player and I am having some difficulty. When I load
simple VRML files into the Player it works fine, but lately I have been
trying to view VRML files with Protos and IS statements. The objects come up
but not the way I want them to. For example, the included source code should
bring up three cubes, one green and two red, but with the Player I am seeing
one green cube or two red cubes or other order of objects. Sometimes the
file does come up like it should but that is only on a lucky chance. I was
wondering if this is some kind of bug in the loader or just me?
Thanks in advance,
William Grady
-----------------------
#VRML V2.0 utf8
PROTO MyBox
[
exposedField SFVec3f translation 0 0 0
exposedField SFColor myBoxColor 1 0 0
]
{
Transform {
translation IS translation
scale 0.9 0.9 0.9
children [
Shape {
appearance Appearance {
material Material {
diffuseColor IS myBoxColor
}
}
geometry Box {
size 1 1 1
}
}
]
}
}
DEF MyBox_0 MyBox {}
DEF MyBox_1 MyBox {
translation 1 0 0
}
DEF MyBox_2 MyBox {
translation 2 0 0
myBoxColor 0 1 0
}
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
===========================================================================
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".