POV-Ray : Newsgroups : povray.binaries.images : Suggestions needed : Re: Suggestions needed Server Time
2 Nov 2024 18:50:31 EDT (-0400)
  Re: Suggestions needed  
From: Dave Blandston
Date: 27 Apr 2010 06:05:00
Message: <web.4bd6b5be5bb1be65cba3fb0f0@news.povray.org>
"Kenneth" <kdw### [at] earthlinknet> wrote:
> BTW, I *really* like your rust texture--especially the normal(?) that you used.
> It looks bumpy/grainy, but with sort of flattened tops to the bumps. Nice! Care
> to share??
>
> Ken

Oops, I forgot to credit the original texture author, Xplo Aristotle. This is a
very useful texture.

//Iron, Rust, and RustyIron by Xplo Aristotle
#local Iron = texture {
   pigment {color rgb .25}
   normal {granite .3 scale .2}
   finish {specular .5 roughness .01 reflection .05 diffuse .8}
} //texture

#local Rust = texture {
   pigment {
      granite
      color_map {
         [0.0 rgb <0.809995, 0.299123, 0.113405> * .8]
         [0.4 rgb <0.209995, 0.096941, 0.031510> * 1.2]
         [0.6 rgb <0.209995, 0.096941, 0.031510> * 1.2]
         [1.0 rgb <0.569986, 0.052720, 0.005707> * .9]
      } //color_map
      scale .5
      turbulence 1
   } //pigment
   normal {wrinkles}
} //texture

#local RustyIron = texture {
   bozo
   texture_map {
      [0 Iron]
      [1 Rust]
   } //texture_map
   turbulence 1
   omega .5
   lambda 2
} //texture


Post a reply to this message

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