POV-Ray : Newsgroups : povray.newusers : Blob Interaction : Re: Blob Interaction Server Time
5 Nov 2024 01:23:17 EST (-0500)
  Re: Blob Interaction  
From: Gilles Tran
Date: 6 Apr 2001 04:22:44
Message: <3ACD7D8A.8CD8C360@inapg.inra.fr>
Chris Huff wrote:

> I'd just use an isosurface...but you might get what you want by using a
> while loop to generate a line of spherical components decreasing down to
> nearly 0 radius.

Or a good old quartic... "Piriform" does nice teardrop shapes, as does this
even simpler bit of code from Ken Tyler.

G.

  #include "colors.inc"
  camera{location -3*z look_at 0}
  background{rgb .5}
  light_source {<1,.4,-1>*1000 color White}
  light_source {<-1,1,-1>*500 color White*0.3}

  #declare Drop =
  quartic{<0,0,0,0,0,0,0,0,0,-4,0,0,0,0,0,0,0,0,0,0,
           0,0,0,0,0,-4,0,0,0,0,-1,2,0,-2,1> sturm}

    object { Drop rotate x*-90
   texture {
   pigment { rgbf<0.9,0.9,0.9,0.7>}
    finish { ambient 0.3 diffuse 0.3 specular 1 roughness 0.001 reflection
0.2}
           }
  interior { ior 1.15 }
           }


--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery


Post a reply to this message

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