POV-Ray : Newsgroups : povray.unofficial.patches : See-through function :( : See-through function :( Server Time
1 Sep 2024 14:32:00 EDT (-0400)
  See-through function :(  
From: Tony[B]
Date: 13 Mar 2001 12:48:23
Message: <3aae5d67@news.povray.org>
Why do I see the background through it? How do I fix it?



#version unofficial megapov 0.7;

camera {up y*3/5 right x location <2,8,-21> look_at <0,9,5>}

light_source {vnormalize(<3,2,-1>)*100 rgb 1}
light_source {<0,25,25>/2 rgb <1,1,0.9>/4 shadowless}

sky_sphere {pigment {planar rotate -z*35 rotate x*10 color_map {[0.25 rgb
x][1 rgb 1]}}}

#declare Par = function {"paraboloid", <1>}

#declare Obj =
isosurface
{
 function {(Par(x,y,z) & -Par(x*1.25,y-0.2,z*1.25))}
 sign -1 method 2 max_gradient 2.648
 contained_by {box {<-1,0,-1>,<1,1,1>}}
}

difference
{
 object {Obj}
 plane {-x,0}
 scale 10 rotate y*10 translate <-3.25,3.35,20>
 pigment {rgb 1} finish {ambient 0 diffuse 1}
}


Post a reply to this message

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