ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/otypes.h
(Generate patch)

Comparing ray/src/common/otypes.h (file contents):
Revision 1.7 by greg, Thu Dec 13 11:41:31 1990 UTC vs.
Revision 1.9 by greg, Tue May 7 11:02:15 1991 UTC

# Line 40 | Line 40 | typedef struct {
40   #define  MAT_LIGHT      23              /* primary light source */
41   #define  MAT_ILLUM      24              /* secondary light source */
42   #define  MAT_GLOW       25              /* proximity light source */
43 < #define  MAT_PDATA      26              /* plastic brdf data */
44 < #define  MAT_MDATA      27              /* metal brdf data */
45 < #define  MAT_SPOT       28              /* spot light source */
46 < #define  PAT_CFUNC      29              /* color function */
47 < #define  MAT_CLIP       30              /* clipping surface */
48 < #define  PAT_CDATA      31              /* color data */
49 < #define  PAT_CTEXT      32              /* colored text */
50 < #define  TEX_DATA       33              /* surface texture data */
51 < #define  MIX_FUNC       34              /* mixing function */
52 < #define  MIX_DATA       35              /* mixing data */
53 < #define  MIX_TEXT       36              /* mixing text */
43 > #define  MAT_BRTDF      26              /* brtd function */
44 > #define  MAT_PDATA      27              /* plastic brdf data */
45 > #define  MAT_MDATA      28              /* metal brdf data */
46 > #define  MAT_SPOT       29              /* spot light source */
47 > #define  PAT_CFUNC      30              /* color function */
48 > #define  MAT_CLIP       31              /* clipping surface */
49 > #define  PAT_CDATA      32              /* color data */
50 > #define  PAT_CTEXT      33              /* colored text */
51 > #define  TEX_DATA       34              /* surface texture data */
52 > #define  MIX_FUNC       35              /* mixing function */
53 > #define  MIX_DATA       36              /* mixing data */
54 > #define  MIX_TEXT       37              /* mixing text */
55                                  /* number of object types */
56 < #define  NUMOTYPE       37
56 > #define  NUMOTYPE       38
57                                  /* type flags */
58   #define  T_S            01              /* surface (object) */
59   #define  T_M            02              /* material */
# Line 65 | Line 66 | typedef struct {
66   #define  T_D            0400            /* data */
67   #define  T_I            01000           /* picture */
68   #define  T_E            02000           /* text */
69 +                                /* user-defined types */
70 + #define  T_SP1          010000
71 + #define  T_SP2          020000
72 + #define  T_SP3          040000
73  
74   extern FUN  ofun[];                     /* our type list */
75  
# Line 106 | Line 111 | extern int  o_default();
111                                  { "light",      T_M|T_L,        o_default }, \
112                                  { "illum",      T_M|T_L,        o_default }, \
113                                  { "glow",       T_M|T_L,        o_default }, \
114 +                                { "BRTDfunc",   T_M|T_F,        o_default }, \
115                                  { "plasdata",   T_M|T_D,        o_default }, \
116                                  { "metdata",    T_M|T_D,        o_default }, \
117                                  { "spotlight",  T_M|T_L,        o_default }, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines