camera / unit nightmare

Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Post Reply
Felixwiesner
Licensed Customer
Posts: 2
Joined: Mon Jun 06, 2011 6:01 pm

hi folks,
I´m having massive problems exporting the camera from maya 2012 to octane; I only get it to match when I set the units in maya to centimeter and in octane in the preferences "meter to meter". of course, this screws the lighting up and crashes octane; when using the right conversion units (meter in maya and obj importsettings "meter to meter" in octane), the camera is in the middle of nowhere. this is very nasty, cause I gotta do a very tight sceduled job right now... Thanks for any help,
cheers felix
tchoa
Licensed Customer
Posts: 189
Joined: Thu Jul 01, 2010 12:33 pm
Location: Montpellier

Hi Felix

Keep the octane import preferences as "meters to meters". In maya keep the default "cm" but this does not affect the exporter obj file.
So 1unit in maya is 1m in octane. This assumes your model's scale is 1m for 1unit. If your model's scale is 1cm for 1unit simply change the octane import preferences to "centimeters to meters". To get matching views don't forget to set your camera's 'fitResolutionGate' to 'horizontal' or 'overscan' because the script only supports these.

F

ps: take care that you've got the latest script that doesn't rescale anything in maya (as I remember well it's the case cause I use a modified version)
Win XP x64 | Q6600 2.40GHz | 8Go | GTX470 1.28Go // Win 7 x64 | I7 Q740 1.73Ghz | 6Go | GTX460m 1.5Go
Felixwiesner
Licensed Customer
Posts: 2
Joined: Mon Jun 06, 2011 6:01 pm

dear f, thank you very much for your quick response! thanks to your hints, I got it sorted out; if exporting from maya 2012, you have to set the conversion units in the octane .obj mesh import preferences to "centimeter to meter"; plus, I set the "fit resolution gate" parameter in maya to "overscan". now I do have my specified camera;

thanx and take care,
felix
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

hi people,

well i have remove the scaling procedure coz of the probl people had with character animation, bones and other things, and so far i couldnt find the solution for that probl...

i hope ill try to improve the script in near future, recently im very busy with the project im working on, but if u want my advice, its best to make all simple as much as u can, dont use obj in the scene if u dont need them, etc... coz mayas obj export sux and its more than 10 years old as far as i know...

cheers
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
Metzger
Licensed Customer
Posts: 8
Joined: Wed Jul 06, 2011 11:17 pm

bazuka: You should never be exporting a rigged character anyways.. You should learn how to create geo cached scene file from maya. Most renderers don't do well converting rigs with history.

I have all of my settings correct but my scene will not correctly export from Maya 2012.

I notice from a video, that the unit conversion option does not show up on the Maya to Octane dialogue.
bazuka
Licensed Customer
Posts: 259
Joined: Thu Apr 22, 2010 3:47 pm

Hi Metzger,

well yes the scaling option is removed from GUI, coz i had probl with people who had a rigged character models, and when exporter scales the scene animation is fu**ed up, so i decide to remove scaling for now...

also im limited coz of obj exporter, coz with obj exporter u can export only a model and uv, thats the obj export the only way to improve export is to write a new exporter what would take a whileeee...

i didnt install maya 2012, but i will and check whats wrong, but like i said its not a probl with me my hand r tied, sorry...

best regards
Maya 2009 x64 & Maya 2011 x64
Windows 7 x64 & Windows XP x64
2x Quad Core Q6600, 8gb, Nvidia Gtx 260 & Gtx 460
Post Reply

Return to “Autodesk Maya”