Guides
Worked examples built with the packs. Every code listing is the code we ran.
- Use the packs in React Three Fiber: A tested Vite + R3F starter: the free buildings with useGLTF, and any pack’s assemblies and generator through its own runtime.
- Colourways and materials in three.js: Load a colourway, lay it over any house type, and set your own look per material slot.
- Snap parts together with sockets: Read named sockets from the pack catalogue and attach doors, windows and storeys to them.
- Cut draw calls with InstancedMesh: Six identical houses from 552 draw calls to 92, with the weathered materials intact.
- Fix meshopt decoder errors in three.js: “setMeshoptDecoder must be called…”, the WebAssembly CSP error, and the uncompressed fallback.
- Build a London terrace in three.js: Load a terraced house from its assembly file and repeat it into a street.
- Build and animate a modular tower crane: Stack mast sections to any height and move the slewing head, trolley and hook in code.