cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
thomasz
Level IV

Panning and zooming in 3D scene with Arcball

Is there a way to add panning with mouse and zooming with a mouse wheel, to be able to navigate a graph in a 3D scene built with build scene? It appears that only rotating the object added to the Arcball is possible and that it is not possible to getting or setting the orientation of the Arcball either.

2 REPLIES 2
Craige_Hales
Super User

Re: Panning and zooming in 3D scene with Arcball

The 3D surface platform can save and restore the arcball settings; the internal quaternions are converted to Euler angles for saving. The platforms don't have the zoom/pan implemented using arcball-like controls, but you can use the mouse on the graph's axes to pan and zoom the data.

There are also scene3D JSL examples: car.jsl that show how arcballs can be linked together and nested. And the ratmaze.jsl example lets you walk through a 3D scene using the mouse; there is a digital clock in the maze that is in an arcball. But the "you" point-of-view is not an arcball.

I do not know if the Euler angles are exposed via the scriptable interface of the arcball...check the scripting index.

 

Craige
thomasz
Level IV

Re: Panning and zooming in 3D scene with Arcball

Thanks - just posted a new and more detailed question regarding this. None of the JSL examples combine panning and zooming with the Arcball and I have checked the scripting index. But not being in there doesn't always mean it's not there.

Functionality similar to the 3D surface platform would be fine, but I assume it's not the right platform for custom openGL visualization. It might have access to either another ArcBall implementation or to some more internals thereof.

Recommended Articles