Keep up-to-date with Free tutorials!!

 

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

Sign me up to receive third-party emails from 3dtotal's partners, too!

- 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 | 4 | 5
Advanced Baking - Baking Next-Gen lighting with Turtle

| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star full
(4 Votes)
| 89938 Views
| 0 Comments
| Comments 0
Date Added: 9th December 2009
Software used:
Keywords:

The largest difference from PTM Lua baking, which we covered earlier, is that we haven't provided a basis function for this Lua Bake Script. We aren't fitting the sampled data to a function basis, but a simple vector basis, and we can do that ourselves in the bake function. We also choose to sample indirect illumination instead of dynamic lighting, which will capture bounced light, color bleeding and neat things like that.

Make sure no other pass is enabled in the Texture Baking tab, enable the Lua pass and bake out a texture using the RNM Lua Bake Script.

1299_tid_image19.jpg
The Bake script bakes down both Indirect and Direct Illumination by default.

You can experiment with baking only Indirect or Direct Illumination by commenting out the respective sections in the script. If you notice the output array, we are writing out 12 values. The RNM basis actually only needs nine components, but RNMs are most often written out as ordinary image files like TGA. We explicitly specify every fourth channel as 1.0, because the output channels will in turn be written out to R, G, B and A channels of a set of image files to match the number of output components, so we make sure that all alpha channels will represent an opaque value. Our 12 output components will thus be output to 3 RGBA images, which is what we'd want for an RNM map.

You will really start to appreciate the RNM maps once you start using them on textured scenes, and properly take advantage of color bleeding to pronounce mood or visual style.


Trying out new ideas will be a breeze once you get used to the Lua interface, so get busy coding!

- Normal Mapping
- Parallax Mapping
- RNM - Indirect Illumination through custom Lua Bake Script

1299_tid_image20.jpg



< previous page
 
1 | 2 | 3 | 4 | 5
Related Tutorials

Lighting and rendering an interior

by Patric Verstraete
published on 2014-12-08

Keywords: Arch Viz, 3ds Max, V-Ray, lighting, rendering

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (24)
Comments 1 Views 46636

Baking GI Shadows into a Single Texture

by Lune Cheetah
published on 2009-12-09

Keywords: baking, shadows, gi, teapot,

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star none (1)
Comments 0 Views 24405

The making of 'Canon Reflex Zoom 8-2'

by Paul H. Paulino
published on 2015-09-16

Keywords: Paul Paulino, Think Tank Training Center, Maya, tutorial

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (20)
Comments 1 Views 9003

The making of 'Childhood’s Bravery'

by Giorgio Lorenzetti
published on 2015-08-18

Keywords: Giorgio Lorenzetti, Maya, ZBrush, dragon, making of

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (11)
Comments 0 Views 8562
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment