POV-Ray : Newsgroups : povray.unofficial.patches : Tilemap patch for Megapov 1.2 : Re: Tilemap patch for Megapov 1.2 Server Time
27 Apr 2024 20:42:48 EDT (-0400)
  Re: Tilemap patch for Megapov 1.2  
From: Christoph Hormann
Date: 11 Sep 2006 13:50:03
Message: <ee47e1$la0$1@chho.imagico.de>
Warp wrote:
> 
>   One possibility would be to temporarily write the image in raw format
> onto a file and then read parts of that file on demand. This would just
> consume disk space instead of consuming RAM.

That would mean unnecessarily copying possibly lots of GB and in case of 
a compressed format also decompressing it - data that is possibly not 
needed at all since the render only uses a small part.

If such a patch is developed it would be good to have both the 
possibility to use large uncompressed files directly and alternatively 
to specify already existing tile images that can directly be used for 
the dynamic caching.  Often when dealing with large images you have them 
in form of tiles anyway to simplify handling and local modifications.

What would make sense for compressed formats is to temporarily store 
expired tiles to disk to avoid decompressing them again in case they are 
needed.

>   The difficulty in this is how to decide when to drop image parts from
> the cache. There's no universal way of knowing how much memory is
> available. One possibility would be for the user to specify manually
> some value.

That's what makes most sense i suppose (having the possibility to 
specify the tile size and the number of tiles to keep would allow 
detailed control over the performance).

Christoph

-- 
POV-Ray tutorials, include files, Landscape of the week:
http://www.imagico.de/ (Last updated 20 Aug. 2006)
MegaPOV with mechanics simulation: http://megapov.inetart.net/


Post a reply to this message

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