MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::VolumeGridBuffer::SurfaceConfig Struct Reference

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.
 

Detailed Description

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.


The documentation for this struct was generated from the following file: