POV-Ray : Newsgroups : povray.binaries.images : isosurface heart : isosurface heart Server Time
15 Nov 2024 06:17:40 EST (-0500)
  isosurface heart  
From: Alex Kluchikov
Date: 22 Aug 2003 14:10:53
Message: <1103_1061579434@news.povray.org>
Once I needed a heart. It was something like a St.Valentine's day. I looked through
Internet, found some, bit didn't like any. So, now there is one more heart object in
Internet.
 The source of object is here.

//----------- Isosurface heart

#declare heart=
isosurface{
 function{
 
sqrt(pow(x*2.5,2)+z*z+pow(abs(y*1.1-0.8*sqrt(sqrt(z*z+pow(x/2,2)/(pow(abs(y+1.4),4)+0.001)))),2))-1
 }
 accuracy 0.005
 max_gradient 5
 contained_by{box{-1.4,1.4}}
 texture{pigment{color red 1.4 green 0.3}finish{diffuse 1 specular 0.5 phong 1
phong_size 45}}
}      

//-----------

Sincerely Yours, Alex Kluchikov.


Post a reply to this message


Attachments:
Download 'heart.jpg' (29 KB)

Preview of image 'heart.jpg'
heart.jpg


 

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