Announcements, requests and support regarding the MAYA exporter
I just tried setting Indigo's camera to the same values as maya's default camera and the results were not as expected. I am assuming Maya's "horizontal film aperature" is the same thing as indigo's "sensor width" and that maya's "focal length" is the same as indigo's "sensor distance". Indigo measures in meters, Maya in inches and mm.
Maya says a camera with a 35mm focal length and 1.417in (36mm) horizontal film aperture has a field of view = 54.43 degrees (shown in camera attributes). I checked it by hand and this is right. So why is indigo different? Is the aperture and focus distance a factor?
Code: Select all
float $mayaHFA = `getAttr cameraShape1.horizontalFilmAperture`; // convert from inches to mm to meters $mayaHFA = ($mayaHFA * 25.4) / 1000; float $mayaFL = `getAttr cameraShape1.focalLength`; // convert from mm to meters $mayaFL /= 1000; $write1 += "\t<sensor_width>"+$mayaHFA+"</sensor_width>\r\n"; $write1 += "\t<lens_sensor_dist>"+$mayaFL+"</lens_sensor_dist>\r\n";
Who is online
Users browsing this forum: No registered users and 5 guests