POV-Ray : Newsgroups : povray.general : pb with mirror and : Re: pb with mirror and Server Time
29 Jul 2024 12:22:05 EDT (-0400)
  Re: pb with mirror and  
From: CIAS
Date: 5 Aug 2011 03:15:01
Message: <web.4e3b97aaf7dbd14f43c365b20@news.povray.org>
Alain <aze### [at] qwertyorg> wrote:

> > Hi,
> > I would like to look_at to an object by TWO parallel glass porthole.
> > No problem if camera looks directly (straight line), but if in the optical path

> > BLACK !!!
> > A solution ?
> >
> > Christophe
> >
> >
>
> As you use a mirror, you need to increase your max_trace_level by 1 or
> more. If you have 2 mirrors, you must increase by at least 2.
>
> Make sure that your mirror(s) is effectively a mirror: finish{reflection
> 1 ambient 0 diffuse 0}
>
> Make sure that the second glass porthole is realy transparent.
>
>
>
> Alain

Find inclosed the .pov file
#include "colors.inc"
#include "textures.inc"
// Fond de la scene
background {Grey}
light_source{ <1000,1000,-1500> 5}

#declare c=
camera {
location <1000, 0, 1000>
    look_at  <1000, 0, 0>
    angle 15}
camera{c}
// Objet
cylinder {
        <0,-200,0>, <0,200,0>, 50
        texture { pigment { Red}}}
// Porthole
cylinder{<500,0,0>, <510,0,0> 100
        texture{pigment{Clear}}
        interior{ior 1.5}
}
cylinder{<750,0,0>, <760,0,0> 120
        texture{pigment{Clear}}
        interior{ior 1.3}
}
#declare mirror =
box { <-150,-150,0>, <150,150,10>
        pigment {color Green}
        finish { reflection 1 ambient 0 diffuse 0 }
}
object{ mirror rotate <0,-45,0> translate<1000,0,0>}

thank you for helping me

Christophe


Post a reply to this message

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