Hi,

I have been working with VRML97Player that loads VRML files. I am having
problems with certain VRML files that I believe the Player reads
incorrectly. The files that I am having problems with have Proto and IS
statements included in them. For example, the sample file I have included at
the bottom is to view three cubes, one green and two red. The problem is
that when I view the file with the Player I will see an assortment of
objects. Sometimes I will see one red cube, or one green cube or all of the
cubes, but never will I see all of the cubes every time. I was curious to
know if this is a bug with the Player or just me. Note: I have used
VRML97Viewer and SimpleVRML97Viewer and they work fine but they ignore some
of the VRML language.

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

Reply via email to