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

Comparing ray/src/gen/mkillum.h (file contents):
Revision 1.2 by greg, Tue Jul 23 16:13:27 1991 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:24 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1991 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * Common definitions for mkillum
4   */
# Line 13 | Line 10
10   #include  "otypes.h"
11  
12                                  /* illum flags */
13 < #define  IL_FLAT        0x1             /* flat surface */
14 < #define  IL_LIGHT       0x2             /* light rather than illum */
15 < #define  IL_COLDST      0x4             /* colored distribution */
16 < #define  IL_COLAVG      0x8             /* compute average color */
20 < #define  IL_DATCLB      0x10            /* OK to clobber data file */
13 > #define  IL_LIGHT       0x1             /* light rather than illum */
14 > #define  IL_COLDST      0x2             /* use color distribution */
15 > #define  IL_COLAVG      0x4             /* use average color */
16 > #define  IL_DATCLB      0x8             /* OK to clobber data file */
17  
18   struct illum_args {
19          int     flags;                  /* flags from list above */
# Line 25 | Line 21 | struct illum_args {
21          char    datafile[MAXSTR];       /* distribution data file name */
22          int     dfnum;                  /* data file number */
23          char    altmat[MAXSTR];         /* alternate material name */
24 +        int     sampdens;               /* point sample density */
25          int     nsamps;                 /* # of samples in each direction */
26 <        int     nalt, nazi;             /* # of altitude and azimuth angles */
27 <        FVECT   orient;                 /* coordinate system orientation */
26 >        float   minbrt;                 /* minimum average brightness */
27 >        float   col[3];                 /* computed average color */
28   };                              /* illum options */
29  
30   struct rtproc {
31          int     pd[3];                  /* rtrace pipe descriptors */
32          float   *buf;                   /* rtrace i/o buffer */
33          int     bsiz;                   /* maximum rays for rtrace buffer */
34 +        float   **dest;                 /* destination for each ray result */
35          int     nrays;                  /* current length of rtrace buffer */
36   };                              /* rtrace process */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines