ZoomIn function

Hı,
I am trying find out how i can implement a zoom in operation. I dont want to put the camera position to a far point to have the zooming effect. In opengl, I think i can do this by adjusting the projection parameters. How can i change the projection parameters of Java3D and/or handle zoomin effect.
Thanks for the answers.

You could just move the ViewPlatform’s parent TransformGroup.

Check out this
http://www.graphcomp.com/info/specs/java3d/j3dguide/ViewModel.doc.html

But moving the parent transform will put the camera forward which i dont want. I dont want to get into mountains while zooming in.It should be as if i am just looking from a binoculars. Any idea ? It should be very easy in opengl for orhographic projection, just setting the deminsions of the projection to a smaller value. But i am stuck with the Java3d and perspective view, i dont know how to do it here.

What is the difference between moving the view-platform and zooming in? The view of a 3D environment is not the same as a camera.

I believe you can control the FOV in Java3D and probably do what you’re talking about doing with OpenGL, but I’m not sure it’s a good solution to the problem you’re describing.

Adjustıng fıeld of vıew is doing, what i exactly want. Moving viewing platform is not a solution to my problem because, if i move the platform than i am looking into mountains as if i am a ghost. If there is a wall, i cannot look behind the wall with a binocular. Thanks for help. The link provided in the previous messages helped so much.

I see, that makes sense :slight_smile: