Just checked the Hypershade connections, Maya 8 passes a 2nd message to the light-linker (concerning shadow-linking).
As a workaround, shadow message can be disconnected.
Maya To Indigo XML Converter v0.6 beta1 (0.6t6 & 0.6)
- yourdaftpunk
- Posts: 27
- Joined: Thu Nov 23, 2006 3:24 pm
- Location: Houston
- Contact:
- yourdaftpunk
- Posts: 27
- Joined: Thu Nov 23, 2006 3:24 pm
- Location: Houston
- Contact:
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 38 guests