|
|
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
|
|