Ventuz Technology Group Forum  

Ventuz Forums » Ventuz » How to... » Re: Generate a alpha mask with a selectable z-value

Re: Generate a alpha mask with a selectable z-value
Started by denilius at 07-01-2008 15:52. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  07-01-2008, 15:52
denilius is not online. Last active: 9/30/2008 9:31:18 AM denilius

Top 150 Posts
Joined on 11-14-2007
Posts 2
Generate a alpha mask with a selectable z-value
Normal 0 21 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Normale Tabelle"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

Hi,

 

I have built a scene using Ventuz Professional and I want to generate an alpha mask referring to a Z-value. The function of the mask should have the following structure.

 

if  Z(x,y) > ZM THEN M=0 ELSE M=1

 

Ventuz Professional also offers a Key node but I really don’t understand how to use it. Can I put the depth value of the object of my scene in the Z-buffer and generate an alpha mask, which changes with a selectable z-value?

 

Did anybody ever try to do this?

 

Thank you very much for your help in advance

 

bye


   Report 
  07-02-2008, 9:59
Karol is not online. Last active: 11/21/2008 10:36:06 AM Karol



Top 10 Posts
Joined on 05-15-2005
Posts 281
Re: Generate a alpha mask with a selectable z-value
Hi denilius,

you have no access to the depth-buffer in Ventuz.
The only way to mask objects by their Z value is to adapt the Depth Range properties Near and Far of the Field of View, Orthogonal or Perspective node.

Best Regards
karol


   Report