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
Lightmap based Ambient Occlusion - Faking FG with sampled Lightmap and AO shader

By Vladimir Jankijevic
| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| 10628 Views
| 0 Comments
| Comments 0
Date Added: 9th December 2009
Software used:
Softimage
This tutorial shows a method for generating FinalGather like ambience using the XSIAmbientOcclusion and the Lightmap Color_Sampler shader in XSI. The basic idea behind this, is to create faster and non-flickering (animation) renderings. Unfortunately this method is not as accurate as FG and doesn't support multiple bounces.

Let's take a look how this works:

1: First we are going to create a polymesh sphere which will sample the scene
lightning for the ambience.
More on this a few steps later.
Make the sphere as small as possible to avoid lights being inside it.
Create a spherical texture projection for the sphere.
Open the visibility options and uncheck primary and secondary rays and shadowcasting, -receiving as well.

1180_tid_spherevis.jpg
2: Then create a new material and plug a color_sampler node to the Lightmap port of the Material and a Simple Lambert node in the input port of the Color_Sampler.
The material doesn't need to have a node plugged into the surface port.
Make the diffuse of the lambert pure white and the ambience pure black.
Apply this material to the sphere.

1180_tid_LMshadertree.jpg
3: Create a new phong material and plug a XSIAmbientOcclusion node into the ambience port of the phong node.
Set the AO spread to 0.9 (you should not raise it higher than this value cause the node will create artifacts) and the Output Mode to Sampled Environment.
Create an Environment node and plug it into the environment port of the material.
Under Clips in the RenderTree menu, choose the Lightmap_Color clip that was created with the Color_Sampler node in the sphere material. Connect the clip to the environment node.

1180_tid_AOshadertree.jpg
1180_tid_AOshader.jpg

4: Create some geometry in the scene and apply the newly created material to the objects.
Add some lights and light the scene as you like. Raise the scene ambience to
pure white and render the scene. That's it!

To view a movie please use this link

Thank you for the reading!


 
1
Related Tutorials

Tutorial

Gallery Image.



Keywords: character, creature, tao,

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star half (3)
Comments 0 Views 45044

Tutorial

Gallery Image.



Keywords: menus, tools, softimage, xsi,

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

Tutorial

Gallery Image.



Keywords: wireframe, display, softimage, xsi, modeling,

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

Tutorial

Gallery Image.



Keywords: clusters, hierarchies, modeling, xsi,

Go to galleries 1
rating star nonerating star nonerating star nonerating star nonerating star none
Comments 0 Views 18189
Readers Comments (Newest on Top)
avatar
(ID: 211368, pid: 0) Tom on Mon, 12 August 2013 11:35pm
any chance of a more detailed version? I can't get it to work Thanks
Add Your Comment