Paint Effects
syllabus | schedule | projects | class notes | resources | students | ARTC courses
[Intro Particles]     [Emitters/Fields]     [Collisions]     [Audition]     [Per Particle]     [Compositing 1]     [Compositing 2]     [Effects]     [Particle Extras]     [Geometry as Particles]     [Paint Effects]     [Sprite Image Sequences]     [Rigid Bodies]     [Playable DVD]
Paint Effects
Before starting: Make new project and call it textureExercise


In Maya - Windows - Settings/Preferences - Preferences - Help - Tooltips Enabled = ON

To Paint on an Object using PaintEffects:

Make a sphere and put a light in your scene.
Hit the (5, 6, 7) key to turn on the lights and textures (select the sphere and hit 3 to increase quality) - for NURBs only
Select the sphere and select Rendering Set -> Paint Effects -> Make Paintable
(if you attempt to paint an object that is not paintable it will not paint, if you paint outside of the object it will paint on the view plane)
Hit the 8 key to get into the PaintEffects window
Select Paint -> Paint Scene

To get out of the PaintEffects Mode hit the 8 key again or select Panels->Perspective-> persp

Tools (square icons) on top of window:
Brush Settings - Select which type of effect (Paint, Erase, etc.) then alter lots of settings.
The pink areas are uneditable.
PaintBrush - Click this to open the Visor and change the brush settings
(hold B while dragging to adjust size)
Eraser - will erase ALL effects - use a paintbrush in the Erase mode to erase parts of a painting
View Modes (next 3): Use RGB to see your painting
Camera: to take a snap shot and save it to file
Arrows: Refresh the scene
Blue curvy thing: Turn tubes on - fun but slow
Color and Transparency sliders
**Use camera rotation, translation and zoom to paint on all sides.

Menus
Paint - select Canvas or Scene and Save images
Canvas - to be used with Canvas Painting only
Brush - change settings on the brushes
Camera - change camera views
Resolution - change level of detail
Object Shading - change shading mode
Display - show the channels
Stroke Refresh - to speed things up
Panels - same as in other parts of Maya

In class Exercise: Paint an entire sphere or torus using various paint effects.

Painting a Canvas (in Paint Effects):
Select Paint -> Paint Canvas
Use the Canvas->Roll vertical and horizontal to make sure you get a texture that will repeat correctly
Paint your picture then select Canvas->Save -> Options
Click Off Alpha
Select Save Image (notice it saves it in the sourceimages directory)
Hit the 8 key to get out of the PaintEffects window and make a sphere & put a light in the scene
Using the Window->Hypershade, make a lambert material and map a File to the color attribute
Open the Attribute Editor and connect the new image you made to the file texture
Attach the new material to the sphere and render into new window

In class Exercise: Create a texture using Paint Canvas and map it onto the Color Attribute of an object
Paint a different image using Paint Canvas and map it onto the Bump Map of the object.

Saving and Blending Brushes:
Make a new Shelf - Hold down the arrow under the shelf icon to the left of the shelves- select New Shelf
Name it Brushes
Make your own brushes in Paint Effects (Paint Effects menu (on top) - Template Brush Settings)
To save the new brush: Paint Effects - Save Brush Preset
Save To Shelf (make 5 new brushes)
Preset Brushes are in the Visor (open HyperShade) - select one and then Template Brush Settings...
Paint Effects -> Reset Template Brush to go back to normal
Blending Brushes - select first brush in the visor - RMB over next brush - Blend Brush to 50% >Paint Effects - Preset Blending to change Blend

Painting a 2d texture on 3d objects:

Windows - View Arrangement - Two Panes Side by Side
Hit the 8 key in one of the windows and change it to Paint Canvas
Change the other window to a persp window
In the Hypershade create a Lambert Material
MMB drag a file to the Lambert material in the workspace and connect to Color
Assign the Lambert to the object
MMB drag the file texture to the Paint Effects window
Turn on Save After Each Stroke (little folder icon).

Painting textures right on the models
Always save your scene before starting - Select the model
Rendering Menu set - Texturing -> 3D Paint Tool Options
Scroll down to File Textures -> select Color (or select another one)
Click Assign Textures if you have no texture on it now - select size and hit Assign Textures.
Adjust Brush (Radius, Opacity and Shape) and select a color to paint with.

Play with Paint Operations
Bump map automatically consider the color to be a alpha value rather than an RGB value.
Under File Textures - Save the Texture when you are done or want to Paint another Attribute.
Render the scene.

In the Hypershade, adjust the 2d placement node to change how the texture is placed on your object.
Try painting a number of other Attributes (transparency, bump, etc.)
Texturing Menu -> Nurbs Texture Placement Tool Options (surface placement)
Middle mouse button move the little red boxes to adjust the texture placement and coverage. Look for the U and the V