Graphics

 View Only
  • 1.  Outputting crawl end position while animating

    Posted 08-15-2023 14:22

    Is it possible to output the end position of a crawl while it is animating in the framebuffer?  I'd like to trigger a scene director script once the end of the crawl has reached a certain X position.  Thank you.



    ------------------------------
    John Robbins
    Graham Media Group
    ------------------------------


  • 2.  RE: Outputting crawl end position while animating

    Posted 08-16-2023 06:01
      |   view attached

    Hi John.

    In this case I recommend to use event marker which position x equals text position plus text weight in VL. And scrip below when event is OnShow

            Dim frambuffer As xpOutputFrameBuffer
            Dim scn As xpScene
            Dim anim As xpSceneDirector
            engine.GetOutputFrameBuffer(0, frambuffer)
            frambuffer.GetSceneOnLayer(0, scn)
            scn.GetSceneDirectorByName("anim", anim)
            anim.PlayRange(0, anim.Duration)


    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------

    Attachment(s)

    xpf
    test_160823.xpf   50 KB 1 version


  • 3.  RE: Outputting crawl end position while animating

    Posted 08-17-2023 12:26

    Thank you, Roman, for the reply.  In this case, however, I'm trying to dynamically track the end point of a crawl within a scene group that does not use a scene director.  I was looking through the xpSceneGroup members in the SDK and didn't see anything.  It's possible I may have missed something.



    ------------------------------
    John Robbins
    Graham Media Group INC
    ------------------------------