Graphics

 View Only
  • 1.  Script to Effect Out

    Posted 23 days ago
    Hey there,

    Could anybody share a script that triggers an effect out on any scenes in a particular layer?

    I would like to map keyboard shortcuts to remove different layers - i.e. "F10" to effect out anything in layer 2, "F9" to effect out anything in layer 3, etc.

    Thank you!

    ------------------------------
    Paulo Dias

    ------------------------------


  • 2.  RE: Script to Effect Out

    Ross Staff
    Posted 23 days ago
    dim fb as xpOutputFrameBuffer
    dim scene as xpScene
    dim dir as xpSceneDirector

    'gets output 1
    engine.GetOutputFrameBuffer(0, fb)

    'gets scene on layer 99 and plays the IN scene director 
    fb.GetSceneOnLayer(99, scene)
    scene.GetSceneDirectorByName("IN", dir)
    dir.PlayRange(0, dir.Duration)
    dir.AutoStop = true

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Script to Effect Out

    Posted 23 days ago
    Thank you Simon!

    ------------------------------
    Paulo Dias
    ------------------------------