|
![](/i/fill.gif) |
kurtz le pirate <kur### [at] yahoo fr> wrote in news:kurtzlepirate-
12B112.10462204062006@news.povray.org:
<Snipola>
> ... on the first frame, the filename is "spheres0001.inc" no ?
> but, why not using directly the 'frame_number' variable ?
>
<Snipola>
>
> #declare index=0;
> #while (index< frame_number)
> #declare filename=concat("spheres",str(index,-4,0),".inc");
> #include filename
> #declare index=index+1;
> #end
>
>
> with your 'ini' this give you "spheres0001.inc" to "spheres0365.inc" and
> at each 'frame', all previous "spheresxxxx.inc" are included but of
> course, all includes are parsed and parsed and parsed...
I had never used the frame_number parameter before so I simply
went with what I knew. Heck, I had never tried what I am doing
before either. Your code is obviously the better way to do this
as I can leave the clock moving form 0 to 1.
However, this doesn't help the render speed problem. Not sure
if you thought it would or not. Each subsequent frame is still
taking longer.
Brian
--
http://www.skywise711.com - Lasers, Seismology, Astronomy, Skepticism
Seismic FAQ: http://www.skywise711.com/SeismicFAQ/SeismicFAQ.html
Quake "predictions": http://www.skywise711.com/quakes/EQDB/index.html
Sed quis custodiet ipsos Custodes?
Post a reply to this message
|
![](/i/fill.gif) |