ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/mkillum.h
Revision: 1.2
Committed: Tue Jul 23 16:13:27 1991 UTC (32 years, 8 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.1: +8 -1 lines
Log Message:
*** empty log message ***

File Contents

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