Description

The parameters needed to define a camera.

#include <ChOptixDefinitions.h>

Public Attributes

float hFOV
 horizontal field of view
 
float gamma
 camera's gamma value
 
half4 * frame_buffer
 buffer of camera pixels
 
bool use_gi
 whether to use global illumination
 
half4 * albedo_buffer
 the material color of the first hit. Only initialized if using global illumination
 
half4 * normal_buffer
 The screen-space normal of the first hit. More...
 
curandState_t * rng_buffer
 The random number generator object. Only initialized if using global illumination.
 

Member Data Documentation

◆ normal_buffer

half4* CameraParameters::normal_buffer

The screen-space normal of the first hit.

Only initialized if using global illumination (screenspace normal)


The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_sensor/optix/ChOptixDefinitions.h