|
|
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
|
|