William,
thanks for the bug report and example. Is this with the 0.90.2 release of the player?
______________________________________
Rick Goldberg - Member Technical Staff
Sun Microsystems
Graphics Software - Computer Systems
901 San Antonio Road, MS UMPK27-302
Palo Alto, CA 94043-4900
650 786-0108 Direct
650 856-2114 Fax
[EMAIL PROTECTED]
> X-Originating-IP: [129.73.1.1]
> Mime-Version: 1.0
> Date: Mon, 28 Jun 1999 06:07:05 PDT
> From: William Grady <[EMAIL PROTECTED]>
> Subject: [JAVA3D] VRML97Player question
> To: [EMAIL PROTECTED]
>
> 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".
===========================================================================
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".