|
![](/i/fill.gif) |
Nathan Kopp <Nat### [at] kopp com> wrote:
: Photon interaction with objects is a bit more complicated than shadow-ray
: interaction. However, it's not to difficutl to make no_shadow work like
: pass_through. This will decrease the amount of control you have over your
: objects (currently, you can have an object that uses no_shadow but not
: pass_through, but if I make this change then you will not be able to use the
: no_shadow feature without the pass_through feature). Comments?
I think that a compromise could be the perfect solution:
By default, applying no_shadow to an object also applies pass_through
to it.
If you don't want photons passing through, you can specify it like this:
object
{ MyObject
no_shadow
photons { pass_through off }
}
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |