Graphics

 View Only
  • 1.  Stripping layer from template

    Posted 01-17-2015 01:45
    I am trying to figure out a way to include a branding logo in lower third templates to show producers where our bug is. The bug will air from another channel and may animate, so leaving a static version in lower thirds is not a good option.

    Can I either display the logo only in the ENPS Xpression plug-in preview, but not in the actual font for air....or strip it before airing?


  • 2.  RE: Stripping layer from template

    Posted 01-17-2015 03:47
    You could add the objects to the scene but hidden; then you can use an OnPreviewRender Script to make the objects visible... It would also show up in the XPression Studio preview as well, but maybe that is not such a bad thing..

    #XPression


  • 3.  RE: Stripping layer from template

    Posted 01-22-2015 17:57
    I'd go with what Brian said. The scripts would be very simple to write.

    In OnOnline:

    dim bug as xpBaseObject

    Self.GetObjectByName("Bug Object", bug)

    bug.Visible=False



    In OnPreviewRender:

    dim bug as xpBaseObject

    Self.GetObjectByName("Bug Object", bug)

    bug.Visible=True



    #XPression


  • 4.  RE: Stripping layer from template

    Posted 01-23-2015 03:54
    Brian, I just got back to this today...Dan, I wish I'd checked the forum because I sat down this afternoon and put this together:

    Dim logo as xpBaseObject

    Self.GetObjectByName("logo", logo)

    logo.Visible = True

    ...but I only included the script in OnPreviewRender. It seemed like it was working in plug-in preview and when I output the scene. If the Xpression template has the bug not visible, do I need the OnOnline side of this? Is it a safety?

    Oh...what about the "____object" in the Self.GetObjectByName line?

    Thanks,

    James.

    #XPression


  • 5.  RE: Stripping layer from template

    Posted 01-23-2015 14:05
    The OnOnline would only be for safety incase you accidently left the bug visible in the template.

    #XPression


  • 6.  RE: Stripping layer from template

    Posted 01-23-2015 16:02
    James, your script will work just fine. I was just putting down an example of how I would do it. Yes, the OnOnline is just there as a safety net (I've had to use it at my station several times and a line that simple has saved me).

    As for the object get, I was just using filler to get the idea across. You're using `Self.GetObjectByName("logo", logo)` which works just as fine.

    #XPression


  • 7.  RE: Stripping layer from template

    Posted 01-23-2015 21:24
    I am all for covering my accidents---thanks much!

    #XPression


  • 8.  RE: Stripping layer from template

    Posted 01-23-2015 21:27
    "We don't make mistakes, just happy little accidents"

    - Bob Ross

    #XPression


  • 9.  RE: Stripping layer from template

    Posted 02-11-2015 01:55
    So...Now I am trying to figure out where to add the script to to strip the "logo" from something I've exported from the Studio Sequence--OnRender?

    #XPression


  • 10.  RE: Stripping layer from template

    Posted 02-11-2015 15:27
    You could put the `logo.Visible=False` chunk of code in every other field.

    I believe that OnRender would do it, but if it doesn't, you just need that little bit of the script in the right place and it should do it. Some experimenting may be required if someone more educated than me doesn't step in.

    #XPression