POV-Ray : Newsgroups : povray.general : 1-way mirror? : Re: 1-way mirror? Server Time
30 Jul 2024 12:20:54 EDT (-0400)
  Re: 1-way mirror?  
From: Trevor G Quayle
Date: 8 Jan 2009 08:55:00
Message: <web.496604ecd71aa7c81c811d20@news.povray.org>
"Catseye" <jpf### [at] comcastnet> wrote:
> Is there a way to construct a 1-way mirror so that the camera "sees" objects
> through the backside of a mirror that reflects image rays from the object on
> the front side?
>
> Thanks in advance.

plane object, clipped_by box object (not subtraction or union) with texture and
interior_texture.  This gets a rectangular one way mirror, no thickness though.

plane{z,0 clipped_by{box{<-30,-30,-10><30,30,10>}}
  texture{
    pigment{rgbt 1}
    finish{ambient 0 diffuse 0}
  }
  interior_texture{
    pigment{rgb 1}
    finish{ambient 0 diffuse 0 reflection{1}}
  }
}


-tgq


Post a reply to this message

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