> From: Rui Prada <[EMAIL PROTECTED]>
>
> I have a little problem.
> I've built a scene and used some link nodes. I want to get the world
> coordinates using the getLocalToVworld method and get this exception when
> applied to the children of the link node(the capability to read is set):
> 
> javax.media.j3d.IllegalSharingException: Not suported in a Shared graph
> 


Since a SharedGroup can be pointed to by multiple Links, you need to specify the 
SceneGraphPath of the instance you want to getLocalToVworld().  See the other 
version of getLocalToVworld() in the docs for Node.

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