POV-Ray : Newsgroups : povray.binaries.animations : spraypaint in motion : Re: spraypaint in motion Server Time
25 Apr 2024 02:15:23 EDT (-0400)
  Re: spraypaint in motion  
From: Anthony D  Baye
Date: 22 Jan 2015 21:15:00
Message: <web.54c1adcd5cb4e344bd92286f0@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> On 22.01.2015 6:17, Anthony D. Baye wrote:
>
> > A lot of that is because of the way I'm storing the point data between frames.
> > I'm currently working on some improvements that could speed things up
> > significantly.
>
> You might benefit from persistent variables in Uberpov for this

no worries.  I fixed it.  It's WAY faster now.

I simply changed the way I saved the data -- from an array of points to a union
for each frame, with an index file that gets rewritten every frame and forms a
union of the unions.  My test render only took about 8 hours.

Though I suppose persistent variables would save quite a bit of time, I really
want this to be useful in the official version.

I also fixed a problem with the random distribution of particles being the same
for each frame.

Regards,
A.D.B


Post a reply to this message


Attachments:
Download 'spray3.avi.dat' (82 KB)

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