PlyEdit: 3D Paint

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 09:06, 15 December 2010 (edit)
Headus (Talk | contribs)
(3D Paint)
← Previous diff
Revision as of 09:08, 15 December 2010 (edit) (undo)
Headus (Talk | contribs)
(3D Paint)
Next diff →
Line 36: Line 36:
: The left side of {{fig}} shows the extracted color, a blank canvas because Clear was used before painting, and the right side is the surface shading. : The left side of {{fig}} shows the extracted color, a blank canvas because Clear was used before painting, and the right side is the surface shading.
 +
 +; Step 3] : {{img|PlyEdit-paint3.jpg|Step 3: Load Images}} If your paintbox supports layers then load the color file as the background plate, and the shading image as a multiplying overlay (see {{fig}}). The shading information can then be switched on and off by showing or hiding the top layer.
 +
 +: If your paintbox doesn't support layers, then all you can do is load the color image. Consider using '''Recolor''' before you start painting to get some idea of the location of surface features.
; Name : ; Name :

Revision as of 09:08, 15 December 2010

Cover Page
About PlyEdit
Loading Meshes
Mesh Display
Basic Tools
    H - Hiding
    V - Voiding
    F - Filling
Brushes
    G - Mark
    3 - Noise
    4/5 - Sculpt
    6 - Smooth
    7 - Comb
Macros
Reduce/Multiply
Import Align Combine
Other Tools
    Body Dewobble
    3D Paint
    Dirt
Clean
Saving Meshes
Undo
Glossary
Download PDF
If your mesh contains CPV color, PlyEdit has a number of tools for touching up or completely replacing that color information.

Color Tools

Fig 1. 3D Paint
Fig 1. 3D Paint
Clear 
The color of all faces is set to white.
Mask 
The color of all unmarked faces is set to black.
Recolor 
Overlays a representation of the surface shading into the color itself.
Gamma 
Globally lighten (values less than 1) or darken (values greater than 1) the color information.
Smooth 
Smooths the color by the level indicated.

3D Paint

There is no painting within PlyEdit itself; what the 3D Paint tool does is provides an interface between PlyEdit and 2D paint programs. The only requirement is that the paint application can read and write TIFF formatted image files.

In this description GIMP, a free multi-platform application (see gimp.org), is used as the external 2D paintbox. Commercial products, such as Photoshop, would work just as well.

The painting process is quite simple:
Fig 2. Step 1: Select View
Fig 2. Step 1: Select View
Step 1] 
Select a view of the polymesh that you would like to paint.
In this situation an Ortho projection may be better than Persp as parts of the polymesh further from the camera will be given the same pixel coverage as closer parts.
Also consider hiding parts of the polymesh that you don't want to paint. Say you have a whole creature, but only wanted to paint the head, hide the rest of the body. This will speed up the color export and import process.
Step 2] 
Fig 3. Step 2: Extract Color
Fig 3. Step 2: Extract Color
Click the Extract button. This writes the color and surface shading into two separate files; by default, out.p.tif and out.s.tif.
To change the filename prefix edit the Name field. To change the save directory, click on the right arrow after the Name field.
Normally the extracted color images are the same resolution as the display window, but if the mesh being edited is very dense, some faces may be smaller than a pixel in size. To fix this, increase the resolution of the extracted images with the Mult value.
The left side of Fig 3 shows the extracted color, a blank canvas because Clear was used before painting, and the right side is the surface shading.
Step 3] 
Fig 4. Step 3: Load Images
Fig 4. Step 3: Load Images
If your paintbox supports layers then load the color file as the background plate, and the shading image as a multiplying overlay (see Fig 4). The shading information can then be switched on and off by showing or hiding the top layer.
If your paintbox doesn't support layers, then all you can do is load the color image. Consider using Recolor before you start painting to get some idea of the location of surface features.
Name 
Mult 
Facing only 
Visible only 
Extract 
Project 

Dirt

Fig 5. Dirt
Fig 5. Dirt