3 |
|
# Render and primitive type testing |
4 |
|
# |
5 |
|
|
6 |
+ |
# Number of processes to use on tests that test multi-core |
7 |
+ |
NPROC = 2 |
8 |
+ |
|
9 |
|
# Image reduction for comparisons |
10 |
|
RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1 |
11 |
|
|
39 |
|
|
40 |
|
rtmirror_fish.hdr: mirror.oct |
41 |
|
rad -v 0 mirror.rif OPT=mirror.opt |
42 |
< |
vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n 2 @mirror.opt \ |
42 |
> |
vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n $(NPROC) @mirror.opt \ |
43 |
|
-ffc -x 2048 -y 2048 mirror.oct | pfilt -1 -e +3 -r .6 -x /2 -y /2 \ |
44 |
|
> rtmirror_fish.hdr |
45 |
|
rm -f mirror.opt |
51 |
|
|
52 |
|
rfmirror.mtx: mirror.rad dummysky.rad basic.mat diorama_walls.rad \ |
53 |
|
closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad |
54 |
< |
rfluxmtx -ab 2 -lw 1e-4 mirror.rad dummysky.rad basic.mat \ |
55 |
< |
diorama_walls.rad closed_end.rad front_cap.rad glass_pane.rad \ |
56 |
< |
antimatter_portal.rad > rfmirror.mtx |
54 |
> |
rfluxmtx -n $(NPROC) -ab 2 -lw 1e-4 mirror.rad dummysky.rad \ |
55 |
> |
basic.mat diorama_walls.rad closed_end.rad front_cap.rad \ |
56 |
> |
glass_pane.rad antimatter_portal.rad > rfmirror.mtx |
57 |
|
|
58 |
|
### Octree for dielectric ### |
59 |
|
|