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.1 by greg, Thu Feb 2 10:34:19 1989 UTC vs.
Revision 1.3 by greg, Wed Jun 7 08:40:24 1989 UTC

# Line 30 | Line 30 | typedef struct {
30   #define  MAT_MIN        (OBJ_MIN+OBJ_CNT)
31   #define  MAT_LIGHT      (MAT_MIN+0)     /* primary light source */
32   #define  MAT_ILLUM      (MAT_MIN+1)     /* secondary light source */
33 < #define  MAT_GLOW       (MAT_MIN+2)     /* proximity light source */
34 < #define  MAT_SPOT       (MAT_MIN+3)     /* spot light source */
35 < #define  MAT_PLASTIC    (MAT_MIN+4)     /* plastic surface */
36 < #define  MAT_METAL      (MAT_MIN+5)     /* metal surface */
37 < #define  MAT_TRANS      (MAT_MIN+6)     /* translucent material */
38 < #define  MAT_DIELECTRIC (MAT_MIN+7)     /* dielectric material */
39 < #define  MAT_INTERFACE  (MAT_MIN+8)     /* dielectric interface */
40 < #define  MAT_GLASS      (MAT_MIN+9)     /* thin glass surface */
41 < #define  MAT_CLIP       (MAT_MIN+10)    /* clipping surface */
42 < #define  MAT_CNT        11
33 > #define  MAT_GLOW       (MAT_MIN+2)     /* emmissive non-source */
34 > #define  MAT_PLASTIC    (MAT_MIN+3)     /* plastic surface */
35 > #define  MAT_METAL      (MAT_MIN+4)     /* metal surface */
36 > #define  MAT_TRANS      (MAT_MIN+5)     /* translucent material */
37 > #define  MAT_DIELECTRIC (MAT_MIN+6)     /* dielectric material */
38 > #define  MAT_INTERFACE  (MAT_MIN+7)     /* dielectric interface */
39 > #define  MAT_GLASS      (MAT_MIN+8)     /* thin glass surface */
40 > #define  MAT_CLIP       (MAT_MIN+9)     /* clipping surface */
41 > #define  MAT_CNT        10
42                                  /* textures and patterns */
43   #define  TP_MIN         (MAT_MIN+MAT_CNT)
44   #define  TEX_FUNC       (TP_MIN+0)      /* surface texture function */
45 < #define  PAT_CFUNC      (TP_MIN+1)      /* color function */
46 < #define  PAT_BFUNC      (TP_MIN+2)      /* brightness function */
47 < #define  PAT_CPICT      (TP_MIN+3)      /* color picture */
48 < #define  PAT_CDATA      (TP_MIN+4)      /* color data */
49 < #define  PAT_BDATA      (TP_MIN+5)      /* brightness data */
50 < #define  PAT_CTEXT      (TP_MIN+6)      /* colored text */
51 < #define  PAT_BTEXT      (TP_MIN+7)      /* monochromatic text */
52 < #define  MIX_FUNC       (TP_MIN+8)      /* mixing function */
53 < #define  MIX_DATA       (TP_MIN+9)      /* mixing data */
54 < #define  MIX_TEXT       (TP_MIN+10)     /* mixing text */
55 < #define  TP_CNT         11
45 > #define  TEX_DATA       (TP_MIN+1)      /* surface texture data */
46 > #define  PAT_CFUNC      (TP_MIN+2)      /* color function */
47 > #define  PAT_BFUNC      (TP_MIN+3)      /* brightness function */
48 > #define  PAT_CPICT      (TP_MIN+4)      /* color picture */
49 > #define  PAT_CDATA      (TP_MIN+5)      /* color data */
50 > #define  PAT_BDATA      (TP_MIN+6)      /* brightness data */
51 > #define  PAT_CTEXT      (TP_MIN+7)      /* colored text */
52 > #define  PAT_BTEXT      (TP_MIN+8)      /* monochromatic text */
53 > #define  MIX_FUNC       (TP_MIN+9)      /* mixing function */
54 > #define  MIX_DATA       (TP_MIN+10)     /* mixing data */
55 > #define  MIX_TEXT       (TP_MIN+11)     /* mixing text */
56 > #define  TP_CNT         12
57   #define  MOD_CNT        (MAT_CNT+TP_CNT)
58                                  /* number of object types */
59   #define  NUMOTYPE       (OBJ_CNT+MAT_CNT+TP_CNT)
# Line 73 | Line 73 | extern int  m_normal();
73   extern int  m_dielectric();
74   extern int  m_glass();
75   extern int  m_clip();
76 < extern int  t_func();
76 > extern int  t_func(), t_data();
77   extern int  p_cfunc(), p_bfunc();
78   extern int  p_pdata(), p_cdata(), p_bdata();
79   extern int  mx_func(), mx_data();
# Line 92 | Line 92 | extern int  text();
92                          { "light", m_light }, \
93                          { "illum", m_light }, \
94                          { "glow", m_light }, \
95                        { "spotlight", m_light }, \
95                          { "plastic", m_normal }, \
96                          { "metal", m_normal }, \
97                          { "trans", m_normal }, \
# Line 101 | Line 100 | extern int  text();
100                          { "glass", m_glass }, \
101                          { "antimatter", m_clip }, \
102                          { "texfunc", t_func }, \
103 +                        { "texdata", t_data }, \
104                          { "colorfunc", p_cfunc }, \
105                          { "brightfunc", p_bfunc }, \
106                          { "colorpict", p_pdata }, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines