--- ray/test/renders/Makefile 2021/03/02 17:51:56 1.35 +++ ray/test/renders/Makefile 2023/11/17 22:03:14 1.37 @@ -1,4 +1,4 @@ -# RCSid $Id: Makefile,v 1.35 2021/03/02 17:51:56 greg Exp $ +# RCSid $Id: Makefile,v 1.37 2023/11/17 22:03:14 greg Exp $ # # Render and primitive type testing # @@ -27,7 +27,7 @@ test-dielectric-def test-dielectric-fish test-trans-de test-glass-def test-glass-fish test-glass-up \ test-trans-fish test-patterns-def test-patterns-plan \ test-rtrace test-mirror-fish test-obj2mesh \ -test-prism1-fish test-prism2-fish +test-prism1-fish test-prism2-fish test-spectra-fish clean: rm -f *.oct *.amb *_ill.dat blinds_ill?.dat *_*.hdr *.unf \ @@ -536,3 +536,22 @@ mixtex_rplan.hdr: mixtex.oct rad -v rplan mixtex.rif ### End mixtex-rplan tests + +### Octree for spectra + +spectra.oct: spectra.rif + rad -v 0 spectra.rif + +### Reference and test for spectra fish ### + +test-spectra-fish: ref/spectra_fish.hdr spectra_fish.hdr + $(RDU_PFILT) spectra_fish.hdr | $(IMG_CMP) ref/spectra_fish.hdr - + +ref/spectra_fish.hdr: + make spectra_fish.hdr + $(RDU_PFILT) spectra_fish.hdr > ref/spectra_fish.hdr + +spectra_fish.hdr: spectra.oct + rad -v fish spectra.rif + +### End spectra-fish tests