|
![](/i/fill.gif) |
In article <3c9e5bca@news.povray.org> , "Rune" <run### [at] mobilixnet dk>
wrote:
> But surely calculating an integer from floats can easily lead to floating
> point precision errors? Ok, one can add 0.5 and use the int() function on
> that, but the typical new user surely don't know that.
Well, all what is needed is an "animation.inc" file which provides the correct
calculations. And also there would be some minor error, only very few
operations are applied and the error would be on the 10th or so digit.
Anyway, it turns out to be more natural to drop the initial_clock and
final_clock in favor of a start_frame and end_frame. This also has the
benefit that no hacks need to be applied to the core code to get the
user-specified initial_clock and final_clock.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |