Difference between revisions of "Ambient occlusion vertex color"

From polycount
Jump to: navigation, search
(More tools)
(more)
Line 21: Line 21:
  
 
1. Place skylight anywhere.
 
1. Place skylight anywhere.
# Set Sky color to white.
+
* '''a)''' Set Sky color to white.
# Turn on "Cast Shadows" (optional).
+
b. Turn on "Cast Shadows" (optional).
1. Render -> Render.
+
2. Render -> Render.
# Advance lighting tab.
+
* '''a)''' Advance lighting tab.
# Select Advanced Lighting Rollout.
+
b. Select Advanced Lighting Rollout.
# Set advance lighting to radiosity.
+
c. Set advance lighting to radiosity.
## Radiosity Processing Parameters Rollout.
+
d. Radiosity Processing Parameters Rollout:
## Initial quality = 95.
+
* Initial quality = 95.
## Refine Iterations (All Objects) = 1.
+
* Refine Iterations (All Objects) = 1.
## Indirect Light Filte r= 1.
+
* Indirect Light Filter = 1.
# Rendering Parameters
+
e. Rendering Parameters:
## Re-Use Direct Illumination from Radiosity Solution.
+
* Re-Use Direct Illumination from Radiosity Solution.
# Under Radiosity Processing Parameters click start.
+
f. Radiosity Processing Parameters:
1. Select all the geometry.
+
* Start.
# Command Panel -> Utility Tab -> More...
+
3. Select all the geometry.
## Assign Vertex Colors.
+
4. Command Panel -> Utility Tab -> More...
## Vertex Illum.
+
* '''a)''' Assign Vertex Colors.
## Lighting Only.
+
b. Vertex Illum.
## Color by Vertex.
+
c. Lighting Only.
## Radiosity -> Reuse Direct Illum. From Solution.
+
d. Color by Vertex.
## Assign to Selected.
+
e. Radiosity -> Reuse Direct Illum. From Solution.
 +
f. Assign to Selected.
 
<<BR>>
 
<<BR>>
 
{| border="1" cellpadding="2" cellspacing="0"
 
{| border="1" cellpadding="2" cellspacing="0"
Line 48: Line 49:
  
 
=== 3ds Max - GPU AO ===
 
=== 3ds Max - GPU AO ===
[http://www.zhangy.com/main/blog/id/22 GPU AO Vertex Color Bake] plugin by Yang Zhang is 22 times faster than CPU, but requires Nvidia 8 series or later graphic card and 3ds Max 9 or later.  
+
[http://www.zhangy.com/main/blog/id/22 GPU AO Vertex Color] plugin by Yang Zhang is 22 times faster than CPU, but requires a Nvidia 8 series or later graphic card and 3ds Max 9 or later.
 +
 
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|-
 +
|}
 +
 
 +
=== 3ds Max - Render Surface Map ===
 +
Surface map rendering tool included in 3dsmax 2010, found in the Rendering menu as "Render Surface Map". The tool was part of Polyboost but is now called Graphite Modeling Tools.
 +
 
 +
This tool creates a bitmap instead of vertex color.
  
 
=== 3ds Max - Pits & Peaks ===
 
=== 3ds Max - Pits & Peaks ===

Revision as of 08:21, 8 March 2011

Ambient-Occlusion Vertex Color

Vertex color can be used to store ambient occlusion (AO) lighting information.


Pros

Vertex color AO works well for meshes that use tiled textures, like environment models, because the tiling prevents unique lighting from being added to the textures. In this case texture-based AO would require a separate non-tiled texture using a second set of UVs, which would increase the texture memory and also increase the vertex count for the model (to store the 2nd set of UVs).

Cons

The downside of vertex color is that AO resolution is dependent on the complexity of the mesh. The less vertices there are, the less precise the shading will be. More edges can be added to the model, but it usually requires a tedious manual process.

Examples

CryEngine2 uses vertex color for baked ambient occlusion, see the Sandbox Manual.

Methods

3ds Max - Radiosity

The simplest way to bake vertex color AO in 3ds Max is to use Radiosity. For additional methods, see the thread Baking Vertex Illumination without using radiosity on the Polycount forum.

1. Place skylight anywhere.

  • a) Set Sky color to white.
b. Turn on "Cast Shadows" (optional).

2. Render -> Render.

  • a) Advance lighting tab.
b. Select Advanced Lighting Rollout.
c. Set advance lighting to radiosity.
d. Radiosity Processing Parameters Rollout:
  • Initial quality = 95.
  • Refine Iterations (All Objects) = 1.
  • Indirect Light Filter = 1.
e. Rendering Parameters:
  • Re-Use Direct Illumination from Radiosity Solution.
f. Radiosity Processing Parameters:
  • Start.

3. Select all the geometry. 4. Command Panel -> Utility Tab -> More...

  • a) Assign Vertex Colors.
b. Vertex Illum.
c. Lighting Only.
d. Color by Vertex.
e. Radiosity -> Reuse Direct Illum. From Solution.
f. Assign to Selected.

<
>

3ds Max - GPU AO

GPU AO Vertex Color plugin by Yang Zhang is 22 times faster than CPU, but requires a Nvidia 8 series or later graphic card and 3ds Max 9 or later.

3ds Max - Render Surface Map

Surface map rendering tool included in 3dsmax 2010, found in the Rendering menu as "Render Surface Map". The tool was part of Polyboost but is now called Graphite Modeling Tools.

This tool creates a bitmap instead of vertex color.

3ds Max - Pits & Peaks

Pits & Peaks Maxscript by Jeff Stewart was written for Max 3.1 but may still work.

Maya

??


Personal tools
Namespaces

Variants
Actions
Navigation
Tools