2 Point Perspective Rant and Poll

Hi Emilio,

I found a way to get the effect of moving camera target up and down that works with TwoPointPerspective mode via scripting. Most of the scripting methods fail, but oddly - one does the trick: Rhino.RotateView().
it needs to be followed by setting the camera position back to one from before the rotation, but the result is as if we moved the target of the camera.

(interestingly Rhino.RotateCamera() should not need the workaround but in TwoPointPerspective it fails to keep the verticals straight…).

Here is a sample code snippet and a script with crude UI for moving the target up and down.

c = Rhino.ViewCamera()
Rhino.EnableRedraw False
Call Rhino.RotateView(, 3,1)
Call Rhino.ViewCamera(, c)
Rhino.EnableRedraw True

MoveTargetUpDown.rvb (1.0 KB)

–jarek