Expand description
Headless preview images of point clouds and meshes, drawn on the CPU.
Made for checking work, including by AI agents that can read images: the object is framed automatically and drawn from a few fixed angles. Mesh faces seen from the front are blue-grey and faces seen from behind are orange, so holes (you see the inside) and flipped faces stand out. No GPU or window is needed.
Structs§
- Image
- An RGB image, row by row.
- Render
Options - Options for
render_grid.
Enums§
- Drawable
- Something to draw.
- UpAxis
- Which axis points up in the data.
- View
- Direction the camera looks from.
Functions§
- png_
bytes - Write
imageas PNG bytes in memory. - render_
grid - Draw each item as one row and each view as one column, all at the same scale, so before/after pairs compare directly.
- write_
png - Encode
imageas a PNG file.