POV-Ray : Newsgroups : povray.text.scene-files : Peeling paint texture : Peeling paint texture Server Time
28 Jul 2024 18:12:07 EDT (-0400)
  Peeling paint texture  
From: SamuelT 
Date: 20 Oct 1999 22:23:47
Message: <380E7A85.D47F210@aol.com>
Here's the source for the peeling paint texture. You may feel the need
to
scale it down :) Be aware that you must have the superpatch to use
this code. Enjoy the new area of texture-making this
opens up!

#declare Walls=

function{
 pigment{
  granite scale 30
  color_map{
   [0 rgb 0][.1 rgb .1][.15 rgb .7][.2 rgb .75][.21 rgb 1][.25 rgb
.6][.7 rgb 0][1 rgb .5]
  }
 }
}

texture{
 pigment{
  granite scale 60
  color_map{
   [.1 rgb<.7 .7 .5>][.18 rgb<.8 .8 .6>][.2 rgb<.7 .7 .5>][.21 rgb 1][1
rgb .8]
  }
 }
 normal{ function{ Walls } 1.5 }
}

--
Samuel Benge

STB### [at] aolcom

"And you can fly
 High as a kite if you want to
 Faster than light if you want to
 Speeding through the universe
 Thinking is the best way to travel"

          -The Best Way to Travel, The Moody Blues


Post a reply to this message

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