Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::Bsdf_sample_data Struct Reference

Input and output structure for BSDF sampling data. More...

Public Attributes

tct_float3 ior1
 IOR current medium. More...
 
tct_float3 ior2
 IOR other side. More...
 
tct_float3 k1
 outgoing direction More...
 
tct_float3 xi
 pseudo-random sample number More...
 
tct_float3 k2
 incoming direction More...
 
tct_float pdf
 pdf (non-projected hemisphere) More...
 
tct_float3 bsdf_over_pdf
 bsdf * dot(normal, k2) / pdf More...
 
Bsdf_event_type event_type
 the type of event for the generated sample More...
 

Detailed Description

Input and output structure for BSDF sampling data.

Member Data Documentation

tct_float3 mi::neuraylib::Bsdf_sample_data::bsdf_over_pdf

bsdf * dot(normal, k2) / pdf

Bsdf_event_type mi::neuraylib::Bsdf_sample_data::event_type

the type of event for the generated sample

tct_float3 mi::neuraylib::Bsdf_sample_data::ior1

IOR current medium.

tct_float3 mi::neuraylib::Bsdf_sample_data::ior2

IOR other side.

tct_float3 mi::neuraylib::Bsdf_sample_data::k1

outgoing direction

tct_float3 mi::neuraylib::Bsdf_sample_data::k2

incoming direction

tct_float mi::neuraylib::Bsdf_sample_data::pdf

pdf (non-projected hemisphere)

tct_float3 mi::neuraylib::Bsdf_sample_data::xi

pseudo-random sample number