MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ write_lattice_params()

void MayaFlux::Buffers::RaymarchProcessor::write_lattice_params ( )
private

Write the lattice-derived words of the parameter block.

Definition at line 47 of file RaymarchProcessor.cpp.

48{
49 const glm::vec3 cell = m_lattice.cell_size();
50
57 m_params.cell_size_x = cell.x;
58 m_params.cell_size_y = cell.y;
59 m_params.cell_size_z = cell.z;
60}
glm::vec3 cell_size() const noexcept
Edge length of one cell along each axis.
Definition Lattice.hpp:30
AABB3D bounds
Continuous extent subdivided.
Definition Lattice.hpp:27
glm::uvec3 resolution
Cell count per axis. Zero on any axis is invalid.
Definition Lattice.hpp:26

References MayaFlux::Kinesis::Lattice3D::bounds, MayaFlux::Buffers::RaymarchProcessor::MarchParams::bounds_min_x, MayaFlux::Buffers::RaymarchProcessor::MarchParams::bounds_min_y, MayaFlux::Buffers::RaymarchProcessor::MarchParams::bounds_min_z, MayaFlux::Kinesis::Lattice3D::cell_size(), MayaFlux::Buffers::RaymarchProcessor::MarchParams::cell_size_x, MayaFlux::Buffers::RaymarchProcessor::MarchParams::cell_size_y, MayaFlux::Buffers::RaymarchProcessor::MarchParams::cell_size_z, MayaFlux::Buffers::RaymarchProcessor::MarchParams::depth, MayaFlux::Buffers::RaymarchProcessor::MarchParams::height, m_lattice, m_params, MayaFlux::Kinesis::AABB3D::min, MayaFlux::Kinesis::Lattice3D::resolution, and MayaFlux::Buffers::RaymarchProcessor::MarchParams::width.

Referenced by RaymarchProcessor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: