Hi,
If you are importing a scene (vrml,lws,etc) with
cameras/views defined you can get then and use.
see the Java3D's demo LightWave Viewer.java.

And take look to :
"Overview of the Camera-Based View Model"
http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dguide/AppendixViewa.html#47821

Of course the entire page is very interesting ;)

Alessandro









 --- Chris Ender <[EMAIL PROTECTED]> escreveu: >
Helllo Archana,
> This is copied from the HelloUniverse.java from
> /java/demo/java3d
>
> // Create a simple scene and attach it to the
> virtual universe
> BranchGroup scene = createSceneGraph();
> u = new SimpleUniverse(c);
> // This will move the ViewPlatform back a bit so the
> // objects in the scene can be viewed.
> u.getViewingPlatform().setNominalViewingTransform();
> u.addBranchGraph(scene);
>
> The spartial extends are calculated automatically.
> Hope it helps?
> Chris
>
> ----- Original Message -----
> From: "Archana Chilukuri"
> <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, February 28, 2004 1:35 AM
> Subject: [JAVA3D] perspective projection
>
>
> > Hi,
> >
> > My problem is like this. I have minx, maxx, miny,
> maxy , minz, maxz values
> > of a goemetry that needs to be rendered.
> >
> > I do not know how to set the perspective
> projection for the view object.
> > Does anybody have code snippets which explains
> this?
> >
> > I just want my application to able to view any
> geometry.
> >
> > Thanks,
> > Archana
> >
> >
>
===========================================================================
> > 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".

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html

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