Demonstrates how to implement a brush tool that rasterizes the stencil onto the polygons touched by the brush, accessing the stencil and BodyPaint layer.
The brush rasterizes the active stencil onto touched polygons and shows how a sculpt brush can access stencil data and a BodyPaint layer.
To run this example, place the file in the Cinema 4D plugins folder and restart Cinema 4D.
Topics:
- Rasterizing an active stencil onto polygons
- Accessing sculpt stencil and BodyPaint data
| File | Description |
|---|---|
| py_tool_sculpt_paint_brush.pyp | Demonstrates how to implement a brush tool that rasterizes the stencil onto the polygons touched by the brush, accessing the stencil and BodyPaint layer. |
| README.md | This file. |
| res/c4d_symbols.h | Global symbols and identifiers used by the plugin. |
| res/description/pythonpaintbrush.h | Description symbols for the pythonpaintbrush tool. |
| res/description/pythonpaintbrush.res | Description definition for the pythonpaintbrush tool. |
| res/strings_us/c4d_strings.str | The global English language string table used by the plugin. |
| res/strings_us/description/pythonpaintbrush.str | The English language string table by the pythonpaintbrush description. |