Module re_space_view_spatial::proc_mesh

source ·
Expand description

Procedurally-generated meshes for rendering objects that are specified geometrically, and have nontrivial numbers of vertices each, such as a sphere or cylinder.

Structs§

  • Base shape for [hexasphere]’s subdivision algorithm which is an octahedron that is subdivided into a sphere mesh. The value of this shape for us is that it has “equatorial” edges which are perpendicular to the axes of the ellipsoid, which thus align with the quantities the user actually specified (length on each axis), and can be usefully visualized by themselves separately from the subdivision mesh.
  • Cache for the computation of triangle meshes from ProcMeshKeys that depict the shape as a solid object.
  • A renderable mesh generated from a ProcMeshKey by the SolidCache, which is to be drawn as triangles rather than lines.
  • Cache for the computation of wireframe meshes from ProcMeshKeys. These meshes may then be rendered as instances of the cached mesh.
  • A renderable mesh generated from a ProcMeshKey by the WireframeCache, which is to be drawn as lines rather than triangles.

Enums§

  • GenError 🔒
    Errors that may arise from attempting to generate a mesh from a ProcMeshKey.
  • Description of a mesh that can be procedurally generated.

Functions§