> From: Shawn Kendall <[EMAIL PROTECTED]>
>
> Is there. or what is the easiest way to set the entire scene appearance
> atrributes, i.e. make the entire scene render wireframe?
> In OpenGL, you can can set global render flags, how can I do this in
> Java3D without having to traverse the scene and set each Shape3d's
> appearrance?


There really isn't an equivalent to OpenGL global attributes in J3D. 

You can make all your Shape3D's share the same Appearance.  Any changes to the 
appearance will affect all the Shape3D's which share it. 

A better way might be to create a single PolygonAttributes and have all your 
Appearance's share it.  Then you can change the polygon mode from solid to 
wireframe on the single PolygonAttributes and all the Shape3Ds will change.

Doug Gehringer
Sun Microsystems

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to