In my app the camera’s target is directly in the center of the VTK renderwindow. Is there a way to move the camera’s target to display offset from the center of the 3d view? Say 10 percent to the right and down.
Hi and welcome.
Might be easiest to just change where the camera is pointed with mycam.SetFocalPoint
. You pick the point such that it is 10% away? You can get the frustum planes with GetFrustumPlanes
, or you could use GetDistance
(i.e. distance from location to focal point to scale how far you move the focal point).