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 2.18 by greg, Fri Sep 3 23:53:50 2010 UTC vs.
Revision 2.19 by greg, Sat Oct 13 20:15:43 2012 UTC

# Line 7 | Line 7
7  
8   #include  "ray.h"
9   #include  "otypes.h"
10 #include  "bsdf.h"
10   #include  "random.h"
11  
12   #ifdef __cplusplus
# Line 21 | Line 20 | extern "C" {
20  
21   struct illum_args {
22          int     flags;                  /* flags from list above */
24        UpDir   udir;                   /* up direction */
23          double  thick;                  /* object thickness */
24          char    matname[MAXSTR];        /* illum material name */
25          char    datafile[MAXSTR];       /* distribution data file name */
# Line 29 | Line 27 | struct illum_args {
27          char    altmat[MAXSTR];         /* alternate material name */
28          int     sampdens;               /* point sample density */
29          int     nsamps;                 /* # of samples in each direction */
32        struct BSDF_data
33                *sd;                    /* scattering data (if set) */
30          float   minbrt;                 /* minimum average brightness */
31          COLOR   col;                    /* computed average color */
32   };                              /* illum options */
33  
38 extern void redistribute(struct BSDF_data *b, int nalt, int nazi,
39                                FVECT u, FVECT v, FVECT w, MAT4 xm);
40
34   extern void printobj(char *mod, OBJREC *obj);
35   extern int average(struct illum_args *il, COLORV *da, int n);
36   extern void flatout(struct illum_args *il, COLORV *da, int n, int m,
# Line 53 | Line 46 | extern void rayclean(void);
46   extern void flatdir(FVECT  dv, double  alt, double  azi);
47   extern int flatindex(FVECT dv, int nalt, int nazi);
48  
56 extern int printgeom(struct BSDF_data *sd, char *xfrot,
57                        FVECT ctr, double s1, double s2);
58
49   extern int my_default(OBJREC *, struct illum_args *, char *);
50   extern int my_face(OBJREC *, struct illum_args *, char *);
51   extern int my_sphere(OBJREC *, struct illum_args *, char *);
# Line 63 | Line 53 | extern int my_ring(OBJREC *, struct illum_args *, char
53  
54   extern COLORV * distarr;                /* distribution array */
55   extern int      distsiz;
66 extern COLORV * direct_discount;        /* amount to take off direct */
56  
57   extern char     *progname;
58  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines