ftp.nice.ch/pub/next/unix/graphics/rayshade.4.0.s.tar.gz#/rayshade.4.0/rayshade/defaults.h

This is defaults.h in view mode; [Download] [Up]

/*
 * defaults.h
 *
 * Copyright (C) 1989, 1991, Craig E. Kolb
 * All rights reserved.
 *
 * This software may be freely copied, modified, and redistributed
 * provided that this copyright notice is preserved on all copies.
 *
 * You may not distribute this software, in whole or in part, as part of
 * any commercial product without the express consent of the authors.
 *
 * There is no warranty or other guarantee of fitness of this software
 * for any purpose.  It is provided solely "as is".
 *
 * $Id$
 *
 * $Log$
 */
#ifndef DEFAULTS_H
#define DEFAULTS_H

#define DEFJITSAMPLES	4	/* sqrt of number of jittered samples */

#define XRESOLUTION	512		/* Default screen size (pixels) */
#define YRESOLUTION	512
#define DEFCUTOFF	0.001		/* Default tree cutoff value */
#define MAXDEPTH	5		/* Maximum ray tree depth. */
#define PIXEL_DIV	2		/* Maximum pixel subdivision factor */
#define HFOV		45		/* Field-of-view */
#define EYEX		0		/* Eye position */
#define EYEY		-10
#define EYEZ		0
#define LOOKX		0		/* Look point */
#define LOOKY		0
#define LOOKZ		0
#define UPX		0		/* Up vector */
#define UPY		0
#define UPZ		1
#define GAMMA		1.		/* Default gamma */

#if defined(LINDA) && !defined(WORKERS)
#define WORKERS		4		/* Default # of workers. */
#endif

#define REPORTFREQ	10		/* Frequency of status report */

#define DEFREDCONT	0.25		/* Default contrast threshold values. */
#define DEFGREENCONT	0.2
#define DEFBLUECONT	0.4

#endif /* DEFAULTS_H */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.