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: clipka
Date: 6 Jan 2009 23:00:00
Message: <web.49642818d71aa7cfe60fc2c0@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?

Hm... that's probably trivial (in the original latin sense, meaning "having
three ways"):

(a) make two copies of your mirror object; make one look like an actual mirror
and apply the no_image keyword, so it is seen in reflections and refractions
but not directly; make the other one look like a window and apply the
no_reflection keyword, so it is seen directly but not in reflections or
refractions

(b) use a plane cut to size with clipped_by (effectively giving you just an
infinitesimal thin square; you can also use two triangles as an alternative),
using a mirror texture and a transparent (or semi-transparent) inside_texture.
(Make sure you get the sides right ;))

(c) ... um... well... okay, maybe it isn't really TRIvial after all :)


Post a reply to this message

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