POV-Ray : Newsgroups : povray.binaries.animations : Persisting Pigments and Functions Server Time
31 Oct 2024 16:17:30 EDT (-0400)
  Persisting Pigments and Functions (Message 1 to 4 of 4)  
From: Rob Richards
Subject: Persisting Pigments and Functions
Date: 26 Dec 2008 06:51:47
Message: <hrg9l4pjs3tooj2657gbmt6rd5ps0ln79f@4ax.com>
Hi,

I hope someone can help me here. I'm trying to render an animation
using megapov version 0.7 which I have to use because it uses R
Suzuki's isosurface density file patch . 

The problem is that I have a very large data file being loaded using

#declare Ly =
function{   
"data_3D_1", <1> library "i_dat3d","data.dat", <100,100,100,0> 
}

Now this takes  a while to load and it is done in each frame so the
animation i want to do will take a long time. All I am doing in the
animation is assigning a pigment based on this function to a plane but
translated by the value of the clock variable. 

I've tried adding 

Persistant_animation=yes

to the ini file and using labels but it seems the labels cannot be
applied to functions or pigments. 

can anyone suggest how I could load the function just once at the
beginning of the animation and use it in each frame ?

Thanks in advance.

Cheers
Rob Richards


Post a reply to this message

From: clipka
Subject: Re: Persisting Pigments and Functions
Date: 26 Dec 2008 13:35:00
Message: <web.495522dbae452bc28ac4fcf10@news.povray.org>
Rob Richards <ari### [at] btinternetcom> wrote:
> can anyone suggest how I could load the function just once at the
> beginning of the animation and use it in each frame ?

With an unpatched version of POV it will be outright impossible.


Post a reply to this message

From: Reactor
Subject: Re: Persisting Pigments and Functions
Date: 26 Dec 2008 16:40:00
Message: <web.49554e56ae452bc2c308a83b0@news.povray.org>
"clipka" <nomail@nomail> wrote:
> Rob Richards <ari### [at] btinternetcom> wrote:
> > can anyone suggest how I could load the function just once at the
> > beginning of the animation and use it in each frame ?
>
> With an unpatched version of POV it will be outright impossible.


Quite right.

I hope this is something that can be addressed in POV 4 - persistent variables
and persistent objects/textures/functions that do not have to be reparsed, but
official POV cannot do this.

-Reactor


Post a reply to this message

From: clipka
Subject: Re: Persisting Pigments and Functions
Date: 26 Dec 2008 18:25:00
Message: <web.495566f1ae452bc28ac4fcf10@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote:
> I hope this is something that can be addressed in POV 4 - persistent variables
> and persistent objects/textures/functions that do not have to be reparsed, but
> official POV cannot do this.

We may actually see this in the 3.7 already. The .29 beta source already
contains some code aimed at this, although I'm currently not aware whether the
functionality is already activated in the official beta binaries.


Post a reply to this message

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