| 10 |  | IMG_CMP = radcompare -rms 0.08 -max 1.5 | 
| 11 |  |  | 
| 12 |  | # Default target is to test everything | 
| 13 | < | all:    test-dielectric-def test-dielectric-fish test-glass-def \ | 
| 14 | < | test-glass-fish test-glass-up test-inst-def test-inst-fish \ | 
| 13 | > | all:    test-xform test-trans2-def test-trans2-fish test-dielectric-def \ | 
| 14 | > | test-dielectric-fish test-glass-def test-glass-fish test-glass-up \ | 
| 15 | > | test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ | 
| 16 |  | test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ | 
| 17 | < | test-tfunc-def test-tfunc-fish test-trans-def test-trans-fish \ | 
| 17 | < | test-trans2-def test-trans2-fish | 
| 17 | > | test-trans-def test-trans-fish test-patterns-def test-mixtex-def | 
| 18 |  |  | 
| 19 |  | clean: | 
| 20 | < | rm -f *.oct *.amb *.dat *_*.hdr *.unf combined.rad | 
| 20 | > | rm -f *.oct *.amb *_ill.dat *_*.hdr *.unf combined.rad | 
| 21 |  |  | 
| 22 |  | # Special test of xform | 
| 23 |  |  | 
| 24 |  | test-xform:     combined_scene.rad | 
| 25 | < | xform -f combined_scene.rad > combined.rad | 
| 25 | > | xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad | 
| 26 |  | radcompare ref/combined.rad combined.rad | 
| 27 |  |  | 
| 28 |  | ### Octree for dielectric ### | 
| 373 |  | rad -v   win  trans2.rif | 
| 374 |  |  | 
| 375 |  | ### End  trans2-win   tests | 
| 376 | + |  | 
| 377 | + | ### Octree for patterns ### | 
| 378 | + |  | 
| 379 | + | patterns.oct:   patterns.rif | 
| 380 | + | rad -v 0 patterns.rif | 
| 381 | + |  | 
| 382 | + | ### Reference and test for patterns view   def ### | 
| 383 | + |  | 
| 384 | + | test-patterns-def:      ref/patterns_def.hdr patterns_def.hdr | 
| 385 | + | $(RDU_PFILT) patterns_def.hdr | $(IMG_CMP) ref/patterns_def.hdr - | 
| 386 | + |  | 
| 387 | + | ref/patterns_def.hdr: | 
| 388 | + | make patterns_def.hdr | 
| 389 | + | $(RDU_PFILT) patterns_def.hdr > ref/patterns_def.hdr | 
| 390 | + |  | 
| 391 | + | patterns_def.hdr:       patterns.oct | 
| 392 | + | rad -v   def patterns.rif | 
| 393 | + |  | 
| 394 | + | ### End patterns-def   tests | 
| 395 | + |  | 
| 396 | + | ### Octree for  mixtex ### | 
| 397 | + |  | 
| 398 | + | mixtex.oct:     mixtex.rif | 
| 399 | + | rad -v 0  mixtex.rif | 
| 400 | + |  | 
| 401 | + | ### Reference and test for  mixtex view   def ### | 
| 402 | + |  | 
| 403 | + | test-mixtex-def:        ref/mixtex_def.hdr  mixtex_def.hdr | 
| 404 | + | $(RDU_PFILT)  mixtex_def.hdr | $(IMG_CMP) ref/mixtex_def.hdr - | 
| 405 | + |  | 
| 406 | + | ref/mixtex_def.hdr: | 
| 407 | + | make  mixtex_def.hdr | 
| 408 | + | $(RDU_PFILT)  mixtex_def.hdr > ref/mixtex_def.hdr | 
| 409 | + |  | 
| 410 | + | mixtex_def.hdr: mixtex.oct | 
| 411 | + | rad -v   def  mixtex.rif | 
| 412 | + |  | 
| 413 | + | ### End  mixtex-def   tests |