Typo: the BRAY has value of 14 after the first FILT, not 15. Sorry.
You start with and ARAY that shines a BRAY through 2 pixels of FILT, the first FILT in the normal set mode and a ctype 14 which gives the BRAY a value of 15, the second FILT with a tmp of 1 so it's in AND mode and a ctype of 13. If you spark the ARAY, the BRAY that comes out will have a ctype of 12. There are 30 wavelengths in total and each has a ctype value that's double that of the previous wavelength (so 1,2,4,8,16,32,64...). BRAYs and PHOTs must have at least 1 wavelength set or they die.
I GOT IT! so if i were to put 1px of filt first, then the AND filt pixel with the same wavelength, i get an output of bray, but if the first px of filt is red it wont output!
...i dont even get what youre saying :(
AND means a resulting wavelength will only be set if it's also set in both the incoming BRAY/PHOT and the FILT. Suppose the BRAY has a value of 14 (so its 2 + 4 + 8 wavelengths are set) and the FILT has a value of 13 (so its 1 + 4 + 8 wavelengths are set) then only the 4 and 8 wavelengths are set in both so the resulting BRAY has only those and its value is 4 + 8 = 12
so if i put filt to be like 1 and phot to be 0 it wont exit?