SurfaceData Struct Reference

#include <c4d_raytrace.h>

Detailed Description

Public Attributes

Vector col
 
Vector refl
 
Vector trans
 
Float alpha
 
Ray rray
 
Ray tray
 
Vector64 bumpn
 
Float cs_generate_strength
 
Float cs_receive_strength
 
Vector comp_color
 
Vector comp_specular
 
Vector comp_luminance
 

Member Data Documentation

◆ col

Vector col

The surface color at a point.

◆ refl

Vector refl

The reflection color. Note the result of the reflection ray is not part of this color.

◆ trans

Vector trans

The transparency color. Note the result of the transparent ray is not part of this color.

◆ alpha

Float alpha

Obsolete.

◆ rray

Ray rray

The reflected ray.

◆ tray

Ray tray

The transmitted ray.

◆ bumpn

Vector64 bumpn

The bump normal.

◆ cs_generate_strength

Float cs_generate_strength

This is the "caustic generation strength value" for the surface point.
The user can adjust this value in the material, it determines when caustic photons hit the surface point how strong caustics will be generated.

◆ cs_receive_strength

Float cs_receive_strength

This is the "caustics receive value" for the surface point.

◆ comp_color

Vector comp_color

The diffuse component of the color.

◆ comp_specular

Vector comp_specular

The specular component of the color.

◆ comp_luminance

Vector comp_luminance

The luminance component of the color.