ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/initotypes.c
(Generate patch)

Comparing ray/src/rt/initotypes.c (file contents):
Revision 1.1 by greg, Thu Dec 13 10:44:17 1990 UTC vs.
Revision 1.4 by greg, Tue May 7 15:57:01 1991 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  "otypes.h"
14  
15 + #include  "otspecial.h"
16 +
17   extern int  o_sphere();
18   extern int  o_face();
19   extern int  o_cone();
# Line 49 | Line 51 | initotypes()                   /* initialize ofun array */
51          ofun[MAT_PLASTIC].funp =
52          ofun[MAT_METAL].funp =
53          ofun[MAT_TRANS].funp = m_normal;
54 +        ofun[MAT_TRANS].flags |= T_IRR_IGN;
55          ofun[MAT_DIELECTRIC].funp =
56          ofun[MAT_INTERFACE].funp = m_dielectric;
57 +        ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN;
58 +        ofun[MAT_INTERFACE].flags |= T_IRR_IGN;
59          ofun[MAT_GLASS].funp = m_glass;
60 +        ofun[MAT_GLASS].flags |= T_IRR_IGN;
61          ofun[MAT_CLIP].funp = m_clip;
62          ofun[MAT_PFUNC].funp =
63          ofun[MAT_MFUNC].funp =
64          ofun[MAT_PDATA].funp =
65 <        ofun[MAT_MDATA].funp = m_brdf;
65 >        ofun[MAT_MDATA].funp =
66 >        ofun[MAT_TFUNC].funp =
67 >        ofun[MAT_BRTDF].funp =
68 >        ofun[MAT_TDATA].funp = m_brdf;
69          ofun[TEX_FUNC].funp = t_func;
70          ofun[TEX_DATA].funp = t_data;
71          ofun[PAT_CFUNC].funp = p_cfunc;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines