RandomVertexColor is a Python script for Cinema 4D R18 and higher, designed to assign random colors to connected vertices using the Vertex Color Tag.
The script utilizes the vertex color tag associated with the selected object; if none exists, it creates a new one. Subsequently, random colors are applied to each connected chunk of vertices.
Installation:
- Download the RandomVertexColor.py script.
- Copy the script to the Cinema 4D scripts directory:
- On Windows: C:\Program Files\MAXON\Cinema 4D RXX\library\scripts
- On macOS: /Applications/MAXON/Cinema 4D RXX/library/scripts
How to Use:
- Select your polygon object.
- Execute the RandomVertexColor script by selecting it from the script menu or pressing the Execute button in the script manager.
ChangeLog:
-
V1.2
- Optimized performance
- Added detailed documentation and type hints
-
V1.1
- Code refactoring
- R23 support added