| 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 \ |
| 36 |
|
### Special test of xform ### |
| 37 |
|
|
| 38 |
|
test-xform: combined.rad |
| 39 |
< |
radcompare -max 0.04 ref/combined.rad 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 | grep -v '^[ ]*#' > combined.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 |
| 377 |
|
|
| 378 |
|
### Octree for trans2 ### |
| 379 |
|
|
| 380 |
< |
trans2.oct: trans2.rif |
| 380 |
> |
trans21.oct: trans2.rif |
| 381 |
|
rad -v 0 trans2.rif |
| 382 |
|
|
| 383 |
|
### Reference and test for trans2 view def ### |
| 389 |
|
make trans2_def.hdr |
| 390 |
|
$(RDU_PFILT) trans2_def.hdr > ref/trans2_def.hdr |
| 391 |
|
|
| 392 |
< |
trans2_def.hdr: trans2.oct |
| 392 |
> |
trans2_def.hdr: trans21.oct |
| 393 |
|
rad -v def trans2.rif |
| 394 |
|
|
| 395 |
|
### End trans2-def tests |
| 403 |
|
make trans2_fish.hdr |
| 404 |
|
$(RDU_PFILT) trans2_fish.hdr > ref/trans2_fish.hdr |
| 405 |
|
|
| 406 |
< |
trans2_fish.hdr: trans2.oct |
| 406 |
> |
trans2_fish.hdr: trans21.oct |
| 407 |
|
rad -v fish trans2.rif |
| 408 |
|
|
| 409 |
|
### End trans2-fish tests |
| 417 |
|
make trans2_win.hdr |
| 418 |
|
$(RDU_PFILT) trans2_win.hdr > ref/trans2_win.hdr |
| 419 |
|
|
| 420 |
< |
trans2_win.hdr: trans2.oct |
| 420 |
> |
trans2_win.hdr: trans21.oct |
| 421 |
|
rad -v win trans2.rif |
| 422 |
|
|
| 423 |
|
### End trans2-win tests |