volodymyrsvirhun commited on
Commit
9f23d2d
·
verified ·
1 Parent(s): 96e2935

Add a material picker for assets with a Material variant set (part 2)

Browse files

The 50 fasteners show Aluminum / Brass / Nylon / Stainless steel buttons under the 3D view. Picking one recolours the model and updates the mass and a new Physics material row (density, friction, restitution); the choice is kept in the link (&m=brass). build_catalog.py reads the variant set and each materials/*.usda file.

4 files changed +3388 -2
Files changed (4)
style.css+3
tools/build_catalog.py+64-2
tools/meta_cache.json+3300
viewer.js+21