POV-Ray : Newsgroups : povray.binaries.images : More Bas Relief : Re: More Bas Relief Server Time
27 Sep 2024 21:46:30 EDT (-0400)
  Re: More Bas Relief  
From: Bob H 
Date: 27 Aug 2001 13:47:08
Message: <3b8a879c@news.povray.org>
"Daniel Matthews" <lig### [at] bigpondnetau> wrote in message
news:182### [at] 3-enet...
> Bob H. wrote:
> >
> > A gradient layered texture would do that, somewhat anyway.
>
> Have you an example or a URL for such a method?
> I am still learning to translate into POV. :o)

// dirt accumulation texture example

light_source { <0, 100, -50>, 1 }

camera {
   location <0, 1, -10>
   look_at 0
}

#declare CSG=
union{
difference{
                plane {-z,0}
                cone {<0,0,-0.1>,5,<0,0,2>,2.5}
          }
                cone {<0,0,2>,2.51,<0,0,0>,0}
                texture {
                pigment{rgb<1,1,1>}
                finish {ambient 0.5 diffuse 0.5 specular 0.1 roughness 0.1}
                }
                texture {
                pigment{gradient z turbulence 0.1
                        color_map {
                                [0 color rgbf 1]
                                [0.75 color rgbf <0.7,0.67,0.6,1>]
                                [0.9 color rgbf <0.7,0.67,0.6,0.75>]
                                [1 color rgbf <0.7,0.67,0.6,0.5>]
                        } scallop_wave scale 4 translate z/4
                        }
                finish {diffuse 0.3 specular 0.05 roughness 0.15}
                }
          }

object {CSG rotate <0,45,0>}


Post a reply to this message

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