From: jbickers@templar.actrix.gen.nz (John Bickers)
Newsgroups: comp.sys.amiga.graphics
Subject: ANHD reltime
Date: 4 Jan 93 19:48:19 PST
Organization: TAP

    I've been trying to convert some FL[IC] animations to IFF ANIM
    format, and have run into some trouble with the reltime field in
    ANHD chunks. The description of the field from the docs on Fish
    disk #185 is:

$            ULONG reltime   (timing for frame relative to time
$                             previous frame was displayed - in
$                             jiffies (1/60 sec))

    Which sounds like a player should wait reltime jiffies before
    displaying the current frame. I made up an animation that
    displays the numbers 1 2 3 4 5 in sequence, with a 30 jiffy
    reltime value for the frame displaying the 3. From the section of
    the docs above, I was expecting the animation to pause when the
    2 was displayed. So, I tried the various players I've got:

        RTAP             - looked like it was going to crash
        MoviePRO         - didn't pause at all :)
        biganim          - paused on the 2
        ShowANIM 5.7x-02 - paused on the 3
        View 3.2         - paused on the 3

    FLI files handle pauses by using a sequence of empty frames out to
    whatever length is desired. Is that the correct way to go? It
    seems like a waste when the reltime field does exist for such
    things. What do other animation programs think?

    The test animation is brief... so here it is.

    ------------------------------ 8< ------------------------------
begin 777 0.anim
M1D]230  !V)!3DE-1D]230   DY)3$)-0DU(1    !0!0 #(      $  0  X
M  H+ 4  R$--05     &    \/#P04Y.3P   !YM:V%N:6T@,2XP("A*2D(@X
M2F%N(" T(#$Y.3,I  !"3T19   !\MD V0#9 -D V0#9 -D V0#9 -D V0#9X
M -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D X
MV0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9X
M -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D ^   >., ^   ^., ^0 ! ?CCX
M /D  0/XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#XX
M  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XX
MXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#X  !XXP#9 -D V0#9X
M -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D X
MV0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9X
M -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D X
MV0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9 -D V0#9X
M -D V0#9 -D V0#9 -D V0#9 -D V0#9 $9/4DT   #:24Q"34%.2$0    HX
M!0                     !                             $1,5$$ X
M  ">    0                                                   X
M                                        !D:$'S]_?P6$'S]_?  &X
M>(5\?W\_'P5&  3_B <# P,'____  @   3_!D>!@  (P(& "8/ P(      X
M                                  !&3U)-    T$E,0DU!3DA$    X
M* 4                     '@                            !$3%1!X
M    E    $                                                  X
M                                          9&A!\_?W\&  0?!H1_X
M?S\?!D:$_/[__P &!P $_P &!X3___[\!$D !X #  B                 X
M                      !&3U)-    P$E,0DU!3DA$    * 4         X
M             0                            !$3%1!    A    $  X
M                                                            X
M                              1&  UXA'Q_/Q\ <0 $1@ . 8/___\ X
M!P$"1@ 8X                                        $9/4DT   #8X
M24Q"34%.2$0    H!0                     !                    X
M         $1,5$$   "<    0                                   X
M                                                        !D8 X
M!'\ !7B$?']_/P>$/S\?#PA&A/____P !@"!_@, !@,"@O_^!D:"@(  "@"!X
M@  (P(&                                         1D]230   +I)X
M3$)-04Y(1    "@%                      $                     X
M        1$Q400   'X   !                                     X
M                                                       #1H0 X
M  $# 'X  T:$>/CX^  4> )& '\                                 X
M      !&3U)-    W$E,0DU!3DA$    * 4                      0  X
M                          !$3%1!    H    $                  X
M                                                            X
M              =&@A\_ @ % (0?/W]\  9XA7Q_?S\?!4F)_P<# P,'____X
M  @  X'_!D:" (  ","!@  ) (/ P(                              X
(          ""X
 X
end
    ------------------------------ 8< ------------------------------

    Also, I'm still looking for specs to the Italian DL animation
    format, used on PCs.
--
*** John Bickers, TAP.                   jbickers@templar.actrix.gen.nz ***
***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***