POV-Ray : Newsgroups : povray.binaries.images : Clay Pot (distorted.jpg 82.5k) : Re: Clay Pot (distorted.jpg 82.5k) Server Time
4 May 2024 16:29:06 EDT (-0400)
  Re: Clay Pot (distorted.jpg 82.5k)  
From: Samuel Benge
Date: 27 May 2002 14:11:10
Message: <3CF27B4E.6070607@caltel.com>
Slime wrote:
 > I like it. It's cool the way the distortion of the pot goes along 
with the
 > lines on the wall. How did you do the wall?

If you mean the maze-like pattern, it's a plane with a special pigment:

#declare mazish=
  function{pigment{cells
   pigment_map{
    [.5 function{x} color_map{[.5 rgb 1][.5 rgb 0]}]
    [.5 function{y} color_map{[.5 rgb 1][.5 rgb 0]}]
   }
  }
}

plane{z,0
  pigment{function{mazish(x,y*(x+10)/8+x/8,z).grey}
    color_map{[.5 rgbf<1 1 1 .5>][.5 rgbf 1]}
  }
}


Post a reply to this message

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