Graphics

 View Only
  • 1.  Play Scene Director in First Scene from Second Scene

    Posted 12-07-2016 02:03
    I have with three layers of lower thirds.
    To start out I am working on the first two layers.
    The first scene on lowest layer (layer 1) has a video bar as the background and several text objects.
    One scene director governs the loop point of the video material.
    Another scene director governs the movement of the text objects as they appear.
    A third scene director (TextAnimates) simply fades the alpha of the text objects from 100 to 0 and then pauses, after the pause, it reverses.

    The scene on the next layer (layer 2) has a script event on a scene director I hope to make play the TextAnimates scene director on the first scene.

    The script is:

    dim output as xpoutputFramebuffer
    dim TextAnimates as xpSceneDirector
    engine.Getoutputframebuffer(0, output)
    output.GetSceneonlayer(1, scene)
    scene.GetSceneDirectorByName("Play", TextAnimates)

    Any suggestions on why this isn't working?


  • 2.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-07-2016 05:22
    A little more time and I've changed the script to this:

    dim output as xpoutputFramebuffer
    dim TextAnimates as xpSceneDirector
    engine.Getoutputframebuffer(0, output)
    output.GetSceneonlayer(1, scene)
    scene.GetSceneDirectorByName("TextAnimates", TextAnimates)
    TextAnimates.Play

    I also made both script events read only from the left---and they both work...one time each.

    I tried this script event at the very head of the scene director:

    dim output as xpoutputFramebuffer
    dim TextAnimates as xpSceneDirector
    engine.Getoutputframebuffer(0, output)
    output.GetSceneonlayer(1, scene)
    scene.GetSceneDirectorByName("Refresh", TextAnimates)

    but it doesn't make the fade out work a second time.
    #XPression


  • 3.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-08-2016 10:57
    You never "reset" the scenedirector. So first time, you play it well. But you have to put it at position 0 to play it again... Because next time you do a play, scenedirector position is at its last frame... So it does nothing...
    #XPression


  • 4.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-09-2016 02:36
    Vinz,

    The first script event (activated from left) in the layer two scene: GetLayerSlug plays the layer one scene: GetLayerAnimates scene director "TextAnimates" which makes the text fade to zero alpha and plays down to a pause event. The second script event (activated from left) releases the pause and immediately comes to reverse event which brings the text back to 100 percent. At the head of the timeline, I have third script event (activated from right) which should set the scene director position at 0----although it seems like the reverse direction would play back to the head on its own.

    first & second events:
    dim output as xpoutputFramebuffer
    dim TextAnimates as xpSceneDirector
    engine.Getoutputframebuffer(0, output)
    output.GetSceneonlayer(1, scene)
    scene.GetSceneDirectorByName("TextAnimates", TextAnimates)
    TextAnimates.Play

    third event:
    dim output as xpoutputFramebuffer
    dim TextAnimates as xpSceneDirector
    engine.Getoutputframebuffer(0, output)
    output.GetSceneonlayer(1, scene)
    scene.GetSceneDirectorByName("TextAnimates", TextAnimates)
    TextAnimates.Postion=0

    The TextAnimates scene director will only work the first time, unless I take the scene on layer one offline---then it works one time again.

    I also tried a jump to frame 0 event (activated from right,) but that didn't fix it either.

    What am I missing?

    Thanks,
    James.
    #XPression


  • 5.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-09-2016 11:27
    Send me your project, I'll look what you did. See MP
    #XPression


  • 6.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-10-2016 15:21
    Instead of using TextAnimates.Play, you could try TextAnimates.PlayRange(0, TextAnimates.Duration).
    This might avoid the need to reset it.
    #XPression


  • 7.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-11-2016 12:05
    Could you use a scene trigger event on the scene 2 that triggers the scene director in scene 1 instead of scripting?
    #XPression


  • 8.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-17-2016 02:52
    Vinz, I've emailed you my project.

    Brian, I tried your suggestion, but it didn't seem to fix the problem.

    Redmile, I have several sets of these lower thirds, so I didn't think the Trigger would work.

    #XPression


  • 9.  RE: Play Scene Director in First Scene from Second Scene

    Posted 12-17-2016 09:25
    Didn't received anything...
    #XPression


  • 10.  RE: Play Scene Director in First Scene from Second Scene

    Posted 01-03-2017 03:20
    So, I've been able to make the three layers work...under some circumstances. and with some glitches. I've been advised to approach this through Transition Logic, so I started working on rebuilding my graphics to take advantage of this capability. A problem is that I set our system up to allow the director to clear lower thirds (played from the Remote Sequencer) by resuming a pause on the main scene director through our RossTalk and our Carbonite ShotBox. I tried putting a pause at frame one of the main scene director and a take offline event at frame two, thinking that this would then trigger the "out" scene director, but it simply cut the scene offline. Any suggestions?

    Thanks,
    James.
    #XPression