Show in Contents
Add to Favorites
Home: Autodesk Maya Online Help
Animate a starfield
Paint Effects samples and techniques
Work on an animation project
Create textures from painted 3D objects
After
painting strokes on an object, you can convert the strokes into
a texture, which you can then reapply to the object. You may want
to do this if you need to render the images outside of Maya (for
example, in a game engine).
This technique remaps the strokes painted on
the object to the same UV space in the texture.
To
create a texture map from a painted 3D object
- Paint
the strokes on a paintable object. For details, see
Paint on objects.
- Select
all the strokes on the object.
- In
the Attribute Spread Sheet, click
the Shape Keyable tab.
- Select
all the values under the Perspective column
and change them to off. (Changing Perspective to
off is the same as selecting Position Stroke on View
Plane.)
- Select
Window > Rendering Editors > Render Settings,
and set the render resolution to be square (for example, 320 x 320).
- Hide
the object you painted on so that it does not render.
- Perform
a test render of the scene (
Render > Render Current Frame).
- Modify
the Global Scale of the strokes,
if necessary.
- Select
all the brushes.
- In
the Attribute Spread Sheet, click
the Keyable tab.
- Under
the Global Scale column, adjust
the scale appropriately for each brush.
- Render
the scene (
Render > Render Current Frame).
- Save
the rendered image. You can now create a texture from this image and
reapply it to the object.