Backing panel and title-block specs for drawing output.
Both specs are optional inputs to buildDrawing. They sit on
top of the projection plane
and are never clipped, hidden, or pickable — chrome is not part of
the source model.
PanelSpec — backing quad behind the line work, optionally
textured via a procgen.paintMaterials painter.
TitleBlockSpec — heading row plus labelled LABEL | value
rows, sized to a fraction of the frame width and pinned to its
bottom-right corner.
The panel.paint painter is a zero-arg callback that returns a
MaterialMaps triple from procgen.paintMaterials
(colour, normal, and metallic-roughness). The projector creates the
three textures and a SceneMaterial
inside the target SceneModel and binds the panel quad to it via
triplanar mapping (the quad carries no UVs).
Drawing Chrome
Backing panel and title-block specs for drawing output.
Both specs are optional inputs to buildDrawing. They sit on top of the projection plane and are never clipped, hidden, or pickable — chrome is not part of the source model.
procgen.paintMaterialspainter.LABEL | valuerows, sized to a fraction of the frame width and pinned to its bottom-right corner.Usage
Chrome is passed inline to buildDrawing:
Textured panels
The
panel.paintpainter is a zero-arg callback that returns aMaterialMapstriple fromprocgen.paintMaterials(colour, normal, and metallic-roughness). The projector creates the three textures and a SceneMaterial inside the target SceneModel and binds the panel quad to it via triplanar mapping (the quad carries no UVs).The painter is invoked once per
buildDrawingcall. Cache the returned maps if multiple projections should share one texture set.