ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/Makefile
(Generate patch)

Comparing ray/test/renders/Makefile (file contents):
Revision 1.6 by greg, Tue Nov 20 02:58:24 2018 UTC vs.
Revision 1.14 by greg, Fri Jan 4 18:52:06 2019 UTC

# Line 7 | Line 7
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 test-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 \
23 > *.[cg]pm{,.leaf} combined.rad
24  
25   # Special test of xform
26  
27   test-xform:     combined_scene.rad
28          xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad
29 <        radcompare ref/combined.rad combined.rad
29 >        radcompare -max 0.04 ref/combined.rad combined.rad
30  
31   ### Octree for dielectric ###
32  
# Line 373 | Line 376 | trans2_win.hdr:        trans2.oct
376          rad -v   win  trans2.rif
377  
378   ### End  trans2-win   tests
379 +
380 + ### Octree for patterns ###
381 +
382 + patterns.oct:   patterns.rif
383 +        rad -v 0 patterns.rif
384 +
385 + ### Reference and test for patterns view   def ###
386 +
387 + test-patterns-def:      ref/patterns_def.hdr patterns_def.hdr
388 +        $(RDU_PFILT) patterns_def.hdr | $(IMG_CMP) ref/patterns_def.hdr -
389 +
390 + ref/patterns_def.hdr:
391 +        make patterns_def.hdr
392 +        $(RDU_PFILT) patterns_def.hdr > ref/patterns_def.hdr
393 +
394 + patterns_def.hdr:       patterns.oct
395 +        rad -v   def patterns.rif
396 +
397 + ### End patterns-def   tests
398 +
399 + ### Reference and test for patterns view   plan ###
400 +
401 + test-patterns-plan:     ref/patterns_plan.hdr patterns_plan.hdr
402 +        $(RDU_PFILT) patterns_plan.hdr | $(IMG_CMP) ref/patterns_plan.hdr -
403 +
404 + ref/patterns_plan.hdr:
405 +        make patterns_plan.hdr
406 +        $(RDU_PFILT) patterns_plan.hdr > ref/patterns_plan.hdr
407 +
408 + patterns_plan.hdr:      patterns.oct
409 +        rad -v   plan patterns.rif
410 +
411 + ### End patterns-plan   tests
412 +
413 + ### Octree for  mixtex ###
414 +
415 + mixtex.oct:     mixtex.rif
416 +        rad -v 0  mixtex.rif
417 +
418 + ### Reference and test for  mixtex view   def ###
419 +
420 + test-mixtex-def:        ref/mixtex_def.hdr  mixtex_def.hdr
421 +        $(RDU_PFILT)  mixtex_def.hdr | $(IMG_CMP) ref/mixtex_def.hdr -
422 +
423 + ref/mixtex_def.hdr:
424 +        make  mixtex_def.hdr
425 +        $(RDU_PFILT)  mixtex_def.hdr > ref/mixtex_def.hdr
426 +
427 + mixtex_def.hdr: mixtex.oct
428 +        rad -v   def  mixtex.rif
429 +
430 + ### End  mixtex-def   tests
431 +
432 + ### Reference and test for  mixtex view  fish ###
433 +
434 + test-mixtex-fish:       ref/mixtex_fish.hdr  mixtex_fish.hdr
435 +        $(RDU_PFILT)  mixtex_fish.hdr | $(IMG_CMP) ref/mixtex_fish.hdr -
436 +
437 + ref/mixtex_fish.hdr:
438 +        make  mixtex_fish.hdr
439 +        $(RDU_PFILT)  mixtex_fish.hdr > ref/mixtex_fish.hdr
440 +
441 + mixtex_fish.hdr:        mixtex.oct
442 +        rad -v  fish  mixtex.rif
443 +
444 + ### End  mixtex-fish  tests
445 +
446 + ### Reference and test for  mixtex view  plan ###
447 +
448 + test-mixtex-plan:       ref/mixtex_plan.hdr  mixtex_plan.hdr
449 +        $(RDU_PFILT)  mixtex_plan.hdr | $(IMG_CMP) ref/mixtex_plan.hdr -
450 +
451 + ref/mixtex_plan.hdr:
452 +        make  mixtex_plan.hdr
453 +        $(RDU_PFILT)  mixtex_plan.hdr > ref/mixtex_plan.hdr
454 +
455 + mixtex_plan.hdr:        mixtex.oct
456 +        rad -v  plan  mixtex.rif
457 +
458 + ### End  mixtex-plan  tests
459 +
460 + ### Reference and test for  mixtex view rplan ###
461 +
462 + test-mixtex-rplan:      ref/mixtex_rplan.hdr  mixtex_rplan.hdr
463 +        $(RDU_PFILT)  mixtex_rplan.hdr | $(IMG_CMP) ref/mixtex_rplan.hdr -
464 +
465 + ref/mixtex_rplan.hdr:
466 +        make  mixtex_rplan.hdr
467 +        $(RDU_PFILT)  mixtex_rplan.hdr > ref/mixtex_rplan.hdr
468 +
469 + mixtex_rplan.hdr:       mixtex.oct
470 +        rad -v rplan  mixtex.rif
471 +
472 + ### End  mixtex-rplan tests

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines