POV-Ray : Newsgroups : povray.binaries.images : How to mirror Server Time
4 Oct 2024 19:20:18 EDT (-0400)
  How to mirror (Message 1 to 3 of 3)  
From: Dennis Miller
Subject: How to mirror
Date: 13 Feb 1999 13:47:09
Message: <36C5F3F2.68616FFA@mediaone.net>
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.


Post a reply to this message


Attachments:
Download 'mirrorlyre.jpg' (30 KB)

Preview of image 'mirrorlyre.jpg'
mirrorlyre.jpg


 

From: Bob Hughes
Subject: Re: How to mirror
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

From: The Crazy Mule
Subject: Re: How to mirror
Date: 15 Feb 1999 02:15:41
Message: <36C7C9E5.D78E2B36@paradise.net.nz>
I'd go with a big cylinder myself - no messy folds ;)

cylinder {<0,1000,-100>,<0,-1000,-100>,100
	pigment {rgb 0.1}
	finish {reflection 1}
}
Adjust the "100"s to change the curvature (it's translated back so it just
reaches z=0 on the y-axis)

Bob Hughes wrote:
> 
> 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

-- 
Sam
    mailto:smi### [at] paradisenetnz
    http://www.geocities.com/SiliconValley/Horizon/4152/

"Someday we'll look back on this moment and plow into a parked car." 
  -- Evan Davis


Post a reply to this message

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