Jump to content
aesnakes

Mantra back to beauty

Recommended Posts

Hello everyone,

Im wonder if anyone has some successful methods of getting renders from Mantra and combining the passes back to beauty. We work with Vray and I have used renderman but for some reason I can not get renders from Mantra to combine back to match the beauty pass.

let me know any techniques you use or passes necessary in any situation like volumes, SSS, normal basic scenes...Id really appreciate any light you can shine on this topic.

Thanks

Rob B

Share this post


Link to post
Share on other sites

Well it all depends on how your shader is built. If you multiply ambient occlusion with diffuse in shader for example, you need to do that in your comp as well.

However if you use the default Mantra surface material and the standard diffuse/specular/reflection/refract/emission outputs from the drop down menu in your Mantra ROP it should just be a matter of adding (plus) them together to recreate the beauty.

Haven't tried with SSS though.

Share this post


Link to post
Share on other sites

The default passes that the Mantra Surface shader uses will not reproduce the beauty pass. I've never had success trying to reproduce it without having to create my own exported parameters in the shaders to get the right passes.

Mainly the diffuse, lighting and reflection passes need to be done yourself.

Share this post


Link to post
Share on other sites

The default passes that the Mantra Surface shader uses will not reproduce the beauty pass. I've never had success trying to reproduce it without having to create my own exported parameters in the shaders to get the right passes.

Mainly the diffuse, lighting and reflection passes need to be done yourself.

Here is a file that shows a simple example of getting render passes out of Mantra Surface - this includes a control for shadows. Be sure to check out the render output nodes and the compositing networks to see how this all works:

http://www.sidefx.com/images/stories/transfer/render_layers_sample.zip

Share this post


Link to post
Share on other sites

Here is a file that shows a simple example of getting render passes out of Mantra Surface - this includes a control for shadows. Be sure to check out the render output nodes and the compositing networks to see how this all works:

http://www.sidefx.com/images/stories/transfer/render_layers_sample.zip

Hi Rob,

Thanks for the hip file. Nice setup.

However, I noticed few small things with the compositing setup.

1. There is a dark edge where sphere and box intersect each other.

2. Composite alpha is not added up.

IMHO correct order should be something like following :

Since box and sphere are held out by each other we need to plus both of them instead of layering over function which is fg*matte + bg*(1-matte) afaik.

Also in the last layer op we need to change the alpha operation to "add" instead of the default over "same as above".

Thanks,

post-6162-133171867913_thumb.jpg

post-6162-133171869202_thumb.jpg

post-6162-133171870552_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×