From BlenderWiki

Jump to: navigation, search

Blender features a built-in painter that allows you to paint your mesh all sorts of pretty colors. This section describes the Vertex Painter, which paints your base mesh by assigning colors to vertices, and blending those to give a face a color. Just like having your own virtual airbrush.

Setting Up

Mode: To be able to paint a mesh, you must select the object and go into Vertex Paint mode using the mode selector on the 3D Window header. Your cursor in the 3D window will switch to a cute little paintbrush.

Viewport Shading: To be able to see what you are painting, select Shaded as the Viewport Shading (also in the 3D window header). You don't have to be in Edit mode to paint, and although some find it distracting to see all those dots, it sometimes helps to see where the vertices actually are.

Textured Viewport Shading
If your 3D View is in Textured Viewport Shading mode, any Vertex Color paint layer will override a UV Texture layer, but will not affect rendering. In Shaded view, the correct view is shown: UV Textures override any Vertex Paint layer.

Detail: The more vertices you have, and the denser they are, the more detailed the paint effects will be. (The editing Subdivide button is really handy if you need it).

Enable Vertex Colors when Rendering

Render: You can paint all day inside Blender without having a material assigned to the object. However, you will not be able to Render without one. In the Buttons window, the Shading F5 buttons, assign a new material if the object does not have one. Enable the VCol Paint button in the material settings of the Shading buttons. This tells Blender to use the vertex colors you are going to paint (instead of the base material color) when it renders the image.

Multicolored lights: You can also tell Blender to use the vertex colors as a light source for the mesh when rendering; enable VCol Light and use the material Emit setting (on the Shaders panel) to vary the intensity of the light produced. Setting different colors for vertices, and then spinning the object, will make a warbling array of colors. If you want it to cast light and shadows on other objects, put a lamp inside of it and make it partially transparent (alpha less than 1.0).

Face Painting: By default, you will be painting the whole mesh. To only paint part of the mesh, press F for Faces when in Vertex Paint mode. The faces of the mesh will be outlined for you. Just like when editing a mesh, RMB Template-RMB.png clicking on a face, or ⇧ ShiftRMB Template-RMB.png clicking, or doing a Border select with the LMB Template-LMB.png button selects only certain faces to paint. Doing a Border select with the RMB Template-RMB.png button excludes those faces from painting. Selecting some faces and pressing H Hides them from view and thus painting (but only for the current painting session; they are unhidden when you leave paint mode… or if you press AltH!).

Color Picker Applet

Manual-VertexPaint.png

Press traNsform to have a floating color picker applet readily available. Use the color picker by RMB Template-RMB.png clicking on a predefined color, color bar and gradient, or LMB Template-LMB.png clicking the sliders, and/or eyedropper sampler. Choose a pretty color, and LMB Template-LMB.png click-drag over your mesh to apply the color. You may supply a hissing sound when you click just to make it more entertaining.

Each time you paint a stroke without leaving the 3D window, Blender saves the stroke in the Undo buffer, so to undo a stroke, just press CtrlZ. Set the Opacity (density) and Size of your brush in the Paint panel (in a Editing (F9) context). Many other painting controls are available in that area; see the Reference Manual for details on the painting tool.

You may move your view about in the 3D window using normal 3D space controls. Note that the window shows you what the object will look like under current lighting conditions, so just like the real world, you may have to turn the object or add/move the lights to see what your paint job really looks like.

Vertex Paint Panel

Manual-VertexPaint-panel.png

In the Editing F9 buttons, in Vertex Paint mode, there will be a Paint panel that has many controls for your paintbrush. Use the RGB sliders to choose a color the same way as the floating applet. The panel also allows you to control the paint Opacity (how 'thick' the paint is applied), the Size of the brush, and how the paint is applied to existing colors. You can apply via Mix, Add, Subtract, Multiply, Filter, Lighter, or Darker. For example, if a vertex was purple, and you set your brush to Subtract Blue, painting that vertex would make it red, since purple minus the blue is red.

To make all vertices a consistent color, set the color and click Set Vert. By default, when you paint, the paint color spreads to all faces connected to the vertice and blends in based on the size of the face. Disable All Face and Vertex to uniformly paint a face. Enabling Normals shows you the incident light appearance; use this if you have Textures applied to the material that affect the Normal.

By default, holding down the LMB Template-LMB.png is just like holding down a spray can button; the more you hold, the more paint is applied. Disable Spray and each click sprays a little bit of paint but no more, and holding down the button has no effect.

The bottom row of buttons allow you to uniformly multiply the color values, effectively increasing (a Multiply factor >1.0) or decreasing (factor <1.0). Change the value and click Set. Use Gamma correction for cross-platform image gamma correction.

Saving and Exporting

Whenever you save your .blend file, the vertex paint job is saved with it, inside the .blend file. There is nothing special you have to do.

You can also save your paint job as an external image (e.g. JPG or PNG) by baking the paint to a UV Image. You do this by unwrapping the painted mesh onto a flat surface, like carefully unwrapping a Christmas present and smoothing the paper out onto a tabletop. This process is called Baking the Vertex Paint and is discussed in UV Texturing.

Overpainting and Textures

Manual-VertexPaint-MeshPanel.png

Entering Vertex Paint mode creates a Vertex Color layer, named and indicated in the Editing buttons, Mesh Panel. You can create multiple layers of Vertex Paint by clicking the New button, located in the Editing buttons, Mesh Panel, to the right of the Vertex Colors label. Each layer is painted independently, and unpainted areas of an upper layer allow more original layers (shown higher in the list) to show through. Selecting a layer shows that painting in the 3D view and/or in Render output – and deactivates (hides) all those that were overlaying it! Select a layer by clicking one or both of the buttons next to its name (left one for 3D view, right one for Render), and change the name by clicking on the name and entering something creative. The example has the Original paint job of the car, overlaid with some dents and scratches, which is further overlaid by the effects of aging and dirt (a light brown-gray dusting). When rendered, all three layers will be shown, because the third layer is currently selected.

You may also paint under a UV image by enabling the use of UV images (Material Texface button), assigning faces using the UV Face Select mode, and loading the image using the UV/Image editor. Any painting you do on one object's face that is UV-mapped does not affect the UV/image, but non-mapped faces will show the vertex colors you have painted. To make permanent mods to the UV image, use the painting tool in that window via Image->Texture Painting. Partially transparent UV images (with an alpha less than one) will allow the base vertex paint to show through.

Any texture (such as the cloud texture) that maps to the color of the material will also affect the vertex coloring.

The end color of the material also depends on the amount of ambient light it receives and the color of that ambient light. If the material is partially transparent, then the color seen will also depend on the color of the objects behind it. The ulitmate color also depends on the color of lights (lamps, reflections, radiance/glow, and other vertex color lights) that shine upon it.



Introduction
What is Blender?
Introduction
Blender’s History
License
Blender’s Community
About this Manual
What's changed with Blender 2.4
Installing Blender
Introduction
Python
Installing on Windows
Installing on GNU/Linux
Installing on Mac
Installing on other Operating Systems
Configuring Blender
Directory Layout
Starting
The Interface
Introduction
Keyboard and Mouse
Window System
Arranging frames
Headers
Console window
Window Types
Screens (Workspace Layouts)
Scenes
Configuration
Modes
Contexts
Menus
Panels
Buttons and Controls
Internationalization
Your First Animation
1/2: A static Gingerbread Man
2/2: Animating the Gingerbread Man
The Vital Functions
Quick render
Undo and Redo
Default scene
Screenshots
Help!
Setting Preferences
Configuring Preferences
Interface
Editing
Themes
File
System
Interaction in 3D
Introduction
Introduction
Navigation
Introduction
3D View
3D View Options
3D View Usage
Camera View
Layers
Local or Global View
Sketch in 3D Space
Introduction to Grease Pencil
Drawing sketches
Layers and Animation
Converting sketches to geometry
Transformations
Introduction
Basics
- Grab/Move
- Rotate
- Scale
- Gestures
Advanced
- Mirror
- To Sphere
- Shear
- Warp
- Push/Pull
Transform Control
Introduction
Precision of Transformations
Numeric Transformations
Transform Properties
Reset Object Transforms
Manipulators
Transform Orientations
Axis Locking
Pivot Point
- Active object
- Individual Centers
- 3D Cursor
- Median Point
- Bounding Box Center
Snapping
Snap to Mesh
Proportional Edit
Data System and Files
Blender's Data System
Blender's Library and Data System
Blender's Datablocks
Scenes
Working with Scenes
The Outliner Window
Appending and Linking
File operations
Introduction
Opening blender files
Saving blender files
Modeling
Introduction
Introduction
Objects
Objects
Selecting Objects
Editing Objects
Groups and Parenting
Tracking
Duplication
- DupliVerts
- DupliFaces
- DupliGroup
- DupliFrames
Mesh Objects
Meshes
- Mesh Structures
- Mesh Primitives
Selecting
- Selectable Elements
- Selection Basics
- Advanced Selecting
- Selecting Edges
- Selecting Faces
Editing
Basic Editing
- Translation, Rotation, Scale
- Adding Elements
- Deleting Elements
- Creating Faces and Edges
- Mirror editing
Vertex Editing
Edge Editing
Face Editing
Deforming Tools
- Mirror
- Shrink/Fatten Along Normals
- Smooth
- Noise
Duplicating Tools
- Duplicate
- Extrude
- Extrude Dup
- Spin
- Spin Dup
- Screw
Subdividing Tools
- Subdivide
- Subdivide fractal
- Subdivide smooth
- Loop Subdivide
- Knife Subdivide
- Bevel
Miscellaneous Tools
Retopo Tool
Sculpt Mode
Multi Resolution Mesh
Vertex Groups
Weight Paint
Mesh Smoothing
Curve Objects
Curves
Selecting
Editing
Advanced Editing
Surface Objects
Surfaces
Selecting
Editing
Text Objects
Texts
Editing
Meta Objects
Metas
Editing
Empty Objects
Empties
Group Objects
Groups
Scripts
Modeling Scripts
Modifiers and Deformation
Introduction
Introduction
Modifiers Stack
Modify
UVProject
Generate
Array
Bevel
Booleans
Build
Decimate
EdgeSplit
Mask
Mirror
Subsurf
Deform
Armature
Cast
Curve
Displace
Hooks
Lattice
MeshDeform
Shrinkwrap
SimpleDeform
Smooth
Wave
Simulate
Cloth
Collision
Explode
Fluid
Particle Instance
Particle System
Soft Body
Lighting
Introduction
Introduction
Lights
Introduction
Light Properties
Light Attenuation
Light Textures
What Light Affects
Lights In Other Contexts
Shadows
Introduction
Shadow Properties
Raytraced Shadow Properties
Volumetric Lights
Introduction
Lamps
Introduction
Lamp Light
- Raytraced Shadows
Spot Light
- Raytraced Shadows
- Buffered Shadows
- Halos
Area Light
- Raytraced Shadows
Hemi Light
Sun Light
- Raytraced Shadows
- Sky & Atmosphere
Lighting Rigs
Radiosity
Introduction
Rendering
Baking
Scene Light
Ambient Light
Ambient Occlusion
Exposure
Exposure
Materials
Introduction
Introduction to Shading
Materials Introduction
Usage
Assigning a material
Material Preview
Material Options
Multiple Materials
Properties
Diffuse Shaders
Specular Shaders
Ambient Light Effect
Color Ramps
Raytraced Reflections
Raytraced Transparency
Subsurface Scattering (SSS)
Strands
Node Materials
Material Nodes
Nodes Editor
Node Controls
Nodes usage
Nodes Groups
Material Node Types
- Input Nodes
- Output
- Color
- Vector
- Convertor
- Dynamic
Vertex Paint
Using Vertex Paint
Halos
Halos
Textures
Introduction
Introduction
UV/Image Editor
Common Options
Texture Stack
Texture Types
Texture Types
Procedural Textures
Image Textures
Video Textures
Texture Nodes
- Nodes Editor
- Node Controls
- Nodes usage
- Nodes Groups
-- Textures Input Nodes
-- Textures Output Nodes
-- Textures Color Nodes
-- Textures Patterns Nodes
-- Textures Textures Nodes
-- Textures Convertor Nodes
-- Textures Distort Nodes
Texture Plugins
Texture Painting
Painting the Texture
- Projection Paint
Mapping
Mapping
Environment Maps
UV Unwrapping Explained
- Unwrapping a Mesh
- Managing the UV Layout
- Editing the UV Layout
- Applying an Image
Influence
Influence
- Material
-- Bump and Normal
-- Displacement
- Particles
- World
World and Ambient Effects
World
Introduction
World Background
Ambient Effects
Mist
Stars
Rigging
Introduction
Introduction to Rigging
Armatures
Armature Objects
Panels overview
Bones
Visualization
Structure
Selecting
Editing
- Bones
- Properties
- Sketching
- Templating
Skinning
Introduction
Linking Objects to Bones
Skinning to Objects’ Shapes
Retargeting
Posing
Introduction
Visualization
Editing Poses
Pose Library
Using Constraints
Inverse Kinematics
Constraints
Introduction
Introduction
Constraints Common Interface
Constraints’ Stack
Transform Constraints
Copy Location
Copy Rotation
Copy Scale
Limit Distance
Limit Location
Limit Rotation
Limit Scale
Transformation
Tracking Constraints
Clamp To
IK Solver
Locked Track
Stretch To
Track To
Relationship Constraints
Action
Child Of
Floor
Follow Path
Null
Rigid Body Joint
Script
Shrinkwrap
Animation
Introduction
Introduction
The Timeline
Markers
3D Views
Animation Editors
Animation Editors
Ipo Editor
Ipo Curves and Keyframes
Ipo Datablocks
Ipo Types
Ipo Editor Interface
Editing
- Ipo Curves
- Keyframes
Ipo Drivers
Action Editor
Editing Action Channels
NLA Editor
Editing NLA Strips
Strip Modifiers
Animation Techniques
Introduction
Animating Objects
- Using Constraints
- Moving Objects on a Path
Animating Shapes
- Shape Keys
- Editing Shape Keys
- Animating Shape Keys
- Shape Keys Examples
Indirect Shape Animation
Animating Armatures
- Stride
Animating Lamps
Animating Cameras
Animating Materials
Animating Textures
Animating World
Physical Simulation
Introduction
Introduction
Dynamics
Force Fields
Collisions
Particles
Particles
Types
Physics
- Newtonian
- Keyed
- Boids
Visualization
Controlling Emission, Interaction and Time
Cache & Bake
Hair
Children
Vertex Groups
Particle Mode
Soft Body
Introduction
Exterior Forces
Interior Forces
Collisions
Simple Examples
Combination with Armatures
Combination with Hair Particles
Reference
Cloth
Introduction
Fluids
Fluid
Using the Game Engine
Using the Game Engine
Rendering
Introduction
Introduction
Camera
The Camera
Perspective (Vanishing points)
Depth Of Field
Render
Displaying Renders
Basic Options
Antialiasing (Oversampling)
Rendering Animations
Panoramic
Render Baking
Using the Command Line
Output
Output
Video Output
Effects and Post Processing
Introduction
Render Layers
Render Passes
Edges & Toon
Stamp
Color Management & Exposure
Depth Of Field
Motion Blur
Render Performance
Rendering Performance
Distributed Rendering
External Render Engines
Introduction
YafRay
Compositing with nodes
Composite Nodes
Introduction
Nodes Editor
Node Controls
Nodes usage
Nodes Groups
Composite Node types
Composite Node types
Input Nodes
Output Nodes
Color Nodes
Vector Nodes
Filter Nodes
Convertor Nodes
Matte Nodes
Distortion Nodes
Editing Sequences
Introduction
Introduction
The sequencer
Usage
Sequencer Modes
Sequence Screen Layout
Effects
Built-in Effects
Plugin Effects
Audio
Audio Sequences
Extending Blender
Introduction
Introduction
Python Scripting
Python Scripting in Blender
Setting up Python
The Text Editor
A working example
References
Python Scripts
Script Catalog
Bundled Scripts
Plugins
Blender's Plugins System
Texture plugins specifications
Sequence plugins specifications
Game Engine
Introduction
Introduction
The Logic Editor
Usage
Game Properties
Sensors
Introduction
Sensor Types
Controllers
Introduction
Expressions
Actuators
Introduction
Action
Camera
CD
Constraint
Edit Object
Ipo
2D Filters
Game
Message
Motion
Parent
Property
Random
Scene
Shape Action
Sound
State
Visibility
Cameras
Cameras
Dome Camera
Physics
Physics Engine
Material Physics
Object Types
- Static
- No Collision
- Dynamic
- Rigid Body
- Soft Body
- Occluder
- Sensor
Python API
Bullet physics
VideoTexture
Various resources
List of Features
External resources
Game Engine Basics (BSoD Tutorial)
FAQ