Thanks for the suggestion Ted; I mistakenly left out a bit of information
that makes this solution not work for me.  My scene is live, so I can only
add BranchGroups...

-Ed

-----Original Message-----
From: Ted
Sent: Friday, October 04, 2002 8:41 AM
To: Scholl, Ed
Subject: Re: [JAVA3D] ObjectFile loader and transforms, behaviors


Hi Ed,

I actually had the same problem a few days ago!  What I ended up doing was
creating a new TransformGroup, then adding the root of the subgraph
(created by the obj loader) as a child to the TransformGroup, then adding
that TransformGroup to the application's main branch group.

On Fri, 4 Oct 2002, Scholl, Ed wrote:

> Hello-
>
> Just a hopefully quick question to something I can't find the answer to-
I'm
> loading up some geometry with the obj file loader.  I'm trying to set some
> transforms and add a couple behaviors.  I can grab the BranchGroup, which
I
> then add to my application's main branchgroup.  How do I add transforms
and
> behaviors to it?  All the examples I can find have you add the group to a
> TransformGroup; however, I can't do this because then I can't add it to my
> main BranchGroup (multi-parent exception).
>
> Any pointers is greatly appreciated.  Thanks!
>
> -Ed
>
>
===========================================================================
> 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