Module re_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ยง
- OctahedronBase ๐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
ProcMeshKey
s that depict the shape as a solid object. - A renderable mesh generated from a
ProcMeshKey
by theSolidCache
, which is to be drawn as triangles rather than lines. - Cache for the computation of wireframe meshes from
ProcMeshKey
s. These meshes may then be rendered as instances of the cached mesh. - A renderable mesh generated from a
ProcMeshKey
by theWireframeCache
, 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ยง
- generate_solid ๐Generate a solid triangle mesh without caching.
- generate_wireframe ๐Generate a wireframe mesh without caching.
- mesh_from_mesh_gen ๐