POV-Ray : Newsgroups : povray.binaries.images : Ad Nauseum : Re: Ad Nauseum Server Time
2 Oct 2024 16:28:38 EDT (-0400)
  Re: Ad Nauseum  
From: Bill DeWitt
Date: 10 Apr 2000 13:15:32
Message: <38f20c34@news.povray.org>
"TonyB" <ben### [at] panamac-comnet> wrote :
>
> Ooooh! 'xplain.
>

    Just an Isosurface with a little normal.

 #declare CR = function{ pigment { crackle scale 0.5 } }


surface{ 
      function { 
                 (x^2+y^2+z^2)
                +(CR(x, y, z)*0.5)
               }
 
     threshold 1 
     contained_by{ sphere{ 0,1 }} // bounding shape
     
        scale < 2, 1, 1 >
        pigment { rgb < 0.8, 0.5, 0.3 > }
          normal {
                    gradient x      
                    normal_map {
                      [0.0  bumps scale 0.2]
                      [0.3  crackle 1 scale 0.5]
                      [0.6  dents 1 scale 0.5 turbulence 1]
                      [1.0  marble scale 0.5 turbulence 1]
                    } 
                   scale 0.25
                   turbulence 0.5
                  }
        finish   { phong 0.5 specular 0.5 reflection 0.25 }
 
      } // end box


Post a reply to this message

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