SurfaceData Struct Reference

#include <c4d_raytrace.h>

详细描述

Filled by VolumeData::GetSurfaceData() .

Public Attributes

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

Member Data Documentation

◆  col

向量 col

The surface color at a point.

◆  refl

向量 refl

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

◆  trans

向量 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

向量 comp_color

The diffuse component of the color.

◆  comp_specular

向量 comp_specular

The specular component of the color.

◆  comp_luminance

向量 comp_luminance

The luminance component of the color.