BRL-CAD
shadework Struct Reference

#include <shadework.h>

Collaboration diagram for shadework:
[legend]

Data Fields

fastf_t sw_transmit
 0.0 -> 1.0 More...
 
fastf_t sw_reflect
 0.0 -> 1.0 More...
 
fastf_t sw_extinction
 extinction coeff, mm^-1 More...
 
fastf_t sw_refrac_index
 refactive index More...
 
fastf_t sw_temperature
 color temperature More...
 
fastf_t sw_color [3]
 shaded color More...
 
fastf_t sw_basecolor [3]
 base color More...
 
struct hit sw_hit
 ray hit (dist, point, normal) More...
 
struct uvcoord sw_uv
 
fastf_t sw_intensity [3 *SW_NLIGHTS]
 light intensities More...
 
fastf_t sw_tolight [3 *SW_NLIGHTS]
 light directions More...
 
struct light_specificsw_visible [SW_NLIGHTS]
 visibility flags/ptrs More...
 
fastf_t sw_lightfract [SW_NLIGHTS]
 % light visible More...
 
int sw_xmitonly
 flag: need sw_transmit only More...
 
int sw_inputs
 fields from mf_inputs actually filled More...
 
int sw_frame
 # of current frame More...
 
struct segsw_segs
 segs which made partition More...
 

Detailed Description

Definition at line 39 of file shadework.h.

Field Documentation

◆ sw_transmit

fastf_t sw_transmit

0.0 -> 1.0

Definition at line 40 of file shadework.h.

◆ sw_reflect

fastf_t sw_reflect

0.0 -> 1.0

Definition at line 41 of file shadework.h.

◆ sw_extinction

fastf_t sw_extinction

extinction coeff, mm^-1

Definition at line 42 of file shadework.h.

◆ sw_refrac_index

fastf_t sw_refrac_index

refactive index

Definition at line 43 of file shadework.h.

◆ sw_temperature

fastf_t sw_temperature

color temperature

Definition at line 44 of file shadework.h.

◆ sw_color

fastf_t sw_color[3]

shaded color

Definition at line 45 of file shadework.h.

◆ sw_basecolor

fastf_t sw_basecolor[3]

base color

Definition at line 46 of file shadework.h.

◆ sw_hit

struct hit sw_hit

ray hit (dist, point, normal)

Definition at line 47 of file shadework.h.

◆ sw_uv

struct uvcoord sw_uv

Definition at line 48 of file shadework.h.

◆ sw_intensity

fastf_t sw_intensity[3 *SW_NLIGHTS]

light intensities

Definition at line 49 of file shadework.h.

◆ sw_tolight

fastf_t sw_tolight[3 *SW_NLIGHTS]

light directions

Definition at line 50 of file shadework.h.

◆ sw_visible

struct light_specific* sw_visible[SW_NLIGHTS]

visibility flags/ptrs

Definition at line 51 of file shadework.h.

◆ sw_lightfract

fastf_t sw_lightfract[SW_NLIGHTS]

% light visible

Definition at line 52 of file shadework.h.

◆ sw_xmitonly

int sw_xmitonly

flag: need sw_transmit only

Definition at line 53 of file shadework.h.

◆ sw_inputs

int sw_inputs

fields from mf_inputs actually filled

Definition at line 54 of file shadework.h.

◆ sw_frame

int sw_frame

# of current frame

Definition at line 55 of file shadework.h.

◆ sw_segs

struct seg* sw_segs

segs which made partition

Definition at line 56 of file shadework.h.


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