Hi, Arvi,

You can use the VrmlGeometryLoader at http://java3d.yeah.net to get full
control of Shape3D node. Then you can modify the geometry and material
on-the-fly. VrmlGeometryLoader doesn't implement the Loader interface, but
returns a Shape3D node containing the geometry. Check http://java3d.yeah.net
for details and examples.

Sincerely,
Wang Yuhang
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: Hangna <Hangna>
Date: Monday, February 22, 1999 3:07 AM
Subject: [java3d] Changing Shape3D!


>If i load in a vrml file into java3D, where the vrml file contains
>Transforms that contain objects, ie cylinder, cube. Then when this vrml
file
>is loaded into java3D i can retrieve these vrml Transforms as
>TransformGroups using VrmlScene.getNamedObjects() to get a handle to the
J3D
>TransformGroup equivalent.
>
>What i would like to know is, is it possible to change the
geometry/material
>properties of these vrml objects once you have a handle to them in Java3d.
>ie. How could i now having got a handle to the J3D Transformgroup change
the
>colour of the original object from the vrml file.
>
>Thanks.
>
>************************************************
>                        Arvi Chahal
>                [EMAIL PROTECTED]
>************************************************
>
>=====================================================================
>To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
>Java 3D Home Page: http://java.sun.com/products/java-media/3D/
>
>


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

Reply via email to