> 
> I'd like to know how I could move the user position. That is I want to 
> create the same effect that if it was a camera that is moving and not the 
> objets in the scene. How can I do that?
> It looks like a need the View attached to the scene graph, but I don't 
> see how I can change the transform to move the view.
> 
> Does anyone know how to do that or has any idea on how to proceed?
> 

Look at the VirtualInputDevice sample program - it does exactly what you
want.

The important line of code can be found in the HelloUniverse.java
file:
        TransformGroup viewTrans =
                        u.getViewingPlatform().getViewPlatformTransform();

You want to modify this viewTrans TransformGroup.


Dan Petersen
Java 3D Team
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