# Mental Ray production question

**URL:** https://forum.highend3d.com/t/mental-ray-production-question/45131
**Category:** Maya
**Tags:** mental-ray
**Created:** [July 11, 2011, 5:47am UTC](https://forum.highend3d.com/t/mental-ray-production-question/45131 "2011-07-11T05:47:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![terraformers](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/t/ccd318/32.png) [@terraformers](https://forum.highend3d.com/u/terraformers)
#### Post date: [July 11, 2011, 5:47am UTC](https://forum.highend3d.com/t/mental-ray-production-question/45131/1 "2011-07-11T05:47:29Z")

</div>

whats the main difference between : maya motion vectors (via maya software) - MR motion vectors (via render passes) - MIP motion vectors (via production shaders)? Does any method support moving fluids or can blur reflections?

whats the correct workflow of rendering motion vectors in MR via render passes and using RSMV (real smart motion vectors) or other plugins for after effects? is there anything particular i should know?

when composting the frames of a scene that contains a fast moving object or camera, the final movie (not playblast) is always clunky and not fluid. The only solution i found is to use the "animation" QuickTime codec because all the others even the JPEGs and H264 gave clunky movies, but even the animation codec (witch gives big files) was not perfectly fluid and is not very practical. here u can see an [example](http://vimeo.com/17995931) (car sliding in the desert ), any ideas?

how can i optain [this type](http://features.cgsociety.org/story_custom.php?story_id=5655&page=2) of bokeh effect? tried it in MR4Maya but even if i boosted the bokeh effect ( [map](http://3.bp.blogspot.com/_pAxkf2lRVRw/SJcwUNXlRXI/AAAAAAAAADs/LB0Soomm7Tw/s400/bokehMapAdditive.png)) it gave very grainy results (even with high samples) and its not near the result in max?

how can i obtain a lens flare and glow effect for my mental ray sun? the fx glow effect dont apply to the maya directional light and is only supported in the maya software?

how can i genrate a z depth pass that takes everything into account even fluids? what the best way in MR4Maya? and how can i add haze in post if i have a clean zdepth pass?

how can i generate a chromatic aberration effect in post without having to shift the RGB channels and have those empty lines at the frame boundary?

how do i composite my contribution maps? witch layering mode should i choose?

how can someone use an hdr in a scene where a car is moving from point a to point b? wouldnt the static hdr give weird results? whats the most practical way to stay convincing?

in the fast sss shader, why does the shader comes out black if diffuse color (not weight) is set to black, i only want to see the front and back sss?

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 11, 2011, 2:29pm UTC](https://forum.highend3d.com/t/mental-ray-production-question/45131/2 "2011-07-11T14:29:28Z")

</div>

> > Does any method support moving fluids or can blur reflections?

No.

> > is there anything particular i should know?

yes its a trick as far as tricks go it sometimes works and sometimes it has no chance in the world. See z depth. Also note all of 3d is a trick of some kind.

> > &nbsp; but even the animation codec (witch gives big files) was not perfectly fluid and is not

Clunky is many things. one of theose things is your computers speed. Again we can not debug this question form afar we suggested all things for you\*. cant be helpped. Basically it can be any of the things we suggested, even just a optical illusion caused by a bad lcd monitor, or bad motion vectors would be a good culprit anythng really\*\*. Suggest its aprblem with your defaults (nuke computer form orbit, since nothing else seems to work for you).

But one more stab, are you having a ntsc to pal or vice versal time pulldown/up going on? Or too many comprssion cocec keyframes.

This can also be one of those pshycological things, like the want of some popele to under filer and then get temporal asliasing instead. Its not neccesery about want its about what is.

> > how can i genrate a z depth pass that takes everything into account even fluids?

well he easy answer is you can not but you could if you really wanted to store a deep raster. But before you ask no you can not get software that does this without coding yourself. (everything is a very broad spectrum so it can not be given).

You can get some things.

> > how can i genrate a z depth pass that takes everything into account even fluids?

Depends on your post processing application. Several ways. You know you can not keep doing this like of questioning. Either you spend time to understand what the computer does or your obsolete when the next version of something comes along.

> > at the frame boundary?

well you can render it in 3d. OR if the 2d trick is enough then just render a few pixels extra aroyunnd yoru end image size.

> > wouldnt the static hdr give weird results? whats the most practical way to stay convincing?

perhaps, but then again human eyes are easily fooled so just adding a motion blur on the images would make the hdr look moving and then just a few close elements moving in your scene to block parts of the environment will do the trick. Off course out in the open desert not much changes.

There are no definite answers sometimes things work sometimes they do not, there are NO RULES that can solve your problems.

> > how do i composite my contribution maps?

well really if you want it done properly your comp app must support this function

> > witch layering mode should i choose?

its a bit more complicated that that im afraid.

> > i only want to see the front and back sss?

use&nbsp; misss\_fast\_shader\_x or turn output\_sss\_only on

- we can not solve your problems since we are not ON your computer. We can just guide you on the way, if you still can not solve the problem its not solvable. 

\*\* if we can not replicate the problem we can not say anything useful.

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [July 12, 2011, 3:04am UTC](https://forum.highend3d.com/t/mental-ray-production-question/45131/3 "2011-07-12T03:04:47Z")

</div>

> > how can i optain [this type](http://features.cgsociety.org/story_custom.php?story_id=5655&page=2) of bokeh effect? tried it in MR4Maya but even if i boosted the bokeh effect ( [map](http://3.bp.blogspot.com/_pAxkf2lRVRw/SJcwUNXlRXI/AAAAAAAAADs/LB0Soomm7Tw/s400/bokehMapAdditive.png))   
> > it gave very grainy results (even with high samples) and its not near the result in max?

What is a high sample setting? (2, 6, 16, 1000?) What makes you think its high enough? How do you know how long the demo image calculated\*? As i can get the exact same kind of bkkeh effects, its just that doing physically accurate bokeh is insanely time consuming process.&nbsp; And as far as i can tell ist still the same shader.

Anyway pleas enote its also bounded a bit by your sample sttings aswell as the samples in the default frambuffer. Suggest you do bokkeh atleast partially in post, because ist not really good for shots with normnal freelance types computation resources.\*\*

- It does not say, its like saying Maxwell renderer does beautiful and correct images. Wel duh yes now try and actually USE IT its slow as hell, and by that i mean each picture takes EONS to calculate. I mean no worries i can always use path tracing for very physically plausible images, but then heath death of the universe is my bounding limit for calculation.

\*\* one thing to say about free renderers is that you could buy 1000 times the computation capacity you have at home from amazon with free cash. So yes mr can easily be 1000 faster at some things but if you optimize your stuff for the renderer who knows.
