| 7 | 
  | 
RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1 | 
| 8 | 
  | 
 | 
| 9 | 
  | 
# Image comparison command | 
| 10 | 
< | 
IMG_CMP = radcompare -rms 0.08 -max 1.5 | 
| 10 | 
> | 
IMG_CMP = radcompare -rms 0.07 -max 1.5 | 
| 11 | 
  | 
 | 
| 12 | 
  | 
# Default target is to test everything | 
| 13 | 
< | 
all:    test-xform test-trans2-def test-trans2-fish test-dielectric-def \ | 
| 13 | 
> | 
all:    test-xform \ | 
| 14 | 
> | 
test-mixtex-def test-mixtex-fish test-mixtex-plan tex-mixtex-rplan \ | 
| 15 | 
> | 
test-trans2-def test-trans2-fish test-dielectric-def \ | 
| 16 | 
  | 
test-dielectric-fish test-glass-def test-glass-fish test-glass-up \ | 
| 17 | 
  | 
test-tfunc-def test-tfunc-fish test-inst-def test-inst-fish \ | 
| 18 | 
  | 
test-mesh-def test-mesh-cyl test-mirror-fish test-mist-def \ | 
| 19 | 
< | 
test-trans-def test-trans-fish | 
| 19 | 
> | 
test-trans-def test-trans-fish test-patterns-def test-patterns-plan | 
| 20 | 
  | 
 | 
| 21 | 
  | 
clean: | 
| 22 | 
< | 
        rm -f *.oct *.amb *_ill.dat *_*.hdr *.unf combined.rad | 
| 22 | 
> | 
        rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf combined.rad | 
| 23 | 
  | 
 | 
| 24 | 
  | 
# Special test of xform | 
| 25 | 
  | 
 | 
| 375 | 
  | 
        rad -v   win  trans2.rif | 
| 376 | 
  | 
 | 
| 377 | 
  | 
### End  trans2-win   tests | 
| 378 | 
+ | 
 | 
| 379 | 
+ | 
### Octree for patterns ### | 
| 380 | 
+ | 
 | 
| 381 | 
+ | 
patterns.oct:   patterns.rif | 
| 382 | 
+ | 
        rad -v 0 patterns.rif | 
| 383 | 
+ | 
 | 
| 384 | 
+ | 
### Reference and test for patterns view   def ### | 
| 385 | 
+ | 
 | 
| 386 | 
+ | 
test-patterns-def:      ref/patterns_def.hdr patterns_def.hdr | 
| 387 | 
+ | 
        $(RDU_PFILT) patterns_def.hdr | $(IMG_CMP) ref/patterns_def.hdr - | 
| 388 | 
+ | 
 | 
| 389 | 
+ | 
ref/patterns_def.hdr: | 
| 390 | 
+ | 
        make patterns_def.hdr | 
| 391 | 
+ | 
        $(RDU_PFILT) patterns_def.hdr > ref/patterns_def.hdr | 
| 392 | 
+ | 
 | 
| 393 | 
+ | 
patterns_def.hdr:       patterns.oct | 
| 394 | 
+ | 
        rad -v   def patterns.rif | 
| 395 | 
+ | 
 | 
| 396 | 
+ | 
### End patterns-def   tests | 
| 397 | 
+ | 
 | 
| 398 | 
+ | 
### Reference and test for patterns view   plan ### | 
| 399 | 
+ | 
 | 
| 400 | 
+ | 
test-patterns-plan:     ref/patterns_plan.hdr patterns_plan.hdr | 
| 401 | 
+ | 
        $(RDU_PFILT) patterns_plan.hdr | $(IMG_CMP) ref/patterns_plan.hdr - | 
| 402 | 
+ | 
 | 
| 403 | 
+ | 
ref/patterns_plan.hdr: | 
| 404 | 
+ | 
        make patterns_plan.hdr | 
| 405 | 
+ | 
        $(RDU_PFILT) patterns_plan.hdr > ref/patterns_plan.hdr | 
| 406 | 
+ | 
 | 
| 407 | 
+ | 
patterns_plan.hdr:      patterns.oct | 
| 408 | 
+ | 
        rad -v   plan patterns.rif | 
| 409 | 
+ | 
 | 
| 410 | 
+ | 
### End patterns-plan   tests | 
| 411 | 
+ | 
 | 
| 412 | 
+ | 
### Octree for  mixtex ### | 
| 413 | 
+ | 
 | 
| 414 | 
+ | 
mixtex.oct:     mixtex.rif | 
| 415 | 
+ | 
        rad -v 0  mixtex.rif | 
| 416 | 
+ | 
 | 
| 417 | 
+ | 
### Reference and test for  mixtex view   def ### | 
| 418 | 
+ | 
 | 
| 419 | 
+ | 
test-mixtex-def:        ref/mixtex_def.hdr  mixtex_def.hdr | 
| 420 | 
+ | 
        $(RDU_PFILT)  mixtex_def.hdr | $(IMG_CMP) ref/mixtex_def.hdr - | 
| 421 | 
+ | 
 | 
| 422 | 
+ | 
ref/mixtex_def.hdr: | 
| 423 | 
+ | 
        make  mixtex_def.hdr | 
| 424 | 
+ | 
        $(RDU_PFILT)  mixtex_def.hdr > ref/mixtex_def.hdr | 
| 425 | 
+ | 
 | 
| 426 | 
+ | 
mixtex_def.hdr: mixtex.oct | 
| 427 | 
+ | 
        rad -v   def  mixtex.rif | 
| 428 | 
+ | 
 | 
| 429 | 
+ | 
### End  mixtex-def   tests | 
| 430 | 
+ | 
 | 
| 431 | 
+ | 
### Reference and test for  mixtex view  fish ### | 
| 432 | 
+ | 
 | 
| 433 | 
+ | 
test-mixtex-fish:       ref/mixtex_fish.hdr  mixtex_fish.hdr | 
| 434 | 
+ | 
        $(RDU_PFILT)  mixtex_fish.hdr | $(IMG_CMP) ref/mixtex_fish.hdr - | 
| 435 | 
+ | 
 | 
| 436 | 
+ | 
ref/mixtex_fish.hdr: | 
| 437 | 
+ | 
        make  mixtex_fish.hdr | 
| 438 | 
+ | 
        $(RDU_PFILT)  mixtex_fish.hdr > ref/mixtex_fish.hdr | 
| 439 | 
+ | 
 | 
| 440 | 
+ | 
mixtex_fish.hdr:        mixtex.oct | 
| 441 | 
+ | 
        rad -v  fish  mixtex.rif | 
| 442 | 
+ | 
 | 
| 443 | 
+ | 
### End  mixtex-fish  tests | 
| 444 | 
+ | 
 | 
| 445 | 
+ | 
### Reference and test for  mixtex view  plan ### | 
| 446 | 
+ | 
 | 
| 447 | 
+ | 
test-mixtex-plan:       ref/mixtex_plan.hdr  mixtex_plan.hdr | 
| 448 | 
+ | 
        $(RDU_PFILT)  mixtex_plan.hdr | $(IMG_CMP) ref/mixtex_plan.hdr - | 
| 449 | 
+ | 
 | 
| 450 | 
+ | 
ref/mixtex_plan.hdr: | 
| 451 | 
+ | 
        make  mixtex_plan.hdr | 
| 452 | 
+ | 
        $(RDU_PFILT)  mixtex_plan.hdr > ref/mixtex_plan.hdr | 
| 453 | 
+ | 
 | 
| 454 | 
+ | 
mixtex_plan.hdr:        mixtex.oct | 
| 455 | 
+ | 
        rad -v  plan  mixtex.rif | 
| 456 | 
+ | 
 | 
| 457 | 
+ | 
### End  mixtex-plan  tests | 
| 458 | 
+ | 
 | 
| 459 | 
+ | 
### Reference and test for  mixtex view rplan ### | 
| 460 | 
+ | 
 | 
| 461 | 
+ | 
test-mixtex-rplan:      ref/mixtex_rplan.hdr  mixtex_rplan.hdr | 
| 462 | 
+ | 
        $(RDU_PFILT)  mixtex_rplan.hdr | $(IMG_CMP) ref/mixtex_rplan.hdr - | 
| 463 | 
+ | 
 | 
| 464 | 
+ | 
ref/mixtex_rplan.hdr: | 
| 465 | 
+ | 
        make  mixtex_rplan.hdr | 
| 466 | 
+ | 
        $(RDU_PFILT)  mixtex_rplan.hdr > ref/mixtex_rplan.hdr | 
| 467 | 
+ | 
 | 
| 468 | 
+ | 
mixtex_rplan.hdr:       mixtex.oct | 
| 469 | 
+ | 
        rad -v rplan  mixtex.rif | 
| 470 | 
+ | 
 | 
| 471 | 
+ | 
### End  mixtex-rplan tests |