WinapiZone.net




Tutorials > 3d > Caustics

Caustics with Vray

This tutorial has been done with 3d Studio Max 5 and Vray 1.03.09i.
All the caustics tutorials I've found are pretty confusing and no one of them works for me. So, I've decided to create my own tutorial =) Of course you need Vray.

Let's create as usual a simple scene: a 3000 * 3000 * -1 box, a sphere and a torus knot (the torus knot can be created from the right panel, Create > Geometry > Extended Primitives > Torus Knot or from the menu Create > Extended Primitives > Torus Knot) and position them over the box.

Lights settings

Create a Vray Light: from the panel on the right, go on Create > Lights > Vray Light. Using the Left quadrant, position it in the top left corner of the quadrant. Leave the settings untouched. Now create a Target Spot Light headed towards the scene (towards the sphere and the knot): from the panel on the right go on Create > Lights > Target Spot. Position it near the Vray Light (you should always watch from the Left quadrant): click near the Vray Light than drag the mouse until the triangle's base is near the two objects (image below). Set Shadows to On and select Shadow Map. Under Intensity/Color/Attenuation, set the multiplier to a value between 20000 and 100000 (i used 100000). Under Decay, set the type to Inverse Square and Start to 1.


Material settings

Open the Material Editor window and select a free slot. Click on Standard and in the new window doubleclick on VrayMtl. Keep the default settings for Diffuse and Reflect and set Refract to the white color; set Fog Color to the color you want (it should be a bright color). Select Affect Shadows too. Drag the small ball with our brand new material to a new slot, change the new material's name, and set a new color for Fog Color. Finally, drag these materials to the objects.

Vray settings

Open the Render Scene window . In the Current Renderers rollout set Production to Vray (click on the button near to Production). In the Image Sampler rollout, check Simple two level, and in the Caustics rollout check On and set Max Photons to 100. Under Environment check the second Override MAX's and set grey as color. Under Indirect Illumination (GI) check On and set First diffuse bounce to Irradiance Map and Secondary bounces to Direct Computation. Finally, under System, click on Light settings and for every (now two) light in the scene check Generate Caustics, and increase the Caustic subdivis to 2000.

Finally under Rendering > Environment set a bright color.
Now render the scene and see the results!
If you don't like the result, you can change the settings in the Caustics and System rollouts.

If you want to shorten the rendering time, under the Indirect Illumination rollout set Min and Max rate to (correspondingly) -2 and -1, decrease the Max Photons in the Caustics rollout and the Light Settings settings in the System rollout.


Comments

Pedro wrote:

??? WTF.
(21.11.2008, 15:22)

atif wrote:

thish is super fucking totural
(28.07.2008, 06:33)

stupid wrote:

show the results, how do we know if we followed it correctly?!
(21.02.2008, 18:40)

Anonimo wrote:

cute ;) place a result
(06.03.2007, 23:49)

dacian wrote:

what kind of fucking tutorial is this where you can't even see the end result?
(29.12.2006, 15:31)

Anonimo wrote:

very nice
(14.11.2006, 09:27)

abhi wrote:

sir im student fll tutorial give me
(14.11.2006, 09:26)

Your comment:

Name:
E-mail or homepage:
Captcha:
captcha

Script by Alex

This page was last modified 34 months, 3 weeks, 2 days and 9 hours ago