Files
vectorcraft/docs
dotCooCoo 6866aa8190 3D: Roughness and Metallic on the Materials tab shade and export the surface
Extrude & Bevel, Revolve, Inflate and Rotate take a `material` parameter,
{roughness, metallic}, each a number from 0 to 1 (defaults 1 and 0). The
3D and Materials panel's Materials tab shows them under Properties as two
sliders; each change is one undo step for every selected 3D object. A
value the selected objects hold differently is shown blank with its reset
dot filled, and a typed or dragged value or a reset sets it on all of
them while each keeps its own value of the other property.

- The default material draws exactly as before and calls no BRDF.
- Any other material is shaded through craft-pbr with the glTF 2.0
  metallic-roughness BRDF (Appendix B, with the separable Smith
  visibility of B.3.2) for each light and a split-sum environment scaled
  by Ambient Light. The reflected light is screened over each face as
  vector gradient ramps; graphics on a side or on Inflate's faces lie
  under it, and graphics on caps and the plane take the cap's mean
  reflected light in their colors.
- Smoothed bevel bands take the normals they share at their edges and
  draw as two triangles, so neighboring bands meet without a step, with
  perspective and twist too. A bevel whose split bands would pass the
  solid's face limit keeps one facet per band, so a material never makes
  a solid that draws with the default material too complex. Wireframe
  mode draws the same edges for every material.
- A gradient with transparent stops stays transparent: the faces are drawn
  opaque under one mask of its coverage. A pattern surface takes no
  highlight.
- glTF exports write roughnessFactor and metallicFactor, and USD exports
  write inputs:roughness and inputs:metallic (when it is not 0). OBJ's
  MTL writes neither, so parts of one color and picture share one OBJ
  material as before.
- A material that is not an object, an unknown key, or a value that is not
  a number from 0 to 1 is refused; the 3D (Classic) effects take none. A
  loaded material that fails these rules draws as the default.

Docs: docs/three-d.md (Material properties; the Inflate graphics text is
corrected; the Properties are listed as built), README, docs/mcp.md,
docs/effects-parity.md, docs/target-app-parity.md, ROADMAP.
2026-11-29 23:32:57 -08:00
..
2026-11-29 22:41:45 +05:30