PerRayData_phys_camera Struct Reference

Description

Data associated with a single physics-based camera ray.

#include <ChOptixDefinitions.h>

Inheritance diagram for PerRayData_phys_camera:
Collaboration diagram for PerRayData_phys_camera:

Public Attributes

float distance
 the distance from the camera to the first hit
 
- Public Attributes inherited from PerRayData_camera
float3 color
 color packed on the ray
 
float3 contrib_to_pixel
 the current contribution to the pixel
 
curandState_t rng
 a random number generator. Only valid if use_gi is true
 
int depth
 the current depth of the ray
 
bool use_gi
 whether global illumination is on
 
float3 albedo
 the albed of the first hit
 
float3 normal
 the global normal of the first hit
 
bool use_fog
 whether to use fog on this prd
 
float transparency
 the transparency of the pixel
 
Integrator integrator
 tthe integrator algorithm to use for rendering
 

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