Generating and using normal maps in Maya
(some sample shaders and scenes)
Faster, bigger, better! If you're familiar with normal maps
check directly here for a faster application of the method described
down here using my rayDisplace plugin : displacement_maps
January 10, 2005 :
recompiled rayDisplace6.zip for Maya 6.0,
and rayDisplaceSource.zip is available
A normal map is close to a bump map. Though a bump map returns a scalar value that indicate perturbation of the surface along the it's original normal, whereas a normal map return a vector (by using rgb color) which will can replace or be added to the orginal surface normal.
It's easy to generate a view or map of an objects normal using
false colors (red for x, green for y, blue for z). this is quite
useful to create � 2D surface previews � for
texturing in a 2D paint package, when you don't have access to a 3D
paint.
Exemple scene : display_object_normals.zip
Finally, the obtained normals will have coordinates x, y and z
ranging from -1 to 1. To express them in the 0->1 color space of
red, green and blue, I have to use a setRange before I output the to
the color channel of my shader.
If I understood well, the idea behind crytek's plugin is to use the normal map generated by the high resolution model on the low poly version. The results were looking so nice I decided to see if it was possible to pull up some stunt using a Maya shading network. Luckily Alias released recently a free plugin collection for polygons that you can find on their website. I included the one I'm specifically using (in "Bonus tools"):
Thanks to this nice plugin (though quite a slow node to evaluate),
for each sampled point of the low poly model, I can look up to the
closest point of the high resolution version (thus low poly and high
poly models must sit in same place in place during the normal map
texture creation) and get the value of the normal at this point. A faster alternative would be to use Maya's new "Evaluate Surface" functionalities or rayDisplace6.zip
Author: drone
Submitted: 2006-03-31 00:05:46 UTC
Tags:
Software: Maya
Views: 123,562
Related Items
-
Blonde woman in jeans and sweater - aXYZ design - AWom0004-CS / Rigged for 3D Max + Character Studio 3D Model
$49.00 (USD) -
Tire and Rim 3D Model
$9.00 (USD) -
Kangaroo Rigged and Animated 3D Model
$30.00 (USD) -
ROD AND PISTON 3D Model
$10.00 (USD) -
Table and chairs 3D Model
$20.00 (USD) -
Quill pen and ink bottle 3D Model
$20.00 (USD) -
Dinning chair and table 3D Model
$20.00 (USD) -
Quick and dirty medium/low res 45. Smith and Wesson handgun 3D Model
$25.00 (USD) -
"Rapid Rig: Poser" for Maya for Maya 2.0.9 (maya script)
$20.00 (USD)