Hi PaQ, give this one a try instead, it's based off of the focal length instead, implicitly using the film size of a 35mm camera as the image width and height so there's only one value that you set (the focal_length = part).
EDIT: note this script did not work right, use the one from earlier in this thread.
script: /* match view angle */ var focal_length = 49.4546; moi.ui.mainWindow.viewpanel.getViewport('3D').fieldOfViewAngle = Math.atan(12/focal_length) * 2 * (180/Math.PI);
Does that seem to work better or worse?
- Michael
|