Beta 2.2 RC1: Maya exporter plugin (unofficial)

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

Hey,

Can someone get me the OBJ+MTL file zipped so i can check it ?
I'd like to see how big the curved plane is in units in the OBJ...

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

here is it ;)
Attachments
Octane_project.rar
(41.1 KiB) Downloaded 193 times
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

The stage is ~4km wide ;)
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

ok,

so what's the problem ?
just export to meters instead of centimeters...

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

this was exported as meters not cm....

i have a maya scene and i scale it 100x to get the meters (coz working unit was cm) and then i exported the obj

or im doing something wrong here??
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
User avatar
radiance
Posts: 7633
Joined: Wed Oct 21, 2009 2:33 pm

bazuka wrote:this was exported as meters not cm....

i have a maya scene and i scale it 100x to get the meters (coz working unit was cm) and then i exported the obj

or im doing something wrong here??
well, the precision of shooting rays is'nt accurate at that size anymore, eg you're model is likely a kilometer away from the camera.
you can change this by changing the ray-epsilon on the render kernel (make it a bit higher),
but afaik you should render try to stick to realistic dimensions in propper meter units...

Radiance
Win 7 x64 & ubuntu | 2x GTX480 | Quad 2.66GHz | 8GB
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

i agree with u about real size of obj, but that was done on 2x clicks ;)

now i can update script with native unit size support...
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
User avatar
face
Octane Plugin Developer
Posts: 3204
Joined: Sat Mar 06, 2010 2:10 pm
Location: Germany

Say one Maya unit is a meter. If you say, 1 Maya unit should be 1 cm, then you must divide it by 100.
The Maya unit is fixed, so you must convert from m to cm, not from cm to m.

face
Win10 Pro, Driver 378.78, Softimage 2015SP2 & Octane 3.05 RC1,
64GB Ram, i7-6950X, GTX1080TI 11GB
http://vimeo.com/user2509578
vanlicht
Licensed Customer
Posts: 139
Joined: Fri Feb 26, 2010 8:19 am
Location: Los Angeles

@face, Bazuka,

I am not sure about what you meant by turning in Maya from m to cm, not vice versa.

Uh...I just know my whole project is working based on centimeters in Maya,
so I would appreciate if the plugin could help convert successfully to Octane.
Change measurements within Maya I am not sure if that's going to affect some settings
in my rig, but definitely going to affect the simulation.

Do you mean for Maya users we will have to convert units from cm back to m when ready to export,
or you meant some mechanism to be designed/ taking care of in the plugin?

Thanks
Windows 7 64bit | Maya 2010 64 bit (main) | Maya 2011 | Intel i7-920 | Nvidia Quadro FX1800 | Nvidia GTX480
serbos
Licensed Customer
Posts: 12
Joined: Sun May 30, 2010 1:35 am

I agree. The scale conversion should happen outside Maya. Maya, and probably other applications that do more than just rendering (modeling, animation, various dynamic simulations) will chew up your homework if you start screwing around with units. Frankly the scale change should be done inside OCTANE. Not even by the exporter. Maybe the exporter, which is no more than a mel script that does an OBJ export, with all the limitations that it entails, can tell Octane what the user thinks the scale change should be. But scaling stuff during the (mel) export process is going to be a useless time consuming step that could be labeled as at least unprofessional and probably buggy, if it has to consider pivots that have been changed by the user, constraints, deformation orders etc. The export process is taking too long as it is since it is relying on the Maya Obj Export. Especially if we want to render an animation where the performance hit will multiply with each and every frame. For pretty stills perhaps it is ok. If that is who you want to target as customers. But for stills you can use Mental Ray with no fear of flickering etc. Offering a solution for rendering animation unbiased, flicker free, and relatively quickly is where there is a need. And it should be done in a way that you do not increase the amount of work that the user has to do already. Production schedules are getting shorter every day as it is.
Post Reply

Return to “Autodesk Maya”