POV-Ray : Newsgroups : povray.beta-test : Media visible container line in front of object Server Time
30 Jul 2024 08:20:59 EDT (-0400)
  Media visible container line in front of object (Message 1 to 2 of 2)  
From: Philippe Debar
Subject: Media visible container line in front of object
Date: 15 Nov 2001 19:13:49
Message: <3bf45a3d@news.povray.org>
/*

Problem description : a visible whitish line appears at the edge of a
transparent container box for media. Problem disappears if you change
the scene too much but it seemed to be reasonably stable as long as I
kept the camera location, look_at and the box edge aligned in
x-coordinate. The line does not appear in front of background nor
sky_sphere.


Philippe Debar phd### [at] yahoofr


Sys info :
POV-Ray 3.5 b7
Win 2k pro sp2
Ahtlon 1.2 GHz
512 MB DDR

*/


global_settings{assumed_gamma 1}

camera{
  location <1, 1.7, -5> // not tied with a 0 in x, y or z
  direction 1.5*z
  look_at <1,.4,2.5>
}

box{
  0,1 rotate 50*y
  scale <1,3,3> // does not affect the line very much
  translate <1,.01,.2> // in my experiments the line appeared as long as the
translate x is the same as the camera location x
  rotate 5*x // rotate in y or z makes the line disappear
  hollow
  texture{
    pigment{color rgbf 1} // rgbt shows the line too
  }
  interior{
    media{   // media is needed
      scattering{1, <.1,.9,.2>}  // also works with emission and absorption
    }
  }
}

plane{y, 0 texture{pigment{ rgb .6}} } // line shows on plane and sphere,
not on background
sphere{<.8, 0.75, 1.5>, .75 texture{pigment{ rgb 0}}}

light_source{<5, 10, -20> rgb 1.5}

#background{color rgb .2*x}
sky_sphere{pigment{ rgb .1*z}}

// end of scene


Post a reply to this message

From: Trevor Quayle
Subject: Re: Media visible container line in front of object
Date: 16 Nov 2001 07:37:22
Message: <3bf50882$1@news.povray.org>
AA removes it.

-tgq

"Philippe Debar" <phd### [at] belgacomnet> wrote in message
news:3bf45a3d@news.povray.org...
> /*
>
> Problem description : a visible whitish line appears at the edge of a
> transparent container box for media. Problem disappears if you change
> the scene too much but it seemed to be reasonably stable as long as I
> kept the camera location, look_at and the box edge aligned in
> x-coordinate. The line does not appear in front of background nor
> sky_sphere.
>
>
> Philippe Debar phd### [at] yahoofr
>
>
> Sys info :
> POV-Ray 3.5 b7
> Win 2k pro sp2
> Ahtlon 1.2 GHz
> 512 MB DDR
>
> */
>
>
> global_settings{assumed_gamma 1}
>
> camera{
>   location <1, 1.7, -5> // not tied with a 0 in x, y or z
>   direction 1.5*z
>   look_at <1,.4,2.5>
> }
>
> box{
>   0,1 rotate 50*y
>   scale <1,3,3> // does not affect the line very much
>   translate <1,.01,.2> // in my experiments the line appeared as long as
the
> translate x is the same as the camera location x
>   rotate 5*x // rotate in y or z makes the line disappear
>   hollow
>   texture{
>     pigment{color rgbf 1} // rgbt shows the line too
>   }
>   interior{
>     media{   // media is needed
>       scattering{1, <.1,.9,.2>}  // also works with emission and
absorption
>     }
>   }
> }
>
> plane{y, 0 texture{pigment{ rgb .6}} } // line shows on plane and sphere,
> not on background
> sphere{<.8, 0.75, 1.5>, .75 texture{pigment{ rgb 0}}}
>
> light_source{<5, 10, -20> rgb 1.5}
>
> #background{color rgb .2*x}
> sky_sphere{pigment{ rgb .1*z}}
>
> // end of scene
>
>


Post a reply to this message

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