POV-Ray : Newsgroups : povray.newusers : large texture usage problems : Re: large texture usage problems Server Time
18 Jul 2024 08:32:14 EDT (-0400)
  Re: large texture usage problems  
From: clipka
Date: 17 Jun 2009 21:25:01
Message: <web.4a39970c61ee9c3c45339cfa0@news.povray.org>
"JSchloss" <nomail@nomail> wrote:
> Also, it
> seems like POVRay loads textures to ram on parse - it it possible to keep
> POVRay from loading the entire texture to ram at once?  A performance hit would
> be better than dieing for lack of ram.

What good would that do, actually?

POVRay dying from lack of ram usually means not enough physical RAM, leading to
use of virtual RAM and consequently death by swapping. Or, to put it
differently, death by excessive HD access.

Leaving textures on disk would just be choosing a different mechanism to create
a lot of HD traffic.

So I guess loading the texture into memory at the *risk* of starving from
swapping is still better than leaving it on disk and being *sure* of starving
from excessive HD activity...

The only viable option would be to load a low-res version of the texture into
RAM. But then again, you can just as well crunch down the texture in the first
place.


Then again, if you're thinking of deferring loading of the texture until it is
first used - well, it *will* be used some time during render, so you're better
off with POV-Ray dying during parsing already, than waiting for the first time
the texture is actually used, and *then* dying from an out-of-memory condition.


Post a reply to this message

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