Get V-Ray VRay.info T-shirts
Home
Basic Comping of V-Ray Renders

Tutorial by Christopher Nichols

It seems a lot of you know that you can rebuild the renders that are split out of the V-Ray Render Elements, but may not be clear on how to do it. Vlado did a very good breakdown on what the elements are here.
But this may help you.

The following is a very basic breakdown of how to reassemble a V-Ray image in a compositing program. I am showing it to you in a very straightforward node breakdown, but this can be done in AE or any other package. First thing... you need to be in Linear Color Space the whole time since many of these elements such as Raw GI will be linear.

Lets start by showing the different render elements that are needed:

The core is this: the Diffuse. All it is a solid color of what comes out of diffuse, no shading. If you have a texture, it is a texture, a color is a color.

Diffuse

The light is then broken down into direct and indirect lighting. Use the RAW versions.

Raw LightRaw GI

To get the effected diffuse of these, you multiply them by the diffuse

SO if you take the RawGI and multiply it by the diffuse, and you take the RawLight and do the same, you get the Diffuse direct light and the Global Illumination light.

They look like this:
Light + DiffuseGI + Diffuse

So now you have the two basic elements of light: the direct light and the GI light (in terms of diffuse light). You can even think of it as key and fill. Light is additive, so all you need to do combine them is the add them together in the comp.

But there are still some pieces missing. And that is your specular light. While V-Ray really considers specular as a reflection, the cool thing is that it will separate out the reflection of a light as specular and reflection as reflection. Think of it in the same way as the direct light and the GI light. Those two passes look like this:

SpecularReflection

These two passes can be added to as well. By the way, if you have refraction or self-illumination or things that get split out, you will have to add them too.

So this is how it looks in a diagram:

Nodes

I am showing some color correct nodes in there since that is what you want to do with this.

You combine all of this: (Diffuse * GI) + (Diffuse * Light) + Specular + Reflection, and you get the same image that you rendered, which is this:

Combined elements

OK great, so you got the same thing you started with, what good is that? Well if you separate things, you have a lot of power to adjust it in post. First thing, I saved everything as full floating point unclamped color. So I already have the power of adjusting the exposure and the gamma of the image. Here are some examples of that:

Color Correct 01Color Correct 02

Ok, but let’s say you want to desaturate the GI and maybe increase the contrast on it a bit. You could do that in V-Ray GI dialogue and redo the render or you could do a color correction on the Raw GI pass, and you get this:

Color Correct 03

Want to decrease the intensity of the sunlight? No problem, just adjust the RawLight pass:

Color Correct 04

Want to increase the reflection and maybe darken everything else a bit? No problem. Simply, darken the diffuse pass, and lighten the reflection pass:

Color Correct 05

Anyway, I hope this helps you guys.



Comments
Sanjay | 10.08.2008 | Alert moderator
finally !!! a simle clear explanation..
part 2 could be how one might use all the other passes that Vray can give us..
Thanks a lot !
kimseolhwa | 26.08.2008 | tjfghk | Alert moderator
thank you
Baijesh balan | 28.08.2008 | nice | Alert moderator
wowwwwwwwww.......................nicee
coolpranz | 02.09.2008 | Alert moderator
really a great informative tutorial
niBurn | 06.09.2008 | Alert moderator
Nice. But what do you mean with plus??
fan | 08.09.2008 | Alert moderator
is anyone else getting an outline artifact when combining diffuse and raw lighting. It only seems to appear around the reflecting and/or refracting surfaces.
Torgeir Holm | 12.09.2008 | vray.info | Alert moderator
niBurn: Plus is additive comping. It's the same as the Add blending mode in AfterEffects, or Linear Dodge in Photoshop.
aas | 23.09.2008 | Alert moderator
nice tut but i cannot mean abt the flow chart plz give me full details
minky | 29.09.2008 | Alert moderator
It would help if this was shown in PhotoShop and not some crazy post program :)
luis | 12.11.2008 | Alert moderator
really nice thanks
Tim | 23.11.2008 | Alert moderator
@minky

If you would like to see a tutorial on compositing in 3ds Max please see this tutorial I have just written: www.vfxstudios.co.uk/tutorials/vrayrenderelements/vray_render_elements.html
Add comment
Name


Your URL (optional)
Comment
Please enter the
Verification Code
(case sensitive)
Verify Code

Christopher Nichols is a VFX/CG Supervisor at Method Studios.

He is also the creator of the Gnomon Workshop V-Ray Lighting Techniques Training DVD series shown below:

VRay.info v1.8 | VRay.info is not the official VRay site. VRay is property of Chaos Group