Log inGet started
World

Hearthvale: Walkable Fantasy Town Kit

Branchmain
Commitf9fa341b56

README.md

geo

The mesh builder every Hearthvale building is written into. A Builder collects triangles per material slot (plaster, timber, roofTile, cobble, ...) with a transform stack (push(x, y, z, yaw) / pop()), so each piece is written in its own local frame. It offers boxes, oriented boxes, tilted roof slabs, beams between two points, cylinders and cones, and gable prisms, all with UVs in metres projected per face so textures line up at real size. Beside the triangles it records collider boxes (solid, ramp), named anchors, townsfolkKit activity spots and point lights. geometry() answers the per-slot MeshGeometry tables renderer.mesh.create takes. Called by townKit.buildings, townKit.layouts and townKit.gallery; use it to write your own building in the same style.