For the camera transform, we use getAttr cam.worldInverseMatrix,then multiply the 3rd column by -1 since you are still in RenderMan left-handed coordinatesat that part of the RIB.For RiPerspective field of view we are using the formula fov= radians_to_degrees(2*atan(getAttr(cam.hfa)*12.7/getAttr(cam.focalLength))).
Posted by : dmass (Maas Digital)
from Pixar Forum
댓글 없음:
댓글 쓰기