|
scimesh 0.3.4
Headless CPU-only 3D software renderer for scientific mesh visualization
|
Screen-space line primitives — the LineLayer. More...


Go to the source code of this file.
Classes | |
| struct | scimesh::LineLayer |
| A batch of independent line segments drawn with a fixed screen-space width. More... | |
| struct | scimesh::LineNodeRef |
| A non-owning reference to one line layer in a scene, together with its placement transform (and optional name). More... | |
Namespaces | |
| namespace | scimesh |
Screen-space line primitives — the LineLayer.
Line layers are the cheap counterpart of tube meshes (see generate_multi_tubes()): they draw many independent line segments with a width measured in pixels instead of world units, so no geometry is created at all. This is the same behaviour as hardware line rendering (rgl::segments3d(), OpenGL GL_LINES), which makes line layers the natural choice for wireframes, network/graph edges, trajectories and any other large set of thin lines.
Definition in file lines.h.