Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Hierarchical Stencil Masking

Here you can share your work with other users.

Moderator: Support

Post Reply
User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Hierarchical Stencil Masking

Post by Karol » 10 Dec 2013, 16:23

Hi Ventuzians!

Sometimes it's necessary to mask a region within a superior Stencil mask. You need this e.g. to build advanced Tickers or Menus in Ventuz.
Such rendering is not achievable with the simple Stencil Set and Test nodes - you need the Stencil Advanced node.
I built an simple example with three mask layers to show how to configure the Stencil nodes to get the correct result. Enjoy!

Karol
Attachments
StencilAdv_SetTest_Emulation_Hierarchy.vzs
(19.42 KiB) Downloaded 560 times

User avatar
arthamas
Posts: 31
Joined: 14 Apr 2015, 20:20

Re: Hierarchical Stencil Masking

Post by arthamas » 17 Apr 2015, 20:21

Hi Karol,

I'm still not getting the Stencil Advanced node..
Could you make a very simple scene with just two of them with some more detailed explanations?
How do I invert the mask with this advanced node?
How do I stack them together(multiple masks)?
I want to get the basic logic of it. Even when checking your Help page on the subject I don't get it.

http://www.ventuz.com/support/help/V3_0 ... encil.html

I'm not sure this level of complexity is needed .. All this bit mask calculation with operations should be transparent. Most people won't get it and will just not use it.

I'm not sure either why this is called a Stencil. Most people know those nodes as a Mask.

Cheers,
Daniel
Professional 3D Integrator

User avatar
Karol
Posts: 640
Joined: 10 Jan 2012, 12:07

Re: Hierarchical Stencil Masking

Post by Karol » 20 Apr 2015, 12:34

Hi Daniel!

What about Stencil Set/Test nodes? Are they not sufficient for your needs?
The Stencil Adv. node just represents the Stencil functionality of DirectX 9.
That's why it's so complicated.
You could check the MSDN documentation:
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

Best Regards
Karol

Post Reply