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!

RenderTarget with Stencil

All other topics about Ventuz here.

Moderator: Support

Post Reply
Drac Zhang

RenderTarget with Stencil

Post by Drac Zhang » 19 Jan 2015, 09:15

Hi,
I used render target with stencil like this
test1.png
test1.png (6.04 KiB) Viewed 2811 times
I found that if I select the RenderTarget-Quality-Best or Default,all the things will gone.
But if set the value to None/Low/Medium it works correct.
test2.png
test2.png (5.29 KiB) Viewed 2811 times
I also upload the vza for you to see does it something wrong

Best Regards
Drac Zhang
Attachments
test.vza
(6.25 KiB) Downloaded 270 times

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: RenderTarget with Stencil

Post by lerou » 19 Jan 2015, 11:14

Hi,

are you purposely trying to share the frame buffer's stencil buffer? Otherwise I would suggest checking the "DepthStencilCreate" flag in the render target node and putting all stencil elements (rects with test and set) behind the render target. That way you use the render target's (then created) stencil buffer.

cheers,
rou

Drac Zhang

Re: RenderTarget with Stencil

Post by Drac Zhang » 20 Jan 2015, 02:32

Hi,

Because of I need to use 1machine to show the content on two displays, but each of the display shows the same thing and can't see the content on the other display.
So I have to use stencil node in front of all the nodes. I also tried "DepthStencilCreate" selected, but all the things behind the Render Target is gone.

Best Regards
Drac Zhang

Post Reply