| 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 |
| 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 ### |