POV-Ray : Newsgroups : povray.binaries.images : How to mirror : Re: How to mirror Server Time
4 Oct 2024 21:12:54 EDT (-0400)
  Re: How to mirror  
From: Bob Hughes
Date: 13 Feb 1999 20:54:54
Message: <36C62CC2.BBEAF377@aol.com>
Sounds like you need something like 2 planes folded a little.

//BEGIN
intersection {
plane {z,0 rotate 15*y //vary the rotation as needed
 pigment {rgb .1}
  finish {reflection 1}
 }
plane {z,0 rotate -15*y //vary the rotation as needed
 pigment {rgb .1}
  finish {reflection 1}
 }
 clipped_by {box {-6,6 scale <1,1,1>}} //overall mirror size
  translate 10*z //move backward or forward as needed
}

//white pointlight at camera position
#declare LCX = 0
#declare LCY = 10
#declare LCZ = -30

light_source { <LCX,LCY,LCZ> color rgb 1
}
light_source {<-1,3,5>, color rgb 1 //backlight
}
camera
{
  location  <LCX,LCY,LCZ>
  angle 22.5   // angle 67 = direction 1
  // direction 3.33*z
  look_at   <0, 2, 0>
}

box {-1,1 pigment {rgb 1}} //subject object
//END


Dennis Miller wrote:
> 
> Howdy. Here is an object that I want to appear in front of a mirror. In
> the mirror, I will show the object from the back, bu offset both to the
> right and left (trick mirror!)
> Does anyone have an idea how to setup the mirror?
> Thanks very much,
> D.
> 
>   ------------------------------------------------------------------------
>  [Image]

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

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