| Creating optimized caustics in Maya Mray |
|
|
In this tutorial you’ll learn how to make fast and optimized caustics effect with maya and mental Ray. Discuss this tutorial on our forum! Caustics is effect that is calculated by emmiting photons from light emitter which are refracted or reflected through one surface to another surface giving us a caustics effect. Here are some examples of caustics effect:
In this tutorial we’ll stick with refracted caustics for now.
Now lets make HDRI lightning for scene.
On the most bottom of settings you have Enivoronment section. Expand and click on CREATE button for Image based lighning
Now click on folder button and browse for some HDRI image. If you dontk now what HDRI images are go to Paul Debevec’s web site which is great resorce for HDRI images understanding.
That will make enough refractions and reflections for your render of final scene.
You should get something like this. Still no lights and shadows or glass shaders.
Now lets make some simple glass shader using Maya’s standard Blinn shader and MentalRay’s dielectric shader.
Now open attributes for blinn material and go to output connections by clicking button that is marked on picture below. That will allow you to override maya’s blinn material with dielectric.
You’ll get blinn’s output settings.
With this you are overrided blins shaders, and put materials from mental ray.
I’m sure you asking now where is caustics??? Well we didn’t put a light source yet. So let’s do that now.
Now make one spot light and place it to match light direction from area light. Coz we gonna use that light just for emiting photons and we’ll turn off emit light and shadows for that light.
Got to properties for that light. Turn off emit diffuse and emit speculer options and in metal ray section turn on emit photons. If emit caustic photons enabled but you can edit caustic options. Got to mental ray settings in render options and turn on caustics. Now again got to properties of light and you can change caustics options.
Now select you spot light. Go to Panels/Look through selected and tweak your light source so it just covers part of scene where is a object that haves refractions and you want to emit photons. You can do that with cone angle option and move tool for that light. I made in my scene cone angle 15 so it just surrounds object like in picture.
If all is ok and you fallowed all steps you should get something like in next render.
But caustics are still need some tweak! Our glass is red.. so that means that caustics need to be red too!
And it’s finished. Now your render should look like this!
Conclusion:
|
| < Prev | Next > |
|---|


















