| 4 |
|
# |
| 5 |
|
|
| 6 |
|
all: test-vwright test-getinfo test-rcollate test-rmtxop test-dctimestep \ |
| 7 |
< |
test-genskyvec test-vwrays test-glarendx \ |
| 8 |
< |
test-rcode_norm test-rcode_depth test-rcode_ident |
| 7 |
> |
test-genskyvec test-vwrays test-glarendx test-rcode_norm test-rcode_depth \ |
| 8 |
> |
test-rcode_ident test-wrapBSDF test-rttree_reduce test-rcrop |
| 9 |
|
|
| 10 |
|
clean: |
| 11 |
< |
rm -f test.mtx ttree.txt vwrays.txt |
| 11 |
> |
rm -f test.mtx cropped.mtx ttree.txt vwrays.txt |
| 12 |
|
|
| 13 |
|
test-vwright: test.vf |
| 14 |
|
vwright -vf test.vf 3.5 > vwright.txt |
| 61 |
|
rm -f testBSDF.xml |
| 62 |
|
|
| 63 |
|
test.mtx: ../renders/ref/rfmirror.mtx |
| 64 |
< |
rcollate -t ../renders/ref/rfmirror.mtx > test.mtx |
| 64 |
> |
rcollate -c -t ../renders/ref/rfmirror.mtx > test.mtx |
| 65 |
|
|
| 66 |
|
ttree.txt: |
| 67 |
|
cnt 256 | rcalc -e '$$1=floor(sin(PI/256*recno)*40)' \ |
| 79 |
|
| dctimestep '!rmtxop -ff -t test.mtx' > dctimestep.mtx |
| 80 |
|
radcompare ref/dctimestep.mtx dctimestep.mtx |
| 81 |
|
rm -f dctimestep.mtx |
| 82 |
+ |
|
| 83 |
+ |
test-rcrop: test.mtx |
| 84 |
+ |
rcrop 15 31 75 19 test.mtx > cropped.mtx |
| 85 |
+ |
radcompare ref/cropped.mtx cropped.mtx |
| 86 |
+ |
rm -f cropped.mtx |