Masking video

Another noob question…

I render a mask on top of the video from vlc filestream. My approach in the attachment. The problem is that when the patch is loaded the video playback starting in low resolution (like if the video is rendering in hidden EX9 Render node). As soon as I add and connect another render node to vlc texture, the Final render resolution going to the normal (1280x720,native).
Unfortunately, I also don’t understand dependencies of Render node state (hidden, windowed or fullscreen) on Final fullscreen render if I mix several EX9 out’s thru Blend node. Is it possible to keep pre-render window hidden, but get the full screen resolution? Can’t find proper preset in the Inspektor. Can I get rid of pre-render nodes?

Any advice would be appreciated.

P.S. Also can’t find the preset or smthg to make all render windows tabbed in one window.

video.7z (2.3 MB)

Your mask window should be hidden and that should fix the problem. If it doesn’t keep it minimized and set the backbuffer of your mask renderer to the same size as the video texture you’re masking.

As you open the patch, the resolution of the FileStream (EX9.Texture VLC) texture appears to be 2 * 2 - which could be an issue; if one links another Info (EX9.Texture) it goes to the correct res.
So you should link Width and Height of the Renderer-Final to the Width and Height pins of DX9Texture (EX9.Texture): this way, the resolution of the texture out of Blend node is correct.
If a Renderer is not supposed to show something, but just to be there to do some multipass rendering, as in your case I’d say, select them and hit ALT + 3 and set them to hidden mode.
To understand how textures resolution is managed, right click on Blend node: you’ll see that DX9Texture is the one receiving the texture resolution values, and the renderer is hidden. In your case I’d do the same - renderer backbuffer width|height = 0, DX9Texture width|height = input texture resolution.

If you press ALT and drag a renderer into another, they tab together. Do the opposite to un-tab.
Read UI Reference for shortcuts et similia.

video_mod.v4p (10.0 kB)

Thanks a lot, h99,

Now it’s clear. That’s exactly what I need! (Width and Height pins trick).