home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SCN
/
SODA
/
REFLECT.CAL
< prev
next >
Wrap
Text File
|
1993-10-07
|
527b
|
16 lines
{
Calculations for illumination reflected from fluorescent troughers.
Lamp must be along a main axis, and is assumed to be infinite.
The output of the lamp (in watts per meter) is multiplied to get
irradiance.
A1 = Distance from lamp to plane of reflector
A2, A3 = Axis positions for lamp
all values are in inches, hence the conversion to meters
}
xreflect = 39.4*A1/((Py-A2)*(Py-A2) + (Pz-A3)*(Pz-A3));
yreflect = 39.4*A1/((Px-A2)*(Px-A2) + (Pz-A3)*(Pz-A3));
zreflect = 39.4*A1/((Px-A2)*(Px-A2) + (Py-A3)*(Py-A3));