14 |
|
with a rectangular box. lboxcorr provides a more |
15 |
|
accurate calculation for nearby surfaces, but requires |
16 |
|
that the source box be centered at the origin. |
17 |
+ |
The dimensions of the box, which must be aligned with |
18 |
+ |
the x,y,z axes, are given in meters regardless of the |
19 |
+ |
units being used in the scene file. |
20 |
|
|
21 |
|
A1 - optional multipier |
22 |
< |
A2,A3,A4 - X,Y,Z dimensions of axis-aligned box |
22 |
> |
A2,A3,A4 - X,Y,Z dimensions of axis-aligned box (in meters!) |
23 |
|
} |
24 |
|
{ local definitions } |
25 |
|
boxprojection = abs(Dx)*A3*A4 + abs(Dy)*A2*A4 + abs(Dz)*A2*A3; |