POV-Ray : Newsgroups : povray.unofficial.patches : colors and glowing : Re: colors and glowing Server Time
2 Sep 2024 12:13:49 EDT (-0400)
  Re: colors and glowing  
From: Zeger Knaepen
Date: 10 May 2000 14:23:31
Message: <3919A920.349BEDD1@student.kuleuven.ac.be>
Warp wrote:
> 
>   One thought:
> 
>   If a surface has a glow component and this surface is reflected on a mirror,
> what should happen?
>   a) Only the reflection of the surface glows, not the mirror itself.
>   b) The mirror itself starts glowing because of the reflection of the
> glowing surface.
> 
>   The difference between the two is subtle, but important: If only the
> reflection glows, the glowing does not extend outside the mirror surface.
> If the mirror surface glows, the glowing extends outside it.
> 
>   AFAIK the option a) is the physically correct one. Of course the mirror
> just reflects the glowing, it doesn't start to glow itself.
>   However, if the glowing is achieved as a 6th color component, what will
> happen is the option b) because the mirror will get that 6th component as
> well when it reflects the glowing surface. This is a bit unrealistic.
>   So I don't know if it would be a good idea.

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.

ZK
http://www.povplace.be.tf

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


Post a reply to this message

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