Repository navigation
v0.0.5
Highlights
Adds PBR material control (roughness/metalness) to primitive methods, matching the existing add_mesh() API.
Changes
roughnessandmetalnesson primitives —add_box(),add_sphere(),add_cylinder(),add_capsule()accept optionalroughnessandmetalnessparameters (0.0–1.0)- JS
createMaterial()reads from params instead of hardcoding0.7/0.3— defaults unchanged when not specified - Sync
__init__.pyversion (was stuck at 0.0.1) withpyproject.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