Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

 

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

 

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

 
submit tutorial
1 | 2 | 3
Photon Illumination of DGS Materials in Mental Ray for Maya

By Philippe Le Miere
Web: Open Site
| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| 15967 Views
| 0 Comments
| Comments 0
Date Added: 9th December 2009
Software used:
Maya

Final Gather

Final gathering is a less accurate means of calculating indirect illumination, but can be used to improve the quality of global illumination. Global illumination is more affective on shiny and transparent materials requiring accurate ray tracing of light. However, it is not as affective on matte materials. Final Gather can be used to improve lighting and shading effects on more diffuse surfaces by eliminating photon map artifacts.

Final Gather is turned on in the Render Global Settings, under the Final Gather section. The default number of Final Gather Rays is 1000 per sample point. This controls the number of rays shot and can be too high for test renders. The Final Gather Rays value is set 100 for the first test render. Also, with final gathering, fewer Global Illum Photons are need and lower Global Illum Accuracy will still produce sufficient results. For each of the lights, the Global Illum Photons was reduced to 50,000 and the Global Illum Accuracy reduced to 100. This speeds up render time, without affecting results.

1171_tid_11_finalGather_.jpg
Introducing final gather has in fact darkened the image. The wall is now a source of ray-emitting light and its brightness is determined by the tone of the material. The wall and reflector board where both initially set to a diffuse value of 0.8. Increasing their diffuse values for both dgs material and dgs photon material produces the following brighter image.

1171_tid_12_brighter_mat.jpg
This image has the backdrop material set to 0.9 and the reflector board set to 1.0. The Final Gather Accuracy has also been increased to 200. Note how Final Gather now casts a clearer shadow for the ball.

The Min/Max Radius controls the size of the sampling region used by final gather rays. The default value 0 produces an approximation based on the largest object in the scene. The values will vary based on the sizes of geometry in the scene. A guideline is to set the Max Radius to 10% of the scene's overall dimension, and then set the Min Radius to 10% of the Max Radius. By setting Export Verbosity to Info Messages in the Translation section, it is possible to record the scene diameter in the Output Window. In this example it's about 90 units.

1171_tid_13_max-min.jpg
Here the Max Radius has been set to 9 and the Min Radius to 0.9. The results are a little smoother than the last render.
The Filter option controls speckle elimination and prevents samples with extreme brightness from incorrectly illuminating the scene.

1171_tid_14_filter.jpg
Increasing this value to 2 has eliminated some of the brightness from the hotspot in the background.
And so that's using DGS Materials with Global Illumination and Final Gather.

Information for this article has come from the following sources:

- A DGS tutorial posted on Highend3d.

- The Diffuse, Glossy and Specular diagrams where recreated from Jeremy Birn's book 'Digital Lighting & Rendering'. A must have book for anyone serious about 3d graphics. It is available from Amazon.

- Many of the individual attribute explanations were aided by the Maya Help manual.

- Maya version 6 was used for all renders and the files are available for download.

- 01_set-up.mb
- 02_mat.mb
- 03_tweeking.mb
- 04_tweeking.mb
- 05_final.mb

The final render has been produced with a few creative touches. One of the negative fill boards was rotated to directly illuminate the sphere. The sphere's Saturation value of its Specular component was set to 1.0, with Hue set to primary red. The camera was moved in a little cloaser and the backdrop Value reduced to 0.85. Production quality settings were used and the area lights sampling increased to 5 x 5.


1171_tid_15_final.jpg
So, are DGS materials better than standard materials? Yes, once you get the hang of them. The main practical advantage is that DGS photon materials are a must when using Global Illumination as they render must faster. Personally, I find the idea of describing a material in terms of its relative roughness or smoothness to be much more intuitive.

Have fun experimenting with this great new technology.




< previous page
 
1 | 2 | 3
Related Tutorials

Tutorial

Gallery Image.



Keywords: rendering, envoronmental, object, illumination, gi, max,

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (1)
Comments 0 Views 10569

Tutorial

Gallery Image.



Keywords: gmil, lightwave, surface, shader,, illumination, gi,

Go to galleries 1
rating star nonerating star nonerating star nonerating star nonerating star none
Comments 0 Views 8518

Tutorial

Gallery Image.



Keywords: texturing, lighting, materials,

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star half
Comments 20 Views 152356

Tutorial

Gallery Image.



Keywords: vray, depth of field, shade, rendering,

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 3 Views 18193
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment