"real " cameras in xsi 2005-06-15 - By Robert Moodie
Back While we're on the subject - here's a little something:
Run this (vbs) script:
NewScene SelectObj "Camera_Root", "BRANCH" ToggleVisibility DeleteObj "Camera_Interest" SelectObj "Camera" Rotate , 0, 0, 0, siAbsolute, siPivot, siObj, siX, , , , , , , , 0 GetPrim "Null" GetPrim "Null" Translate , 0, 0, -20, siAbsolute, siPivot, siObj, siZ, , , , , , , , , , 0
Now, hide the grid in the camera view and in any other view - NOT THE CAMERA VIEW - select and rotate (pan) the camera. Watch what happens to the nulls - there is no parallax.
Now run this:
SetValue "Camera.kine.local.pposz", 1.5
(What we are doing is offsetting the camera pivot to be 'behind' the lens - to see the pivots turn them on in Visibility options)
Now select and pan the camera as you did before and watch the magic of parallax.
This is no limitation of XSI - it happens in all 3D apps - but basicaly the pivot point of 3D cameras is also the Nodal point. And this never happens in real life.
For further explanation read this: http://360texas.com/tips/nodalpts.htm
Hopefully this may be a little help to someone. If you know the make and models of your 'real' cameras, tripods or dollies you can set the pivot offset values to match exactly what was on set.
_rob
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1498" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Tahoma size=2>While we're on the subject - here's a little something:</FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial size=2></FONT></FONT></FONT> </DIV> <DIV><FONT face=Tahoma size=2>Run this (vbs) script:</FONT></DIV> <DIV><FONT face=Tahoma><FONT size=2><FONT face=Arial size=2></FONT></FONT></FONT> </DIV><FONT size=2> <DIV><FONT face=Courier>NewScene</FONT></DIV> <DIV><FONT face=Courier>SelectObj "Camera_Root", "BRANCH"</FONT></DIV> <DIV><FONT face=Courier>ToggleVisibility</FONT></DIV> <DIV><FONT face=Courier>DeleteObj "Camera_Interest"</FONT></DIV> <DIV><FONT face=Courier>SelectObj "Camera"</FONT></DIV> <DIV><FONT face=Courier>Rotate , 0, 0, 0, siAbsolute, siPivot, siObj, siX, , , , , , , , 0</FONT></DIV> <DIV><FONT face=Courier>GetPrim "Null"</FONT></DIV> <DIV><FONT face=Courier>GetPrim "Null"</FONT></DIV> <DIV><FONT face=Courier>Translate , 0, 0, -20, siAbsolute, siPivot, siObj, siZ, , , , , , , , , , 0</FONT></DIV> <DIV><FONT face=Courier></FONT> </DIV> <DIV><FONT face=Arial>Now, hide the grid in the camera view and in any other view - NOT THE CAMERA VIEW - select and rotate (pan) the camera.</FONT></DIV> <DIV><FONT face=Arial>Watch what happens to the nulls - there is no parallax.</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>Now run this:</FONT></DIV> <DIV><FONT face=Tahoma></FONT> </DIV><FONT face=Courier size=2> <DIV>SetValue "Camera.kine.local.pposz", 1.5</DIV></FONT> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>(What we are doing is offsetting the camera pivot to be 'behind' the lens - to see the pivots turn them on in Visibility options)</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>Now select and pan the camera as you did before and watch the magic of parallax.</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>This is no limitation of XSI - it happens in all 3D apps - but basicaly the pivot point of 3D cameras is also the Nodal point. And this never happens in real life.</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>For further explanation read this: <A href="http://360texas.com/tips/nodalpts.htm">http://360texas.com/tips/nodalpts .htm</A></FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>Hopefully this may be a little help to someone. If you know the make and models of your 'real' cameras, tripods or dollies you can set the pivot offset values to match exactly what was on set.</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial>_rob</FONT></DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial></FONT> </DIV> <DIV><FONT face=Arial></FONT> </DIV></FONT></BODY></HTML>
|
|