POV-Ray : Newsgroups : povray.binaries.images : Greebles, 3rd try, only greeble-cells at the moment : Re: Greebles, 3rd try, only greeble-cells at the moment Server Time
7 Aug 2024 07:17:46 EDT (-0400)
  Re: Greebles, 3rd try, only greeble-cells at the moment  
From: Zeger Knaepen
Date: 19 May 2006 17:09:48
Message: <446e341c@news.povray.org>
"Roman Reiner" <lim### [at] gmxde> wrote in message 
news:web.446dd34618e64389b2631f1f0@news.povray.org...
> btw: what are your texture/lighting settings on that one?

try this:

-- begin code --
camera {
 location <0,4,-3>/3
 look_at z/4
}
light_source {<-150,500,500> rgb <1.5,1.4,1.3>}

#declare Kleur=<1,1,1>;
#declare Vuilkleur=<.8,.75,.7>;
#declare Gewoon_vuil=
texture {
 pigment {
  granite
  color_map {
   [0 rgb .2*Vuilkleur transmit .99]
   [1 rgb .1*Vuilkleur transmit .8]
  }
  rotate x*90
  translate -.5
  translate z*2
 }
 finish {ambient 0 diffuse .5}
}
#declare Gewoon_heel_vuil=
texture {
 pigment {
  granite
  color_map {
   [0 rgb .2*Vuilkleur transmit .99]
   [1 rgb .1*Vuilkleur transmit .6]
  }
  rotate x*90
  translate -.5
  //scale <4*6,1,3*6>
  translate z*2
 }
 finish {ambient 0 diffuse .5}
}

#declare Scar=
texture {
 pigment {
  crackle form <1,0,0>
  color_map {
   [0 rgbt <.1,.01,0,.8>]
   [.2 rgbt <.1,.01,0,1>]
  }
  scale .5
  turbulence .2
  lambda 3
  scale 4
 }
 normal {
  dents .1
 }
 finish {
  diffuse .5 ambient 0
 }
}

plane {y,0
 #declare BS=1.0000;
 texture {
 pigment {
  average
  pigment_map {
   [1
   cells
   pigment_map {
    [0 
     cells
     color_map {
      [0 rgb .8*Kleur]
      [1 rgb 1*Kleur]
     }
     scale .5
    ]
    [.4 
     cells
     color_map {
      [0 rgb .8*Kleur]
      [1 rgb 1*Kleur]
     }
     translate <.25,.5,.2>
    ]
   }
   scale 1
   ]
   [1
   cells
   color_map {
    [0 rgb .8*Kleur]
    [1 rgb 1*Kleur]
   }
   translate <.25,1.5,.2>
   scale 2
   translate <2.25,1.5,3.5>
   ]
  }
  scale .25
 }
 normal {
  average
  normal_map {
   [1
   cells
   normal_map {
    [0 
     cells
     bump_size .25*BS
     scale .5
    ]
    [.4 
     cells
     bump_size .2*BS
     translate <.25,.5,.2>
    ]
   }
   scale 1
   ]
   [1
   cells
   normal_map {
    [0 
     cells
     bump_size .25*BS
     scale .5
    ]
    [.4 
     cells
     bump_size .2*BS
     translate <.25,.5,.2>
    ]
   }
   scale .25
   ]
   [1
   cells
   bump_size .125*BS
   translate <.25,1.5,.2>
   scale 2
   translate <2.25,1.5,3.5>
   ]
  }
  scale .125/8
 }
 finish {ambient 0 diffuse 1 brilliance 3 specular 1 roughness .01 
metallic}
 scale 5
 }
 texture {Scar scale <.25,.25,1>}
 texture {Gewoon_vuil scale <.5,.25,1>} 
 texture {Gewoon_heel_vuil scale <.25,.125,.7>}
} 
-- end code --

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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