|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
Isosurface extraction parameters for a scalar field. More...
#include <VolumeGridBuffer.hpp>
Collaboration diagram for MayaFlux::Buffers::VolumeGridBuffer::SurfaceConfig:Public Attributes | |
| std::string | field_name |
| Scalar field surfaced. Stride must be sizeof(float). | |
| glm::uvec3 | resolution |
| Extraction cell count per axis, over the volume's own bounds. | |
| float | threshold |
| Field value the surface is placed at. | |
Isosurface extraction parameters for a scalar field.
Supplied at construction because the extraction resolution determines this buffer's own vertex storage size: mc_emit allocates slots by atomicAdd without a capacity check, so storage is sized to the worst case of fifteen vertices per voxel. At 48 cubed that is roughly 95 MB, at 64 cubed roughly 225 MB.
Definition at line 164 of file VolumeGridBuffer.hpp.