POV-Ray : Newsgroups : povray.general : Glass : Re: Glass Reflections Server Time
8 Aug 2024 16:14:58 EDT (-0400)
  Re: Glass Reflections  
From: Warp
Date: 11 Jan 2001 06:30:57
Message: <3a5d9971@news.povray.org>
Jamie Davison <jam### [at] dh70qdu-netcom> wrote:
: Construct your pane of glass as a CSG difference of two cubes, one taking 
: a face off the other.  Assign the textures, one to each cube, and viola!  
: You have a pane of glass which has one face which eiother reflects or 
: does not reflect, depending on how you assigned the textures.

  This works only when looking from one side of the glass, but not the other
side.
  Suppose that we are also seeing the other side of the glass at the same
time through a mirror...

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?putchar('\n'):m)for(_
=(c>>2)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}  /*- Warp -*/


Post a reply to this message

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