#include <c4d_raytrace.h>
Member Data Documentation
Global point.
◆
bumpn
Bump normal.
◆
phongn
Phong normal.
◆
orign
Original normal.
◆
ray_vector
Ray
vector.
◆
specular_exponent
Specular exponent.
◆
receive_gi
Receive GI.
◆
receive_caustics
Receive caustics.
◆
cosine_cutoff
Defines whether the calculation shall check for light/camera being on the same side or not.
若
false
illumination model samples the light from all directions. If
true
illumination model samples like it was a surface point.
若
true
, add special code for the area light handling (as the light/camera situation is different for every subsample of an area light). That is where the call
VolumeData::CalcArea()
is necessary.
◆
calc_shadow
Enables shadow calculation.
◆
raybits
Ray
bits:
RAYBIT
.
◆
lhit
Global
RayHitID
structure for the surface intersection (to avoid self shadowing).
Can be set to
RayHitID()
if you do not have the current
RayHitID
.
◆
local_mat
The material where all the GI and caustic properties are taken from.
◆
model
The custom illumination model.
◆
customdata
Custom data for the illumination model.