clipka <ano### [at] anonymousorg> wrote:
> Am 07.08.2016 um 06:21 schrieb clipka:> > Significantly reduced memory footprint of spheres subject to> > transformations (translate, rotate, scale, transform):> No takers this time?
I have it downloaded - I just need to "install" it.
I'll get on it in a little while - It's shaped up to be a busy week.
Just had a molar extracted, looking for an apartment, have a wheelchair to pick
up for a disabled friend, etc ....
I'll see what I can dream up and let loose.
I'm sure I can come up with something utilizing a few million spheres. ;)
And thank you for making that edit to the code - I'm very curious to see the
difference in memory usage.

clipka <ano### [at] anonymousorg> wrote:
> Am 07.08.2016 um 06:21 schrieb clipka:> > Significantly reduced memory footprint of spheres subject to> > transformations (translate, rotate, scale, transform):> >> > https://github.com/POV-Ray/povray/releases/tag/v3.7.1-alpha.8730959> >> > Needs plenty of testing, especially with regards to UV mapping and wild> > combinations of the various transformation statements.>> No takers this time?
Unfortunately I am busy with a big project that is supposed to be finished
within the next 4 weeks...
But I really appreciate all the work you do, so I will see if I can do at least
some small scene.
I can think of some stuff that would be fun to try out... ;)
Here is a first mini scene, rusticated stones. I can post the code, but I cannot
render it with your
new version since my pov-ray dir is in use. (Cranking out animation frames.)
Best wishes, /A
Hmmm, I cannot attach files here... *goes over to blog* ... here is the link:
http://povscriptcode.site123.me/

clipka <ano### [at] anonymousorg> wrote:
> Am 07.08.2016 um 06:21 schrieb clipka:> > Significantly reduced memory footprint of spheres subject to> > transformations (translate, rotate, scale, transform):> >> > https://github.com/POV-Ray/povray/releases/tag/v3.7.1-alpha.8730959> >> > Needs plenty of testing, especially with regards to UV mapping and wild> > combinations of the various transformation statements.>> Found and fixed one bug already, so a new version is waiting to be tested:>> https://github.com/POV-Ray/povray/releases/tag/v3.7.1-alpha.8737777
I have done a first test; but I need to make a better test scene with
more transformations, more objects and spheres only.
Anyway, there were improvements in memory and parsing.
But also a big improvement in render time. :D
I will make a better test scene and get back to you.
Thanks a lot for the great work!
Best wishes, /A
scene: 2 287 195 objects + 1 light
std ver:
1600x1200
parse time 11.6 sec
bounding time 34.3 sec
rnder time 4m 49s
peak memory used 1 612 890 112 bytes
tst ver:
1600x1200
parse time 9.0 sec
bounding time 33.8 sec
rnder time 3m 31s
peak memory used 1 494 773 760 bytes

Hmmm I ran the standard version again, this time it took 3m 38s.
But it used 1 847 226 368 bytes. So only a small improvement in
render time, but a significant reduction in memory.
(I am not sure why I got the longer render time for the standard
version, some stuff might have been running in the background?)
I ran the test version again and it is about 1 490 000 000 bytes.
I will write a better test scene and post it as soon as I can.
Best wishes, /A