J3D Zoom

D

DERosenblum

I am using the OrbitBehavior Class to zoom in on my application. The
zoom action moves the ViewPlatform closer to or further from the point
of interest when the mouse is moved with the middle mouse button
pressed. I'd rather have a zoom in and zoom out button (JButton) where
each time I pushed it, it would zoom in or out. Is this possible in
J3D or do i need to stick with the mouse button?

http://dmi.ensica.fr/doc/Java/java3d-1_3_2-doc/com/sun/j3d/utils/behaviors/vp/OrbitBehavior.html

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top