help > Move/Drag scene
Showing 1-4 of 4 posts
Results per page:
Mar 17, 2017  10:03 AM | Andreas Horn
Move/Drag scene
Hi Chris,

this may be a stupid question but I can't seem to find out how to. Is it possible to drag the scene inside the window?
I found panning & zooming but somehow can't drag the scene around (tried holding down cmd/alt/option, rightclick etc). Working on OSX with the newest surfice version.

Btw, I just integrated SurfIce into my toolbox Lead-DBS ( as an alternative to our 3D Matlab viewer.
Pretty sure users are going to love it!

Best, Andy
Jun 2, 2017  12:06 PM | Chris Rorden
RE: Move/Drag scene

At the moment you can rotate the volume and zoom the image. However, the volume is always centered in the screen and pivots around the image origin. It would not be hard to implement this, you would just want to modify the procedure "SetOrtho()" in gl_core_3d (if you are building for OpenGL 3.3 Core) or gl_legacy_3d (if you care building for legacy OpenGL 2.1). I am pretty busy right now, but if this is important to you, why not go to github and generate a "new issue" which you can label as an enhancement.

Your toolbox looks fantastic!
Jun 4, 2017  12:06 PM | Chris Rorden
RE: Move/Drag scene
Added this feature to the github source code
you can activate this by holding down the shift key and moving the object, or you can use the camerapan() function in a script.
Aug 8, 2017  05:08 AM | Chris Rorden
RE: Move/Drag scene
Feature added to latest NITRC release (14-July-2017)