> > > ----- Original Message -----
> > > From: thorsten topol <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, December 18, 2001 6:17 AM
> > > Subject: Re: [JAVA3D] obj coordinates
> > >
> > >
> > > Hi,
> > > Thanks for your help, but I just can't find the
> > > getLocalToVWorldTransform() class.
> > > I tried to use the getLocalToVworld() class
> > instead,
> > > but it does not seems to work.
> > >
> > > Here is my code:
> > > ...
> > > objs= scene.getNamedObjects();
> > > Set keys = objs.keySet();
> > > Iterator ite = keys.iterator();
> > > while (ite.hasNext()){
> > >       Shape3D node = (Shape3D)
> > objs.get(ite.next());

Here, you new a Shape3D, but you haven't addChilded() it to
anything attached to the root yet.  There's no
getLocalToVworld() defined.

Are you trying to setAppearance() based on the Shape3D's global
position?  If so, you have to wait until after you've attached
the Shape3D to the live scene graph (after a
setCapability(ALLOW_APPEARANCE_WRITE)).

. . .

Hth,
Fred Klingener

===========================================================================
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