7#ifndef PXR_IMAGING_PLUGIN_HD_EMBREE_CONFIG_H
8#define PXR_IMAGING_PLUGIN_HD_EMBREE_CONFIG_H
13PXR_NAMESPACE_OPEN_SCOPE
17constexpr int HdEmbreeDefaultSamplesToConvergence = 100;
18constexpr int HdEmbreeDefaultTileSize = 8;
19constexpr int HdEmbreeDefaultAmbientOcclusionSamples = 16;
20constexpr bool HdEmbreeDefaultJitterCamera =
true;
21constexpr bool HdEmbreeDefaultUseFaceColors =
true;
22constexpr int HdEmbreeDefaultCameraLightIntensity = 300;
23constexpr int HdEmbreeDefaultRandomNumberSeed = -1;
54 unsigned int tileSize = HdEmbreeDefaultTileSize;
105PXR_NAMESPACE_CLOSE_SCOPE
This class is a singleton, holding configuration parameters for HdEmbree.
bool useFaceColors
Should the renderpass use the color primvar, or flat white colors? (Flat white shows off ambient occl...
unsigned int ambientOcclusionSamples
How many ambient occlusion rays should we generate per camera ray?
unsigned int tileSize
How many pixels are in an atomic unit of parallel work? A work item is a square of size [tileSize x t...
bool jitterCamera
Should the renderpass jitter camera rays for antialiasing?
unsigned int samplesToConvergence
How many samples do we need before a pixel is considered converged?
static const HdEmbreeConfig & GetInstance()
Return the configuration singleton.
int randomNumberSeed
Seed to give to the random number generator.
float cameraLightIntensity
What should the intensity of the camera light be, specified as a percent of <1, 1,...
Manage a single instance of an object (see.
Manage a single instance of an object.