Builtin Library
README.md
mesh
The primitive solids and sheets a graph starts from: mesh.box, mesh.sphere, mesh.cylinder, mesh.cone, mesh.capsule, mesh.octahedron, mesh.torus, mesh.rounded_box, mesh.plane and mesh.grid. Each is made on the device from lattices and fans of core.make, with positions, normals and texture coordinates written as formulas over the lattice, and answers triangles centred on the origin that fill the box its parameters name.
Conventions
- Each node's folder name is its call name inside the box:
mesh.<folder>. - Each preset answers one output,
geometry: triangles withP,Nanduvon their points. mesh.latticemakes the lattices and fans the presets share,mesh.sphericalthe point of a sphere andmesh.cube_facesthe faces of a cube; a preset writes its positions, normals and texture coordinates as formulas over the lattice.