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.15 by greg, Fri Jan 4 22:45:37 2019 UTC vs.
Revision 1.17 by greg, Mon Jan 7 21:11:24 2019 UTC

# Line 3 | Line 3
3   # Render and primitive type testing
4   #
5  
6 + # Number of processes to use on tests that test multi-core
7 + NPROC = 2
8 +
9   # Image reduction for comparisons
10   RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1
11  
# Line 10 | Line 13 | RDU_PFILT = pfilt -1 -r 1 -x 128 -y 128 -pa 1
13   IMG_CMP = radcompare -rms 0.07 -max 1.5
14  
15   # Default target is to test everything
16 < all:    test-xform test-rfluxmtx \
16 > all:    test-xform test-oconv test-rad test-rfluxmtx \
17   test-mixtex-def test-mixtex-fish test-mixtex-plan test-mixtex-rplan \
18   test-trans2-def test-trans2-fish test-dielectric-def \
19   test-dielectric-fish test-glass-def test-glass-fish test-glass-up \
# Line 21 | Line 24 | test-rtrace
24  
25   clean:
26          rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \
27 < *.[cg]pm{,.leaf} combined.rad rfmirror.mtx
27 > *.[cg]pm{,.leaf} inst_rad.txt combined.rad rfmirror.mtx
28  
29   ### Special test of xform ###
30  
# Line 29 | Line 32 | test-xform:    combined_scene.rad
32          xform -f combined_scene.rad | grep -v '^[       ]*#' > combined.rad
33          radcompare -max 0.04 ref/combined.rad combined.rad
34  
35 + ### Special test of rad ###
36 +
37 + test-rad:       inst.rif
38 +        rad -n -s -e inst.rif > inst_rad.txt
39 +        radcompare ref/inst_rad.txt inst_rad.txt
40 +
41 + ### Special test of oconv ###
42 +
43 + test-oconv:     inst.oct
44 +        radcompare ref/inst.oct inst.oct
45 +
46   ### Special test of rtrace ###
47  
48   test-rtrace:    ref/mirror_fish.hdr  rtmirror_fish.hdr
# Line 36 | Line 50 | test-rtrace:   ref/mirror_fish.hdr  rtmirror_fish.hdr
50  
51   rtmirror_fish.hdr:      mirror.oct
52          rad -v 0 mirror.rif OPT=mirror.opt
53 <        vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n 2 @mirror.opt \
53 >        vwrays -ff -vf fish.vf -x 2048 -y 2048 | rtrace -n $(NPROC) @mirror.opt \
54   -ffc -x 2048 -y 2048 mirror.oct | pfilt -1 -e +3 -r .6 -x /2 -y /2 \
55   > rtmirror_fish.hdr
56          rm -f mirror.opt
# Line 48 | Line 62 | test-rfluxmtx: ref/rfmirror.mtx rfmirror.mtx
62  
63   rfmirror.mtx:   mirror.rad dummysky.rad basic.mat diorama_walls.rad \
64   closed_end.rad front_cap.rad glass_pane.rad antimatter_portal.rad
65 <        rfluxmtx -ab 2 -lw 1e-4 mirror.rad dummysky.rad basic.mat \
66 < diorama_walls.rad closed_end.rad front_cap.rad glass_pane.rad \
67 < antimatter_portal.rad > rfmirror.mtx
65 >        rfluxmtx -n $(NPROC) -ab 2 -lw 1e-4 mirror.rad dummysky.rad \
66 > basic.mat diorama_walls.rad closed_end.rad front_cap.rad \
67 > glass_pane.rad antimatter_portal.rad > rfmirror.mtx
68  
69   ### Octree for dielectric ###
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines