|
![](/i/fill.gif) |
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](/povray.binaries.images/attachment/%3Cweb.424ee7f26bea07f032f38e650%40news.povray.org%3E/obekt.jpg?ttop=441697&toff=5450&preview=1)
|
![](/i/fill.gif) |