Previous Next


                                                    799
          SECTION 9.5                                                                  3D Artwork



          3D Animation Style Dictionaries

          A 3D animation style dictionary (PDF 1.7) specifies the preferred method that
          viewer applications should use to apply timeline scaling to keyframe animations.
          It can also specify that keyframe animations be played repeatedly. The AN entry
          of the 3D stream can specify a 3D animation style dictionary.

          A keyframe animation can be provided as the content of a 3D stream dictionary.
          A keyframe animation provides key frames and specifies the mapping for the po-
          sition of geometry over a set period of time (animation timeline). Keyframe ani-
          mation is an interactive feature that is highly dependent on the behavior and
          controls provided by the viewer application.

          Table 9.36 shows the entries in an animation style dictionary.

                         TABLE 9.36 Entries in an 3D animation style dictionary
KEY           TYPE          VALUE

Type          name          (Optional). The type of PDF object that this dictionary describes; if present, must
                            be 3DAnimationStyle.

Subtype       name          (Optional) The animation style described by this dictionary; see Table 9.37 for
                            valid values. If an animation style is encountered other than those described in
                            Table 9.37, an animation style of None is used.
                            Default value: None

PC            integer       (Optional) An integer specifying the play count for this animation style. A non-
                            negative integer represents the number of times the animation is played. A nega-
                            tive integer indicates that the animation is infinitely repeated. This value is ig-
                            nored for animation styles of type None.
                            Default value: 0

TM            number        (Optional) A positive number specifying the time multiplier to be used when
                            running the animation. A value greater than one shortens the time it takes to play
                            the animation, or effectively speeds up the animation. This allows authors to ad-
                            just the desired speed of animations, without having to re-author the 3D artwork.
                            This value is ignored for animation styles of type None.
                            Default value: 1

Previous Next