Hello,
Does anyone have any advice about zooming in on the arcball while already in the scene? I don't want to just change the perspective, I want the user to be able to zoom in and out of the current scene.
Thanks!
You can follow this pattern for both scale and translate. The arcball holds some state information, so you don't want to destroy it and recreate it. I made two sliders, one outside of the arcball and one inside. The outer one scales the arcball, the inner just the arcball's content. (Modified from the HelloWorld sample script.)
// Show some text in an ArcBall
Names Default To Here( 1 );
// this tiny list is rebuilt when the inside slider moves
scaleinside=1;
scaleinsideList = scenedisplaylist();
scaleinsideList<<SCALE></SCALE>
The script is organized so only the least part of the script needs to be rebuilt by the slider callbacks.