assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

mixing video files with alpha



  • Hi,

    I am mixing 2 HAP-Q videos (with alpha) with the [FFGLAddAlphaChan] object.

    Not clear to me is how I can change the intensitiy of both videos.
    For example that I see 30% of video 1 (texture in 1) an 70% of video 2 (texture in 2).
    It must be different than a normal video mixer as these are files with alpha.

    So may be this is a very stupid question, but thanks for any help.

    best,
    frank


  • Beta Platinum

    @inst

    Hi,

    If the files already have alpha channels you would not need to use an Add Alpha Channel actor at all. It should work that using a video mixer with a mix amount of 0-100  you can simply adjust your 30/70 percent there.

    Best wishes

    Bonemap 



  • @bonemap 

    Thanks for your feedback.
    But what if I want to use 3 videofiles and overlay the 3 videofiles with alpha?
    Do I have to use the 3D Quad Dostort object rendere on a virtual stage?

    best,
    frank


  • Beta Platinum

    @insthi there are a number of ways to do that. Because you want to control the mix of the three videos you can use the Projector actor itself. If you look at the Projector actor you will see that it has parameters for ‘intensity ‘ and ‘layer. So you can simply send each Movieplayer to its own Projector actor and use the intensity and layer parameters to adjust the relationship between each, much like you would with Photoshop layers. The other parameter is the Additive, Transparent and Opaque options. Because the files already have transparency channels you can set the parameter to ‘transparent’.

    Best wishes

    Bonemap



  • @bonemap

    Hi,
    yes, this I know. - But I thought there is a way to set the intensity of the alpha from a video out of the middle of the patch.
    Like the alpha in [Color To RGBA].

    best,
    frank


  • Tech Staff

    @inst

    The only way I can think to 'set the intensity' of an alpha channel, would be to grab the alpha channel (8bit black and white) makes some contrast/levels adjustments and then re-apply the alpha to the color part of the video.
    I'm not sure if this is what you mean, otherwise as Bonemap suggested using 'transparent' mode with the Projectors is possibly the easiest and most flexible option.



  • @dusx

    Thanks for that tip too.

    best,
    frank