POV-Ray : Newsgroups : povray.general : question: need 2 curve memory req's for scene... : Re: question: need 2 curve memory req's for scene... Server Time
8 Aug 2024 18:13:27 EDT (-0400)
  Re: question: need 2 curve memory req's for scene...  
From: Ken
Date: 29 Oct 2000 09:23:43
Message: <39FC3323.6804C47A@pacbell.net>
Peter Popov wrote:
> 
> On Sun, 29 Oct 2000 00:07:42 -0500, "Johnny Smith"
> <joh### [at] homecom> wrote:
> 
> >
> >    I'm using an image AS a heightfield in several different places within a
> >scene.
> >Each time I use it..I must read it in...each time I do..it requires more and
> >more
> >memory...  Any way to read ONCE...and then assign something to it?
> >I guess the equivalent would be a pointer C/C++
> 
> Try declaring it and then reusing it. Meshes work this way but whether
> this holds for HFs I can't say right now. Do a test and see.
> 
> As a side note, if using pre-declared HFs indeed makes copies of them,
> would it be too hard to make POV do it the mesh way?

It already does. I have used multiple (1000's) of HF's in a single scene
that used very little memory.

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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