1 |
< |
/* Copyright (c) 1992 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1994 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
61 |
|
double specthresh = .15; /* specular sampling threshold */ |
62 |
|
double specjitter = 1.; /* specular sampling jitter */ |
63 |
|
|
64 |
+ |
int backvis = 1; /* back face visibility */ |
65 |
+ |
|
66 |
|
int maxdepth = 6; /* maximum recursion depth */ |
67 |
|
double minweight = 4e-3; /* minimum ray weight */ |
68 |
|
|
245 |
|
{ |
246 |
|
VCOPY(thisray.rorg, org); |
247 |
|
VCOPY(thisray.rdir, dir); |
248 |
+ |
thisray.rmax = 0.0; |
249 |
|
rayorigin(&thisray, NULL, PRIMARY, 1.0); |
250 |
|
if (castonly) |
251 |
|
localhit(&thisray, &thescene) || sourcehit(&thisray); |