POV-Ray : Newsgroups : povray.binaries.images : city buildings-- WIP 9_29_2020 : Re: city buildings-- WIP 9_29_2020 Server Time
28 Apr 2024 06:07:24 EDT (-0400)
  Re: city buildings-- WIP 9_29_2020  
From: Kenneth
Date: 1 Oct 2020 17:45:05
Message: <web.5f764cc232341a55d98418910@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:

>
> The scene so far parses 'reasonably' quickly: For 650 buildings, with AA but no
> radiosity yet--  78 seconds total render time on my old Windows 7 machine (at
> 1600 X 900). The 'peak memory used' is about 1.1MB.
>

Duh. That should be 1.1 GB of memory, not MB. Sorry.

1000 buildings uses about 1.4GB

One trick that I learned long ago was to pre-#declare image_map pigments, when
they are going to be used repeatedly in a scene. That saves a whopping amount of
memory usage later.

Like,
#declare MY_PIGMENT = pigment{image_map{png "my_image.png" interpolate 2}}
#for(i,1,1000)
box{0,1 pigment{MY_PIGMENT} translate ...}
#end

instead of...
#for(i,1,1000)
box{0,1 pigment{image_map{png "my_image.png" interpolate 2}}
translate ...}
#end


Post a reply to this message

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