Hand Painting
1 node
On this page 1
Paint By Hand
FunctionA mask painted by hand: open the node's painter, and paint on the model - turning round it, across its seams - or on the flat texture; each stroke is a step Undo takes back. The strokes are kept on the node, so the mask comes out sharp at any size.
Signature
PaintByHand -> (result: Texture, color: Texture, strokes: Paint Strokes)
_self: IDivookaNode
mesh: MaterialMesh
size: Integer
stamp: Texture
under: Paint StrokesTexture PaintByHand(
IDivookaNode _self,
out Texture color,
out PaintStrokes strokes,
MaterialMesh mesh,
int size = 1024,
Texture stamp,
PaintStrokes under)Parameters
| name | type | default | description |
|---|---|---|---|
| _self | IDivookaNode | — | The node, whose strokes are read. |
| mesh | MaterialMesh | — | The model to paint on; without one, the painter paints on a texture that tiles. |
| size | Integer | 1024 | The mask's width and height in pixels. |
| stamp | Texture | — | A picture the brush can stamp - a brush alpha, or a decal to press on. |
| under | Paint Strokes | — | Strokes to paint over, made by other nodes: the brush paints over them and its eraser rubs them out. |
Returns
| result | Texture |
| color | Texture |
| strokes | Paint Strokes |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Hand Painting
- Package
- Image Processing