POV-Ray : Newsgroups : povray.general : Animation feature request. : Re: Animation feature request. Server Time
22 Mar 2026 06:52:31 EDT (-0400)
  Re: Animation feature request.  
From: jr
Date: 22 Mar 2026 04:50:00
Message: <web.69bfad1af7a2776448bf72fa6cde94f1@news.povray.org>
hi,

"m@b" <nomail@nomail> wrote:
"Bald Eagle" <cre### [at] netscapenet> wrote:
> > ...
> > So, in your ini file you do something like Subset_Start_Frame=30
> > but I'm wondering if you can then do something like
> > Declare=SSF=Subset_Start_Frame.
> > If not, you could just set Declare=SSF=30 and then do Subset_Start_Frame=SSF
> > (if that works)
>
> Thanks for the reply, I didn't realise I could pass identifier values from an
> ini file, that's useful.
>
> Unfortunately "The value on the right-hand side must be a constant float value."
>
> So this works:
>
>    Subset_Start_Frame=394
>    Declare=SSF=394
>
> But these don't:
>
>    Subset_Start_Frame=394
>    Declare=SSF=Subset_Start_Frame
>
>    Subset_Start_Frame=394
>    Declare=SSF=float(Subset_Start_Frame)
>
>    Declare=SSF=394
>    Subset_Start_Frame=SSF
>
> Declaring twice is no big hardship as long as I remember!

another option, not yet mentioned, is having a (shell) script run from the
'pre_frame_command' which writes the values to a simple CSV type file that you
can read from within the scene.


regards, jr.


Post a reply to this message

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