Page 2 of 3

Re: Scaling issues in maya

Posted: Sun Nov 28, 2010 6:06 am
by face
Maybe a solution, model your scene and parent it all to a model/null.
Scale the model/null down change your camera to the view you want and export.

face

Re: Scaling issues in maya

Posted: Sun Nov 28, 2010 6:25 am
by tehfailsafe
Ah! Gotcha.

So then the units from Maya DO need to be set in the script in order to make the command line execution work proper. Here's what is in the script history in maya after exporting:

Maya units: Centimeters
--cam-focaldepth 5 --cam-pos-x -207.1581278 --cam-pos-y 64.35848872 --cam-pos-z 95.01916412 --cam-up-x 0.116004769 --cam-up-y 0.9926767022 --cam-up-z -0.0337025009 --cam-target-x 45.58214977 --cam-target-y 32.3301564 --cam-target-z 21.59132571 --film-width 1024 --film-height 512

Maya units: Meters
--cam-focaldepth 0.05 --cam-pos-x -2.071581278 --cam-pos-y 0.6435848872 --cam-pos-z 0.9501916412 --cam-up-x 0.00116004769 --cam-up-y 0.009926767022 --cam-up-z -0.000337025009 --cam-target-x 0.4558214977 --cam-target-y 0.323301564 --cam-target-z 0.2159132571 --film-width 1024 --film-height 512




Makes sense. Bazuka, you said you recently removed the scaling settings? Maybe they still need to be in there?

Re: Scaling issues in maya

Posted: Sun Nov 28, 2010 6:38 am
by tehfailsafe
Thanks for the help face!
I also figured out the problem with the blurring I was having. I guess when you create a new camera the focus distance defaults to 5 units. When I was switching around from cm to meters maya updates the focus distance as well...

So I created camera while maya units = cm so the focus was set to 5 cm. Changing units to meters to get the camera to export correctly changed the focus distance to 0.05, thus making everything out of focus.



Phew, now I can get back to learning to use maya itself!

Re: Scaling issues in maya

Posted: Sun Nov 28, 2010 9:22 am
by bazuka
yes i had to remove coz of animated obj, groups and visibility obj inside the groups

obj will export all object in the scene no matter if the r visible or now (if u choose export all)

if u choose export selected then i have to select only object inside the group that they r visible and export them separately

its complicated with animated/rigged object in maya coz everything is in the group

im still brain storming scale thing, i have some solutions but need to be tested...

cheers

Re: Scaling issues in maya

Posted: Thu Dec 16, 2010 5:43 pm
by MTECH
Any luck finding a better solution for the Maya exporter? I'm having similar issues with scale atm. Right now my workflow is to switch Maya to meters, scale the object correctly (it's roughly 40x40mm in reality) create my camera, and export to Octane using Maya2Octane v2.4. The camera is ALWAYS completely off regardless of whether I set Octane to Meters to Meters, Centimeters to Meters, etc... I've tried keeping Maya in meters, scaling up the entire image to 100x via a group and repositioning the camera - same results, the camera is positioned as if it's still scaled 100x off... I'm so confused as to what the proper workflow is for Maya in order to keep everything properly scaled in both applications. Could someone clarify from step 1 how they're managing?

Thanks a ton!

Re: Scaling issues in maya

Posted: Sat Dec 18, 2010 10:24 am
by bazuka
well im not sure either, but here is how i do it
i do everything in maya in cm and thats it, didnt have any probl so far

could u send me scene (dont need eveything) just some basic stuff, cam and some ref obj (box, sphere) and ill see what i could do about it

Re: Scaling issues in maya

Posted: Wed Dec 22, 2010 1:38 am
by vanlicht
I do everything in cm in maya, but still there's scaling issues, the black radial shades.

Re: Scaling issues in maya

Posted: Tue Jul 19, 2011 8:01 am
by Metzger
You guys need to get your shit together. :D It's pretty basic conversion. I can't believe a version 2.5 exporter doesn't work. Was it released 2.5 days? Hehehe I'm just joking.

Pulling out scale function in script because people have problems with animation is no solution. If anything, those people should do a maya geo cache first and try to export a rig-less file. Which is the Model an no rig with Maya Cache attached. You can scale that on export all over the place without any issues.

If anyone is coming from Maya they treat 1 Maya Unit as 1 CM. I use V-Ray everyday and the Math is in CM. I understand Octane is Meters, but that doesn't help us Maya users.

Re: Scaling issues in maya

Posted: Tue Jul 19, 2011 3:28 pm
by Refracty
Can't you just put all geometry and cameras in a group and scale it by 0.01 ? I think this is what face suggested.

Re: Scaling issues in maya

Posted: Tue Jul 19, 2011 6:02 pm
by Metzger
Why scale everything to .01? The scale function should be on the exporter. Why should I have to pay the price because some people don't know how to properly rig and model to correct scale?