Mental Ray - Caustics, Materials, Physical Sun, Portal Lights, HDRI

A lengthy post coming up - looking at Mental Ray with Caustics, Materials, Physical Sun and Sky, Portal Lights and HDR images.

Caustics
Caustics is the name given to the phenomenon of bright hot spots when light is refracted through materials such as glass or water. In this case, applying the caustic setting (along with final gather and global illumination) helps to simulate this effect.




Mix_Materials_X
Mental Rays default mix_materials_x has a number of preset settings that work quite effectively. The versatility of the material is impressive especially considering the fact that these presets can be combined and mixed together for entirely unique results.




Physical Sun and Sky
Mental Ray has the option of using a Physical Sun and sky to light a scene - here we delve into some of the finer settings.

With a default sun and sky, the horizon line must be adjusted to match the scene.


Adjusting the physical sun direction will simulate different times of day, where the sun disc scale attribute can be tweaked to change the size of the sun.


A early afternoon lighting is achieved by rotating the sun by a rough value of 135.


If necessary, the hue to red/blue can be tweaked to match specific scenes.


Where the haze setting can be adjusted to create a clear day or an overcast one.


Saturation levels can also be tweaked to a desired effect.


Shadows created by the physical sun and sky can also be tweaked. With the example below, increasing the softness and number of samples can help achieve a softer look to shadows while maintaining quality.



Portal Lights
Mental Ray's physical sun and sky do not work so well with interiors. However, this can be amended with the use of portal lights to help light any interior scenes. As such, ambient occlusion and colour bleed can be used to have colour bounce of surfaces.




HDR (High Dynamic Range) Images
HDR images used for lighting can provide a much greater level of detail to a scene, particularly with reflective surfaces. Often, it alludes to the world outside the scene with a chrome ball type reflection.

Base scene


Tweaking colour gain and offset values is integral to achieve desired results when using HDR images. While it may not be noticeable in the examples below, different HDR images were used to experiment with gain and offset values.

4 comments:

Yolantele said...

Hey Leo!
Hope your first days in work placement are all exciting and going very well :) (MAaaax! :D )

Also, can you give me your email, for fev things to send to you :]

mine is klpdjolanta@gmail.com

Leo Tsang said...

Sure, I've just sent you an email. Also, I haven't actually started yet (not until to the 26th April) for reasons I've explained in the email :P

Unknown said...

hi

You might be able to help me.
I have a problem with the sun disk scale.
I am rendering a chrome/stainless steel material with sun reflection in it.
(physical sun and sky, mia material, MR,FG)
Despite I tried a wide range of the sun disk scale it doesn`t change in reflection.
(When looking straight to the sun it works.)

Don`t you know how to manage it to work properly?
thanx a lot

martin

echo@maart.cz

Unknown said...

hi

You might be able to help me.
I have a problem with the sun disk scale.
I am rendering a chrome/stainless steel material with sun reflection in it.
(physical sun and sky, mia material, MR,FG)
Despite I tried a wide range of the sun disk scale it doesn`t change in reflection.
(When looking straight to the sun it works.)

Don`t you know how to manage it to work properly?
thanx a lot

martin

echo@maart.cz

Post a Comment