|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Can someone provide or point to a good Pov-ray model of a heart?
No, I don't mean a human heart. :)
I would actualy like a 3D model of a typical Valentine's day heart.
I guess if I can't find one, I can do a crude one via a prism, but
I would much rather have a rounded "bubbly" looking one with a pointed
bottom.
EG (assuming you are reading this post with a fixed width font...)
_ _
/ \/ \
\ /
\ /
\/
Plus I don't know if there exists an (cubic?) equation that
would give the surface of such a heart shape when ploted in
xyz space...
Thanks.
--
Dwaine Gonyier
dwa### [at] mindspringcom
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dwaine Gonyier wrote:
>
> Can someone provide or point to a good Pov-ray model of a heart?
This is a bit buggy and might produce a line of artifacts when viewed
at certain angles but it is a classic Valentine's Day heart shape.
#declare Heart =
poly { 6,<
8.0,0,0,0,12,0,0,12,0,-12,0,0,0,0,0,0,0,0,0,0,6,0,0,12,0,-12,0,0,0,0,6,
-0.1,-12,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,0,-3,0,0,
0.0,0,3,-1,-6,0,3,0,0,0,0,0,0,1,0,-3,0,3,0,-1>
}
> Plus I don't know if there exists an (cubic?) equation that
> would give the surface of such a heart shape when ploted in
> xyz space...
6th order polynominal
cub(2*sqr(x)+sqr(y)+sqr(z)-1) - (0.1*sqr(x)+sqr(y))*cub(z)
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 12 Feb 2002 21:33:51 -0800, Ken <tyl### [at] pacbellnet> wrote:
> This is a bit buggy and might produce a line of artifacts when viewed
> at certain angles but it is a classic Valentine's Day heart shape.
>
> #declare Heart =
This is also available as isosurface function in standard distribution of 3.5
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Dwaine Gonyier" <dwa### [at] mindspringcom> wrote in message
news:3c69ed6c@news.povray.org...
> Can someone provide or point to a good Pov-ray model of a heart?
>
If
http://www.tomandlu.co.uk/webres/raytracing/gallery/pics/hearts.jpg
is any good for you, the source is at:
http://www.tomandlu.co.uk/webres/raytracing/gallery/hearts.pov
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
This seems to work quite nicely.
I did see some artifacts (FYI, I am using pov-ray 3.1g for windows), but they
seem to go away if I throw enough anti-aliasing at the render.
Thanks to you and everyone else that responded.
"Ken" <tyl### [at] pacbellnet> wrote in message news:3C69FABF.17A46075@pacbell.net...
>
>
> Dwaine Gonyier wrote:
> >
> > Can someone provide or point to a good Pov-ray model of a heart?
>
> This is a bit buggy and might produce a line of artifacts when viewed
> at certain angles but it is a classic Valentine's Day heart shape.
>
> #declare Heart =
> poly { 6,<
> 8.0,0,0,0,12,0,0,12,0,-12,0,0,0,0,0,0,0,0,0,0,6,0,0,12,0,-12,0,0,0,0,6,
> -0.1,-12,0,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,3,0,-3,0,0,
> 0.0,0,3,-1,-6,0,3,0,0,0,0,0,0,1,0,-3,0,3,0,-1>
> }
>
> > Plus I don't know if there exists an (cubic?) equation that
> > would give the surface of such a heart shape when ploted in
> > xyz space...
>
> 6th order polynominal
>
> cub(2*sqr(x)+sqr(y)+sqr(z)-1) - (0.1*sqr(x)+sqr(y))*cub(z)
>
>
> --
> Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|