Graphics

 View Only
  • 1.  Change Preview on Sequencer

    Posted 25 days ago

    I would like to make it possible for an operator to select positions in an animation to use as the preview in the sequencer.  I want them to be able to see what the animation will look like at different places in the timeline given their text and image selections.  There are 4 different places I would like to do that.

    Any help is much appreciated!

    Here is my script so far:

    '================================
    dim sd as xpSceneDirector
    dim theSELECTON as xpTextObject
    dim currPV as long

    self.GetSceneDirectorByName("SceneDirector1",sd)
    self.GetObjectByName("PREVIEW PICTURE:",theSELECTON)

    select case theSELECTON.Text
        case "1"
            currPV = 500
        case "2"
            currPV = 770
        case "3"
            currPV = 1040
        case "4"
            currPV = 1340
        case else
            currPV =  220
    end select

    'THIS IS WHERE I THINK I NEED TO SET THE PREVIEW, BASED ON THE SCENE DIRECTOR (sd) AND THE FRAME (currPV)

    'MY ATTEMPTS HAVE FAILED.  ANY IDEAS?


    '================================



    ------------------------------
    Kraig
    ------------------------------


  • 2.  RE: Change Preview on Sequencer

    Ross Staff
    Posted 24 days ago

    If you are running XPression version 11.0+ animated previews (with pauses) is a native feature. 




  • 3.  RE: Change Preview on Sequencer

    Posted 24 days ago

    This native option works on the local preview but (as far as I know) not on the hardware preview render output.

    Here's a script that gives the operator in the sequencer the option to choose a preview frame on the hardware preview output:

    The above script goes in the "OnPreviewRender" section as you can see.

    The only thing is, that it seems to be necessary to have more than one SceneDirector to work on every system. There has to be nothing going on in the extra SceneDirector. The second one just has to be there. If you already have more than one SD, you don't have to add an extra one ;-).



    ------------------------------
    Rob van Rooyen
    Senior Graphics Specialis
    NEP The Netherlands
    Hilversum Netherlands
    ------------------------------



  • 4.  RE: Change Preview on Sequencer

    Posted 24 days ago

    That was it!  The script that I was missing was ".Position".

    Thank you!



    ------------------------------
    Kraig
    ------------------------------