POV-Ray : Newsgroups : povray.binaries.images : Iso_Ball_2 : Re: Iso_Ball_2 Server Time
3 Oct 2024 15:10:05 EDT (-0400)
  Re: Iso_Ball_2  
From: Ken
Date: 9 Jan 2000 19:53:54
Message: <38792DF9.12ECEE07@pacbell.net>
Chris Huff wrote:

> Amazing what can be done with just a simple little function...

Indeed :)

camera { location <0, 0, -13 >look_at 0}

light_source{<0,10,-210> rgb 1}

isosurface {
    function { tan(tan(x^2)+tan(y^2)+tan(z^2)-1)}
    threshold 1
    bounded_by { sphere { 0,5 } }
 pigment {
    function { tan(tan(x^2)+tan(y^2)+tan(z^2)-1)}
         frequency .5
         color_map {
            [.2 rgb<1,1,0> ]
            [.4 rgb<1,0,0> ]
            [.6 rgb<1,.5,0>]
            [.8 green .5   ]
            [1  blue .75   ]
         }
      }

 finish {
         ambient    .75
         diffuse    .5
         specular   1
         roughness  .0001
         brilliance 4
         metallic
    }

  rotate 45*y rotate 45*-x
}



-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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