Graphics

 View Only
  • 1.  Event Marker to Clear Lower FrameBuffer Layers Underneath??

    Posted 03-28-2012 21:59
    Hey everyone. I have some questions regrading triggering event markers in a scene. What I'm looking for is the ability to run an event in a scene that will clear all of the lower frame layers on that framebuffer except the layer that our tease graphic is on. Any help or suggestions would be greatly appreciated. Thanks a lot in advance.


  • 2.  RE: Event Marker to Clear Lower FrameBuffer Layers Underneath??

    Posted 03-29-2012 02:46
    You could do this with a script in the OnRender event of your tease graphic.

    This script (just an example) will clear the 5 layers below whichever layer your tease scene is on, whenever the scenedirector gets to frame 10.



    dim i as integer

    dim framebuffer as integer

    dim layer as integer

    if self.isonline and self.scenedirector.position = 10 then

    self.GetOnline(framebuffer, layer)

    for i = (layer-5) to (layer-1)

    engine.clearframebufferlayer(framebuffer, i)

    next

    end if



    #XPression


  • 3.  RE: Event Marker to Clear Lower FrameBuffer Layers Underneath??

    Posted 03-29-2012 12:04
    Thanks ALOT!! It works perfectly. I'll be putting it in all of my tease graphics and our profiles that we roll out of the Xpression.

    #XPression