![]() |
This class is a singleton, holding configuration parameters for HdEmbree. More...
Static Public Member Functions | |
| static const HdEmbreeConfig & | GetInstance () |
| Return the configuration singleton. More... | |
Public Attributes | |
| unsigned int | samplesToConvergence |
| How many samples do we need before a pixel is considered converged? More... | |
| unsigned int | tileSize |
| How many pixels are in an atomic unit of parallel work? A work item is a square of size [tileSize x tileSize] pixels. More... | |
| unsigned int | ambientOcclusionSamples |
| How many ambient occlusion rays should we generate per camera ray? More... | |
| bool | jitterCamera |
| Should the renderpass jitter camera rays for antialiasing? More... | |
| bool | useFaceColors |
| Should the renderpass use the color primvar, or flat white colors? (Flat white shows off ambient occlusion better). More... | |
| float | cameraLightIntensity |
| What should the intensity of the camera light be, specified as a percent of <1, 1, 1>. More... | |
Friends | |
| class | TfSingleton< HdEmbreeConfig > |
This class is a singleton, holding configuration parameters for HdEmbree.
Everything is provided with a default, but can be overridden using environment variables before launching a hydra process.
Many of the parameters can be used to control quality/performance tradeoffs, or to alter how HdEmbree takes advantage of parallelism.
At startup, this class will print config parameters if HDEMBREE_PRINT_CONFIGURATION is true. Integer values greater than zero are considered "true".
|
static |
Return the configuration singleton.
| unsigned int ambientOcclusionSamples |
| float cameraLightIntensity |
| bool jitterCamera |
| unsigned int samplesToConvergence |
| unsigned int tileSize |
| bool useFaceColors |