Hi,
Can you please let me know how to get the geometry from a live Shape3D.
I am doing Java3D and VRML. I have loaded my scene from the VRML file.
I got the Shpe3D from the scene I now want to get the co-ordinates of the
vertices of the object loaded form the VRML file.
If there is any other way of doning this. Then let me know.
--
Many Thanks.
NI
-- Part of my code
PickPoint p = new PickPoint();
Point3d p3d = new Point3d();
p.get(p3d);
SceneGraphPath[] sgp = sceneGroup.pickAllSorted(p);
Node node = sgp[0].getObject(); // Works fine
Shape3D shape = (Shape3D)node; // Works fine
// I can not do the following cos my sceneGroup is live
//shape.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
//System.out.println("-> "+shape.getGeometry());
===========================================================================
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".