Skip to content

v0.0.5

Choose a tag to compare

@github-actions github-actions released this 25 Feb 10:35
· 260 commits to main since this release

Highlights

Adds PBR material control (roughness/metalness) to primitive methods, matching the existing add_mesh() API.

Changes

  • roughness and metalness on primitives — add_box(), add_sphere(), add_cylinder(), add_capsule() accept optional roughness and metalness parameters (0.0–1.0)
  • JS createMaterial() reads from params instead of hardcoding 0.7/0.3 — defaults unchanged when not specified
  • Sync __init__.py version (was stuck at 0.0.1) with pyproject.toml

New example

  • 13_material_properties.py — 5×5 sphere grid varying roughness (columns) and metalness (rows), plus a metallic box and a rough cylinder