Graphics

 View Only
  • 1.  Volatiletexturefile not showing up on preview window.

    Posted an hour ago

    Hey there,

    I've been having issues with a project in which video files set through scripting don't show up in the preview window, yet are fine when taking online.

    We have quite a few lower frame supers that change background videos to reflect the chosen team, I have scripts in both OnOnline and OnPreviewRender tabs which are both compiled, and the video file changes to the correct team option when played out, but the preview always just shows the dummy video instead of the chosen volatiletexturefile. Preview frame is set after all animations play out.

    See below for script

    dim base as xpBaseObject
    dim Talent as xpTextObject


    self.GetObjectByName ("BG",base)
    self.GetObjectByName ("Talent txt",Talent)

    base.SetVolatileTextureFile(0, "Z:\GraphiteProjects\ITBP\VIDEO\" & Talent.text & " Crystal ONE.avi")

    Would love some guidance on what I'm most likely missing here, thanks!



    ------------------------------
    Benjamin Dixon
    Graphic designer / Operator
    ------------------------------


  • 2.  RE: Volatiletexturefile not showing up on preview window.

    Posted an hour ago

    Have you tried using dynamic materials rather than scripting using volatile texture, there are some performance issues using volatile texture that you won't see if using dynamic material.  



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