POV-Ray : Newsgroups : povray.newusers : Faster then f_heart : Re: Faster then f_heart Server Time
2 Nov 2024 17:21:26 EDT (-0400)
  Re: Faster then f_heart  
From: Jeffry Reifel
Date: 22 Oct 2003 23:43:51
Message: <3f974e77$1@news.povray.org>
"Brent G" <pov### [at] bc-hqcom> wrote in message
news:3f96188d$1@news.povray.org...
> Is there anything faster, but similar to, the function f_heart? It
> causes redicioulous (sp?) rendering times, current @ 7 hours for 7
> frames of a VERY simple scene (The Heart, some Water, 1 small box, and a
> text difference taken out of the box)
>


Try this:

#declare HEART=
#macro _(T,R,F)  sphere {0,.38,1
    scale <.1+7*N,.1+6*N,.1+pow(N,1.1)*3>
     rotate <0,-15*sin(N*pi)*R,0>
      translate <T*N*.7,2*N+3*pow(N,2),-.1*sin(pi*N)>
       rotate<0,0,N*-(14+8*sin(N*pi*1))*R>
        rotate y*F
         translate y*-5
     } #end
 blob{

#declare EndNr =20;

#while (Nr< EndNr)

#declare N=Nr/ EndNr;

_(1,1,0)

_(-1,-1,0)

_(1,1,180)

_(-1,-1,180)

#declare Nr = Nr + 1;

#end

translate<0,2.5,0>
 }


Post a reply to this message

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