POV-Ray : Newsgroups : povray.binaries.images : stirred chocolate : stirred chocolate Server Time
7 Aug 2024 11:18:06 EDT (-0400)
  stirred chocolate  
From: Kenneth
Date: 28 Mar 2006 20:20:00
Message: <web.4429e057cfa0ed8f4a188cbf0@news.povray.org>
I was playing around with isosurfaces, and this turned out so delicious that
I just *had* to share it.

Bon apetit!

----------------
global_settings{assumed_gamma 2.0}

#declare chocolate_function =
function {
        pigment {waves
                triangle_wave
                scale .15
                warp{turbulence .5 lambda .1}
                }
         }


isosurface {
    function {y
                      + chocolate_function (x,y,z).gray * .3
             }
                max_gradient 6.2

    contained_by { box { <-1,-.5,-1>, <1,.25,1> } }

 texture{
          pigment{color rgb <.75,.4,.28>*1.1}
          finish{
                ambient .15
                diffuse .35
                phong .35
                phong_size 14
                specular .9
                roughness .004
                }
            }
  }


Post a reply to this message


Attachments:
Download 'iso_chocolate.jpg' (42 KB)

Preview of image 'iso_chocolate.jpg'
iso_chocolate.jpg


 

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