16
MeshLab Painting Marco Callieri Marco Callieri [email protected] Matteo Dellepiane Matteo Dellepiane Guido Ranzuglia Guido Ranzuglia Visual Computing Lab ISTI-CNR Visual Computing Lab ISTI-CNR MeshLab Tutorials MeshLab Tutorials

MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri [email protected] Matteo Dellepiane Guido Ranzuglia Visual Computing

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

MeshLab Painting

Marco CallieriMarco [email protected]

Matteo DellepianeMatteo DellepianeGuido RanzugliaGuido Ranzuglia

Visual Computing Lab ISTI-CNRVisual Computing Lab ISTI-CNRMeshLab TutorialsMeshLab Tutorials

Page 2: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – a brief overlook

A simple “Photoshop style” painting tool is available

Works with graphics tablet (which are compatible with wacom): pressure can be mapped to the various parameters

The features are the typical ones:- Pen- Bucket- Gradient- Stamp- Some “funny” geometric stuff

It also has the UNDO!!!

Page 3: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Coloring Tools

Page 4: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – base (1)

Base painting Two colors painting

mouse left button -> foreground color

mouse right button -> background color

Usual stuffswitchreset to default colors

Page 5: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – base (2) Params

Opacity how much the new color will cover the old one

Brush head shape

Hardness how much “strong” is the

brush pressure Size Paint on Vertex search

If mesh is really big use fast

Page 6: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting - filling Filling

gives to the mesh a uniform color If the mesh has multiple connected

components, it will color only the one clicked by the user

If the user click inside a selection, only the selected area wil be colored

Params Opacity Vertex search

Page 7: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting - gradient Gradient

interpolation between colors Params

Opacity Type

selected colors foreground color

to transparency Form

interpolation type

Page 8: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting - blurring Blurring

blurs the mesh’s colors WARNING: selected colors

are ininfluential!!! Params

Percentual Brush Hardness Size Paint on Vertex search

Page 9: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Z-Painting - stamp Stamp

colors mesh using an image file as a color source

Right click on the mesh will “snap” the current view, which will be used as the color source

Params Load from file Opacity Brush Hardness Size Paint on Vertex search

Page 10: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Z-Painting – color picker Color Picker

Picks a color and use it mouse left button ->

foreground color mouse right button ->

background color

Params Picking mode

nearest vertex pixel

Vertex search

Page 11: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Z-Painting – perlin noiser Perlin noiser

colors the mesh using perlin noise algorithm

Params Opacity Brush Hardness Size Paint on Noise scale

perturbation value Type Vertex search

Page 12: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Geometric Tools

Page 13: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – faces selector Faces selector

Selects mesh’s faces painting on them

WARNING: selected colorsare ininfluential!!!

Params Brush Hardness Size Paint on Vertex search

Page 14: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – geo smoother Geometric smoother

Applies smooth algorithm to painted faces

Params Percentual Brush Hardness Size Paint on Vertex search

Page 15: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – geo extruder Geometric extruder

displaces the vertices along normals (left mouse button raises, right button lowers)

Params Displacement Direction

vertex normal averaged normals

Brush Hardness Size Paint on Vertex search

Page 16: MeshLab Painting - CNRvcg.isti.cnr.it/.../Slides_2016/10a_MESHLAB_PAINTING.pdfMeshLab Painting Marco Callieri callieri@isti.cnr.it Matteo Dellepiane Guido Ranzuglia Visual Computing

Painting – a real example