Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

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 with P, N and uv on their points.
  • mesh.lattice makes the lattices and fans the presets share, mesh.spherical the point of a sphere and mesh.cube_faces the faces of a cube; a preset writes its positions, normals and texture coordinates as formulas over the lattice.