POV-Ray : Newsgroups : povray.binaries.images : Blob cup [~35k jpeg] Server Time
19 Nov 2024 06:24:25 EST (-0500)
  Blob cup [~35k jpeg] (Message 1 to 1 of 1)  
From: Alex Kluchikov
Subject: Blob cup [~35k jpeg]
Date: 2 Apr 2005 13:45:01
Message: <web.424ee7f26bea07f032f38e650@news.povray.org>
Just a simple cup I did ages ago, "Blob Bottles" post of Jim Holsenback has
reminded me about. Hope somebody may find it interesting. Here is the code:

-----------------------
#declare cup=blob{
 cylinder{-y*3.5,y*3.56,1.25,2.9 scale y*0.7/3} // side
 cylinder{-y*2,y*3.44,.79,-15 scale y*0.7}      // hollow
#declare i=0;
#while(i<1.01) // handle
#declare X=cos(1.02-pow((i-.5)*2,2))*1.5;
 sphere{y*0.6,0.11,
  .3
  scale z*2
  translate
  x*2.323
  -y*.6
  +y*sin((i-.5)*pi*1.6)*.6
  -x*X
  }
#declare i=i+1/150;
#end
 sphere{0,0.8,15.75 scale y*0.15 translate -y*0.83} // and bottom
 sturm
 translate y*.85
}
-----------------------

Sincerely Yours,
Alex  Kluchikov.


Post a reply to this message


Attachments:
Download 'obekt.jpg' (36 KB)

Preview of image 'obekt.jpg'
obekt.jpg


 

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