View Full Version : Motion Vectors on Spinning car wheel
ruddiger52 04-03-2008, 06:55 PM I am trying to cut down the render times I am getting with rendering a car crusing down the highway. The amount of motion blur i need on the wheels/rims is so much that mental ray's render times go through the roof. I am using final gather,mentalray lights etc. Is there a way to get accurate motion vectors for this type of animation.
I have tried the lm_2DMV shader and it doesnt seem to be able to render such extreme motion.
I also tried the motion (float) frame buffer in mental ray but that gave lousy results also.
Any help is much apprecitated
|
|
Keithtron
04-03-2008, 07:32 PM
Have you tried just rendering out motion vectors in Maya Software and compositing them in afterwards? That's usually what I do, and Eyeon Fusion (v5.2) has a really nice built in plugin for tweaking the amount of motion blur.
Definitely a render time saver, and it allows a lot more flexibility in post.
ruddiger52
04-04-2008, 12:26 AM
No I havent tried software only mental ray. Do you mind giving me a hint as to the process?
Bitter
04-05-2008, 07:14 PM
lm_2DMV generally works fine, be sure you have motion blur still on, but zero or or negate the offset in the motion blur (begin and end shutter at .5 for example)
Also, rendertime for motion blur (regular) in mental ray is linear in time performance. Time Samples of 2 is about a 100% increase from 1, etc.
Try the Rasterizer instead. You can control the smoothness of blur with visibility samples and bring down Time Samples to 1 unless you need blurred raytraced shadows. (Try detail shadows instead.)
ruddiger52
04-05-2008, 07:39 PM
yeah i tried that with the lm_2dmv. It just seems to smear the wheel instead of making it look like its spinning. The rasterizer is also a pretty long render. too long for the amount of frames i need to render
yenvalmar
04-06-2008, 11:04 PM
just render it from dead on one frame with motion blur and map that render on a disc which you place on your wheel for the animated render from the final cam. done, zero additional render time past a little initial setup.
of course depending on what you are doing it may be too cheesy..
ruddiger52
04-06-2008, 11:21 PM
yeah its kinda high profile and I need lighing changes etc
thanks though
strange_quark
04-07-2008, 05:37 PM
two ideas.
rebuild a scene with just the wheels visible that has no GI/FG and no glossy effects (blurry reflections...) render this with rasterizer. you should be able to get 1/10 the render time i bet. this is the best idea. you would just comp the blurred wheels onto the car render.
2nd idea is to try the mip_motionVectorBlur lens shader. that might work for you. i dunno. never tried it on something with extreme motion.
unfortunately, these are the limitations of using mental ray. scanline/raytrace are really slow with motion blur. rasterizer is ultra fast, but you have to use it properly to get the bonus. if your rasterizer renders slow, you are just bending its arm to do somethning its not been designed to do.
Keithtron
04-07-2008, 06:15 PM
No I havent tried software only mental ray. Do you mind giving me a hint as to the process?
It's easy. Just set it to render with Maya Software, and then find the motion blur settings in the render globals. Use a 2D motion blur, and check the 'Keep motion vectors' box. I think you'll want to set the blurring to 0 as well, for maximum control in post. Render in IFF, or I think TIFF can handle it too, and the image(s) will have the motion vectors embedded. Then, you can either use these vectors in Fusion (or maybe other compositing apps too) to dynamically tweak the amount of blur. Also, you can use a command line command to generate a blurred image sequence with your motion vectors, if you don't have a compositor that supports using motion vectors for tweakable blur.
ruddiger52
04-07-2008, 06:16 PM
two ideas.
rebuild a scene with just the wheels visible that has no GI/FG and no glossy effects (blurry reflections...) render this with rasterizer. you should be able to get 1/10 the render time i bet. this is the best idea. you would just comp the blurred wheels onto the car render.
Im thinking this is the way to go. I'm also going to see what I can get out of the software render with this method. Thanks for the advice
CGTalk Moderation
04-07-2008, 06:16 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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.