Thanks...this did the trick.  I guess I just didn't really understand
what a SceneGraphPath was until now.  I didn't know it held references
to all of the object in the path.

thanks for the info,

kddubb

On Thu, 2004-03-18 at 13:29, Justin Couch wrote:
> Kevin Werner wrote:
>
> > What can I do to find the Group that a Shape3D is in without calling
> > getParent()?  Or what am I doing wrong so that getParent() works?
>
> If you are using picking, then you will get back a SceneGraphPath
> instance. If you have enabled pick reporting on the parent group(s),
> then these will appear in the path (which is the listing of the nodes
> from the root of the scene graph to the object that was picked).  To
> find the parent, just walk backwards from the end of the path until you
> find the Group of interest.
>
> --
> Justin Couch                         http://www.vlc.com.au/~justin/
> Java Architect & Bit Twiddler              http://www.yumetech.com/
> Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
> -------------------------------------------------------------------
> "Look through the lens, and the light breaks down into many lights.
>   Turn it or move it, and a new set of arrangements appears... is it
>   a single light or many lights, lights that one must know how to
>   distinguish, recognise and appreciate? Is it one light with many
>   frames or one frame for many lights?"      -Subcomandante Marcos
> -------------------------------------------------------------------
>
> ===========================================================================
> 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".

Reply via email to