>>>>> "Chris" == Chris Coat <[email protected]> writes:

 Chris> Hello everybody, Does anyone know if it can be possible to
 Chris> change the orbit and the zoom of the 3D view with other inputs
 Chris> than the mouse ?

If you look at the existing mouse handling code under org.nlogo.gl and
see what methods it calls in response to mouse events, you ought to be
able to call those same methods yourself, programmatically.

And/or, another path to follow to find relevant code:

NetLogo 3D (as opposed to the 3D view of regular NetLogo) provides
primitives such as `zoom` that move the observer (the camera)
programatically.  So for example if you look at

  
https://github.com/NetLogo/NetLogo/blob/5.0.x/src/main/org/nlogo/prim/threed/_zoom.scala

you'll see that it calls the Observer class's `oxyandzcor` method, which
isn't specific to NetLogo 3D (it exists in Observer, not only in
Observer3D), so you ought to be able to call it from your own code.

--
Seth Tisue | Northwestern University | http://tisue.net
developer, NetLogo: http://ccl.northwestern.edu/netlogo/

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to