Sunday, December 12, 2010

Autodesk Maya: Lighting and Rendering

Creating A Halftone In Maya 

This tutorial will teach you how to create a halftone pattern effect inside Maya. 

Set-up

First, open the object you want to assign the shader to.


Set the camera's background color to gray so the effect
can be viewed easily.

click to enlarge
Create a directional light in the scene. It should be shining
downwards from behind the camera.

click to enlarge

Shader


Step one - Select your model.


Step two - Go to the Toon shelf.


click to enlarge 
Step three - Create a threeToneBrightnessShader.

click to enlarge
Step four - We need to change the color ramp. Set the first color to
white and the last color to black. Don't bother with the second color
because we'll be assigning a texture to that later.

click to enlarge
Step five - Set the interpolation to spline on all of the colors.

click to enlarge
Step six - On the center color, connect the texture.
Check "as projection" and select bulge.

click to enlarge
Step seven - Set the proj type to perspective. Set the link to camera
to perspShape, and fit type to match camera resolution. Now the
texture's projection is based on the camera, not the UVs.

click to enlarge
Step eight - Click over to your bulge texture.

click to enlarge
Step nine - Set the U and V width to .3 . Also, roll down to effects
and check invert.

click to enlarge  
Step ten - Go to the place2DTexture node.

click to enlarge
Set the repeat U and V to 80.

click to enlarge
Now render.

click to enlarge
You can tweak the shader by adjusting where the color points are
on the ramp, also adjusting the light angle.

click to enlarge
Good luck.

No comments:

Post a Comment