OpenVDB  11.0.0
Public Member Functions | Public Attributes | List of all members
FrustumRasterizerSettings Struct Reference

A group of shared settings to be used in the Volume Rasterizer. More...

#include <openvdb/points/PointRasterizeFrustum.h>

Public Member Functions

 FrustumRasterizerSettings ()=delete
 
 FrustumRasterizerSettings (const math::Transform &_transform)
 

Public Attributes

math::Transform::Ptr transform
 
RasterCamera camera
 
bool scaleByVoxelVolume = false
 
bool useRadius = false
 
bool accurateFrustumRadius = false
 
bool accurateSphereMotionBlur = false
 
bool velocityMotionBlur = false
 
bool threaded = true
 
float threshold = 1e-6f
 
float radiusScale = 1.0f
 
float framesPerSecond = 24.0f
 
Name velocityAttribute = "v"
 
Name radiusAttribute = "pscale"
 
int motionSamples = 2
 

Detailed Description

A group of shared settings to be used in the Volume Rasterizer.

Parameters
scaleByVoxelVolumescale particle contributions by the volume of the receiving voxel
velocityAttributethe name of the velocity attribute
velocityMotionBlurbake the point velocities into the volume
clipToFrustumif enabled and the transform is a frustum transform, eliminate points whose position does not lie within the frustum
clipBBoxan optional world-space bounding box to clip the points during rasterization
clipMaskan optional mask, each point samples the mask using a nearest-neighbor sampling and is only rasterized if active
invertMaskif mask is provided, only rasterize if sample is inactive
framesPerSecondthe global value for frames / second for computing motion blur
threadedif enabled, use threading to accelerate rasterization
Note
rasterization can clip can using any combination of bounding box, mask and frustum

Constructor & Destructor Documentation

FrustumRasterizerSettings ( const math::Transform _transform)
inlineexplicit

Member Data Documentation

bool accurateFrustumRadius = false
bool accurateSphereMotionBlur = false
RasterCamera camera
float framesPerSecond = 24.0f
int motionSamples = 2
Name radiusAttribute = "pscale"
float radiusScale = 1.0f
bool scaleByVoxelVolume = false
bool threaded = true
float threshold = 1e-6f
bool useRadius = false
Name velocityAttribute = "v"
bool velocityMotionBlur = false