Maya To Indigo XML Converter v0.6 beta1 (0.6t6 & 0.6)

Announcements, requests and support regarding the MAYA exporter
bkircher
Posts: 115
Joined: Thu Nov 23, 2006 6:24 am

Maya 8 .... update

Post by bkircher » Thu Nov 23, 2006 7:49 am

:idea: 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.

:D

User avatar
arneoog
Indigo 100
Posts: 504
Joined: Sun Jun 25, 2006 2:19 am
Location: Norway
Contact:

Post by arneoog » Thu Nov 23, 2006 8:14 am

I knew it was a connection problem with the hypershade in Maya 8 and Maya to Indigo :P
Stupid Autodesk changed something there...

Hope this bug will get fixed soon :)
Arne OOG - My Portfolio

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Post by CTZn » Thu Nov 23, 2006 8:21 am

:idea: :?: :arrow: :!: Yeah that works !!!

Rendering Arne's scene now !!!

Thank you bkircher ! I can now start messing with Indigo's scene description language !!!

Me Happy :D

bkircher
Posts: 115
Joined: Thu Nov 23, 2006 6:24 am

Post by bkircher » Thu Nov 23, 2006 9:23 am

Me Happy, too!:wink:

[and since I'm that goofy, I tried to send a 20MB scene through the exporter first thing. will check tommorow if something is still alive...]

User avatar
yourdaftpunk
Posts: 27
Joined: Thu Nov 23, 2006 3:24 pm
Location: Houston
Contact:

Post by yourdaftpunk » Mon Nov 27, 2006 6:39 am

Does MTI take into account the camera's field of view?

User avatar
yourdaftpunk
Posts: 27
Joined: Thu Nov 23, 2006 3:24 pm
Location: Houston
Contact:

Post by yourdaftpunk » Tue Nov 28, 2006 9:32 am

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.

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";
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?

Post Reply
66 posts

Who is online

Users browsing this forum: No registered users and 6 guests