POV-Ray : Newsgroups : povray.newusers : Making A Heart : Re: Making A Heart Server Time
28 Jul 2024 22:27:07 EDT (-0400)
  Re: Making A Heart  
From: Leroy
Date: 25 Jun 2007 23:37:25
Message: <4680890A.5060509@joplin.com>
Caligula wrote:
> I've been trying to model a heart-shaped box in POV-Ray, but even though I
> have the vague idea that using splines would be a good idea, I have no idea
> how. Could anyone give me any tips on that?
> 
> 

I'd use a prism:
I have a Prism editor at my web site:
  http://leroywhetstone.s5.com/

Here's a not very good example:

#declare Heart=prism{
bezier_spline
-0.1,0.1,24
<0,-1.08>
<0.266667,-0.773333> //___control___
<0.733333,-0.466667> //___control___
<1,0.48>
<1,0.48>
<1.17333,0.893333> //___control___
<0.866667,1.10667> //___control___
<0.493333,1.02667>
<0.493333,1.02667>
<0.186667,0.933333> //___control___
<0.133333,0.72> //___control___
<0,0.546666>
<0,0.546666>
<-0.0666667,0.693333> //___control___
<-0.226667,0.96> //___control___
<-0.56,1.05333>
<-0.56,1.05333>
<-0.853333,1.08> //___control___
<-1.16,0.96> //___control___
<-0.986667,0.52>
<-0.986667,0.52>
<-0.64,-0.493333> //___control___
<-0.28,-0.773333> //___control___
<0,-1.08>
}


Post a reply to this message

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