PDA

View Full Version : maya 8.0 render settings & motion blur


Luisk
12-05-2007, 02:52 PM
its my first time rendering with MRay in Maya so I have now idea what to do.. I managed to configure a preset which looks fine when rendered, but now I need some motion blur in my shot...I changed the quality preset to ProductionMotionblur but the frames are rendering without any blur...I tried increasing the values from the motion blur tab but nothing happens..

I appreciate any help

thanks!

1armedScissor
12-08-2007, 07:57 PM
First idea that comes to mind;

Is there animation present in your scene? Either deformation or transformation? If no animation is present (either on your assets or your cameras) then there will not be any motion vectors present to calcluate the motion blur.

Luisk
12-08-2007, 08:07 PM
yes, theres animation...theres a character moving and throwing a prop he's holding..

thanks,

1armedScissor
12-08-2007, 08:36 PM
Copy and paste this into your script editor and press enter. Render again. Does this help?

global proc oogaBooga()
{
setAttr miDefaultOptions.motionBlur 2;
setAttr "miDefaultOptions.motionBlurBy" 1;
setAttr "miDefaultOptions.shutter" 1;
setAttr "miDefaultOptions.shutterDelay" 0;
setAttr "miDefaultOptions.timeContrastR" 0.2;
setAttr "miDefaultOptions.timeContrastG" 0.2;
setAttr "miDefaultOptions.timeContrastB" 0.2;
setAttr "miDefaultOptions.timeContrastA" 0.2;
setAttr "miDefaultOptions.motionSteps" 1;
setAttr "mentalrayGlobals.previewMotionBlur" 1;
}
oogaBooga;

Luisk
12-08-2007, 08:44 PM
hey ooga booga...no it still renders without blur....is that the same preset as setting the quality to ProductionMotionblur?

thanks for the help!

1armedScissor
12-08-2007, 08:50 PM
No worries mate. It's my pleasure.

It's the same with one exception, the "previewMotionBlur" attr. Is it possible for you to post your scene? what version of maya are you using? if you start a brand new scene, make a polySphere, animate it, set your renderer to mentalray & use productionMotion blur & render it do you get motion blur?

Luisk
12-08-2007, 09:41 PM
fixed it!...I did what u said and then compared the settings, my scene with the polysphere scene..I had 2 options checked so it wasn't working...
thanks thank you so much!
I had another question..the prop blurs when it moves but the arms of the character don't..why is this?

1armedScissor
12-08-2007, 09:46 PM
What were the settings you didn't have set correctly? Is it that your characters arms don't have motion blur at all? or is it just perhaps not as much as the prop? Is the prop moving faster in relation to the arms?

Luisk
12-08-2007, 09:56 PM
custom motion offset was checked and the preview motion blur was unchecked even when I used your script....
the prop is in the character's hand and it blurs but the hand doesn't...the prop is a black phong material and the character is a red lambert material.

1armedScissor
12-08-2007, 10:30 PM
can you post the scene file? or replicate the problem in one that you can post?

cheers

CGTalk Moderation
12-08-2007, 10:30 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.