POV-Ray : Newsgroups : povray.general : How to access the value for the final frame of an animation, the kff value : Re: How to access the value for the final frame of an animation, the kff v= Server Time
30 Jul 2024 10:24:28 EDT (-0400)
  Re: How to access the value for the final frame of an animation, the kff v=  
From: Chris B
Date: 2 Apr 2009 08:49:54
Message: <49d4b472@news.povray.org>
"gregjohn" <pte### [at] yahoocom> wrote in message 
news:web.49d4a116cf786ab034d207310@news.povray.org...
>
> Render just a few frames of any scene with this settings:
> +fn  +kff1920  +stp5 +sf210 +ef800
>
> And this SDL in it:
> #debug "clock " #debug str(clock,4,3)
> #debug "  seconds " #debug str(frame_number/24,4,2)
> #debug " frame " #debug str(frame_number,5,0)
> #debug "  ff/24 " #debug str(final_frame,4,2)
> #debug "\n"
>
> You'll see that POV-Ray 3.6 (and MegaPOV) have perverted the meaning of
> "final_frame" to mean not the last frame in your whole animation but 
> rather the
> last frame in that-which-you-choose-to-render-right-now.
>

I've run this on 3.7 Beta 29 and it seems to do what you ask. It reports 
ff/24 1920.00.
It reports it as 1921.00 with the +kc option added (which I guess should be 
expected).
So it looks like someone's fixed it for the future.

I seem to remember running into this frustration with 3.6 and ended up 
simply not using the final_frame variable. Now when I try using +kff in 3.6 
at all it causes POV-Ray to hang on my machine. I'm not sure what's going on 
there, but it's prevented me running the same settings in 3.6 for comparison 
purposes.

Regards,
Chris B.


Post a reply to this message

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