A tool for labelling 3D meshes. You define custom classes, load an OBJ file, and 'paint' each class onto the mesh. The result is an output PNG texture which can be used as a label map for the mesh.
python main.py
This loads the settings defined in cfgs/default.yaml
- edit this or create your own with custom classes.
Movement | Response |
---|---|
Left click | Paint at target |
Middle click | Pan camera about target |
Right click | Rotate camera about target |
Scroll | Change target size OR (if CTRL pressed) Zoom in/out to target |
Key | Action |
---|---|
0-9 |
Select class |
> |
Next class |
< |
Previous class |
CTRL /⌘ |
While held, scroll to zoom |
C |
Reset camera view |
S |
Save label map as .png |
O |
Open new .obj file |
Z |
Undo last paint |
P |
Use mouse pan mode |
R |
Start recording / Save recording as .gif |
This tool was made for a specific niche purpose - but could always use additional features. Please make a pull request if you'd like to add a new feature.
python setup.py install
Tested on Windows 10, MacOS 13.11.
Footnotes
-
See
docs/mac_install.md
for details of installation on Apple Silicon. ↩