1.3.77
 
Loading...
Searching...
No Matches
PerRayData Struct Reference

Data Fields

double strength
 Ray energy.
 
uint origin_UUID
 UUID of origin primitive (0 = launched from source/camera)
 
bool face
 Top face = true, bottom face = false.
 
uint seed
 LCG random seed.
 
unsigned char source_ID
 Source index (max 255 sources)
 
bool hit_periodic_boundary
 
float3 periodic_hit
 
float cover_transmittance [HELIOS_MAX_RADIATION_BANDS]
 

Detailed Description

Definition at line 47 of file OptiX8LaunchParams.h.

Field Documentation

◆ cover_transmittance

float PerRayData::cover_transmittance[HELIOS_MAX_RADIATION_BANDS]

Per-launch-band transmittance accumulated as the ray passes through translucent covers (glass/plastic). Initialised to 1 in the raygen programs; multiplied by the Fresnel+Bouguer tau(theta) in the any-hit programs; consumed in the miss programs. Indexed by launch-band b.

Definition at line 58 of file OptiX8LaunchParams.h.

◆ face

bool PerRayData::face

Top face = true, bottom face = false.

Definition at line 50 of file OptiX8LaunchParams.h.

◆ hit_periodic_boundary

bool PerRayData::hit_periodic_boundary

Definition at line 53 of file OptiX8LaunchParams.h.

◆ origin_UUID

uint PerRayData::origin_UUID

UUID of origin primitive (0 = launched from source/camera)

Definition at line 49 of file OptiX8LaunchParams.h.

◆ periodic_hit

float3 PerRayData::periodic_hit

World-space hit on the periodic wall

Definition at line 54 of file OptiX8LaunchParams.h.

◆ seed

uint PerRayData::seed

LCG random seed.

Definition at line 51 of file OptiX8LaunchParams.h.

◆ source_ID

unsigned char PerRayData::source_ID

Source index (max 255 sources)

Definition at line 52 of file OptiX8LaunchParams.h.

◆ strength

double PerRayData::strength

Ray energy.

Definition at line 48 of file OptiX8LaunchParams.h.


The documentation for this struct was generated from the following file: