POV-Ray : Newsgroups : povray.unofficial.patches : colors and glowing : Re: colors and glowing Server Time
2 Sep 2024 12:14:46 EDT (-0400)
  Re: colors and glowing  
From: Warp
Date: 11 May 2000 04:52:10
Message: <391a74ba@news.povray.org>
Zeger Knaepen <ZEG### [at] studentkuleuvenacbe> wrote:
: But that 6th component would be 1 only if the reflected pigment has a
: 6th component of 1 there.  So it would give option a)
: It's not the entire object that should glow, only the parts with a 6th
: component > 0.

  You didn't understand. The parts of the mirror which are reflecting the
glowing object will start to glow themselves as well, because they will
get tha 6th component.
  Suppose that the reflection of the glowing object covers completely the
surface of the mirror. Now the mirror will glow, ie. the glowing will be seen
outside the mirror surface. The mirror itself is glowing, not only the
reflection.
  This, of course, is because the glowing is calculated as a post-process.
The post-process have no way to know if the glowing part is a reflection
or not.

:> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
:> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/

: What exactly does this code do?

  Try compiling it.

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