What do u mean? The distance of a viewer from the _center_ of the
universe? Then call

> Node.getLocalToVworld
>
> public final void getLocalToVworld(Transform3D t)
>
> Retrieves the local coordinates to virtual world coordinates
> transform for this node in the scene graph. This is the composite of
> all transforms in the scene graph from the root down to this node.
> It is only valid for nodes that are part of a live scene graph.
>
> Parameters: t - the object that will receive the local coordinates
> to Vworld coordinates transform.

function on your ViewPlatform object. This should work just fine,
though i never tried it myself.

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
SS> Hi all,

SS> I suppose there is a simple field to retrieve distance of the viewer from
SS> the universe.

SS> Which is?
SS> Can I modify it on the fly?

SS> Thanks

SS> ===========================================================================
SS> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
SS> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
SS> [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