ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/mkillum.h
Revision: 2.2
Committed: Sat Feb 22 02:07:24 2003 UTC (21 years, 1 month ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: rad3R5
Changes since 2.1: +1 -4 lines
Log Message:
Changes and check-in for 3.5 release
Includes new source files and modifications not recorded for many years
See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release

File Contents

# User Rev Content
1 greg 2.2 /* RCSid: $Id$ */
2 greg 1.1 /*
3     * Common definitions for mkillum
4     */
5 greg 1.2
6     #include "standard.h"
7    
8     #include "object.h"
9    
10     #include "otypes.h"
11    
12 greg 1.1 /* illum flags */
13 greg 1.3 #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 greg 1.1
18     struct illum_args {
19     int flags; /* flags from list above */
20     char matname[MAXSTR]; /* illum material name */
21     char datafile[MAXSTR]; /* distribution data file name */
22     int dfnum; /* data file number */
23 greg 1.2 char altmat[MAXSTR]; /* alternate material name */
24 greg 1.3 int sampdens; /* point sample density */
25 greg 1.1 int nsamps; /* # of samples in each direction */
26 greg 1.5 float minbrt; /* minimum average brightness */
27 greg 1.4 float col[3]; /* computed average color */
28 greg 1.1 }; /* 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 greg 1.3 float **dest; /* destination for each ray result */
35 greg 1.1 int nrays; /* current length of rtrace buffer */
36     }; /* rtrace process */