21 |
|
test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ |
22 |
|
test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ |
23 |
|
test-trans-def test-trans-fish test-patterns-def test-patterns-plan \ |
24 |
< |
test-rtrace |
24 |
> |
test-rtrace test-obj2mesh |
25 |
|
|
26 |
|
clean: |
27 |
|
rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \ |
35 |
|
|
36 |
|
### Special test of xform ### |
37 |
|
|
38 |
< |
test-xform: combined_scene.rad |
39 |
< |
xform -f combined_scene.rad | grep -v '^[ ]*#' > combined.rad |
40 |
< |
radcompare -max 0.04 ref/combined.rad combined.rad |
38 |
> |
test-xform: combined.rad |
39 |
> |
radcompare "-c#" -max 0.04 ref/combined.rad combined.rad |
40 |
|
|
41 |
+ |
combined.rad: combined_scene.rad |
42 |
+ |
xform -f combined_scene.rad > combined.rad |
43 |
+ |
|
44 |
|
### Special test of rad ### |
45 |
|
|
46 |
< |
test-rad: inst.rif |
46 |
> |
test-rad: inst.oct |
47 |
|
rad -n -s -e inst.rif > inst_rad.txt |
48 |
|
radcompare ref/inst_rad.txt inst_rad.txt |
49 |
|
|
50 |
< |
### Special test of oconv ### |
50 |
> |
### Special tests of oconv and obj2mesh ### |
51 |
|
|
52 |
|
test-oconv: inst.oct |
53 |
|
radcompare ref/inst.oct inst.oct |
54 |
|
|
55 |
+ |
test-obj2mesh: cab.obj |
56 |
+ |
obj2mesh -w cab.obj | radcompare ref/cab.rtm - |
57 |
+ |
|
58 |
|
### Special test of rtrace ### |
59 |
|
|
60 |
|
test-rtrace: ref/mirror_fish.hdr rtmirror_fish.hdr |
70 |
|
### Special test for rfluxmtx (and rcontrib) ### |
71 |
|
|
72 |
|
test-rfluxmtx: ref/rfmirror.mtx rfmirror.mtx |
73 |
< |
radcompare -max .4 -rms .05 ref/rfmirror.mtx rfmirror.mtx |
73 |
> |
radcompare -max .4 -rms .05 -rel 1e-4 ref/rfmirror.mtx rfmirror.mtx |
74 |
|
|
75 |
|
rfmirror.mtx: mirror.rad dummysky.rad basic.mat diorama_walls.rad \ |
76 |
|
closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad |
311 |
|
|
312 |
|
### Octree for tfunc ### |
313 |
|
|
314 |
< |
tfunc.oct: tfunc.rif |
314 |
> |
tfunc1.oct: tfunc.rif |
315 |
|
rad -v 0 tfunc.rif |
316 |
|
|
317 |
|
### Reference and test for tfunc view def ### |
323 |
|
make tfunc_def.hdr |
324 |
|
$(RDU_PFILT) tfunc_def.hdr > ref/tfunc_def.hdr |
325 |
|
|
326 |
< |
tfunc_def.hdr: tfunc.oct |
326 |
> |
tfunc_def.hdr: tfunc1.oct |
327 |
|
rad -v def tfunc.rif |
328 |
|
|
329 |
|
### End tfunc-def tests |
337 |
|
make tfunc_fish.hdr |
338 |
|
$(RDU_PFILT) tfunc_fish.hdr > ref/tfunc_fish.hdr |
339 |
|
|
340 |
< |
tfunc_fish.hdr: tfunc.oct |
340 |
> |
tfunc_fish.hdr: tfunc1.oct |
341 |
|
rad -v fish tfunc.rif |
342 |
|
|
343 |
|
### End tfunc-fish tests |