POV-Ray : Newsgroups : povray.unofficial.patches : pass_through in looks_like : Re: pass_through in looks_like Server Time
2 Sep 2024 06:19:08 EDT (-0400)
  Re: pass_through in looks_like  
From: Warp
Date: 10 May 2000 06:31:18
Message: <39193a76@news.povray.org>
Nathan Kopp <Nat### [at] koppcom> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.