home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SRC
/
GEN
/
MKILLUM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-07
|
1KB
|
40 lines
/* Copyright (c) 1991 Regents of the University of California */
/* SCCSid "@(#)mkillum.h 2.1 11/12/91 LBL" */
/*
* Common definitions for mkillum
*/
#include "standard.h"
#include "object.h"
#include "otypes.h"
/* illum flags */
#define IL_LIGHT 0x1 /* light rather than illum */
#define IL_COLDST 0x2 /* use color distribution */
#define IL_COLAVG 0x4 /* use average color */
#define IL_DATCLB 0x8 /* OK to clobber data file */
struct illum_args {
int flags; /* flags from list above */
char matname[MAXSTR]; /* illum material name */
char datafile[MAXSTR]; /* distribution data file name */
int dfnum; /* data file number */
char altmat[MAXSTR]; /* alternate material name */
int sampdens; /* point sample density */
int nsamps; /* # of samples in each direction */
float minbrt; /* minimum average brightness */
float col[3]; /* computed average color */
}; /* illum options */
struct rtproc {
int pd[3]; /* rtrace pipe descriptors */
float *buf; /* rtrace i/o buffer */
int bsiz; /* maximum rays for rtrace buffer */
float **dest; /* destination for each ray result */
int nrays; /* current length of rtrace buffer */
}; /* rtrace process */