|
|
Op 01/10/2020 om 23:40 schreef Kenneth:
> "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
>
Yes sir. You probably learned this the hard way, like I did. ;-)
--
Thomas
Post a reply to this message
|
|