Log in or register to post comments

Masking a window

April 8, 2013 - 5:06pm #4

How was this masking done? http://www.youtube.com/watch?v=k0KXI5stVfM

Masking a window

April 8, 2013 - 5:11pm #3

That appears to be depth masking around the periphery of the target, which is why the interior model is culled outside of the target area.

Masking a window

April 8, 2013 - 7:12pm #2

Is this using the occlusion culling example? How do you cull the periphery of the target exactly

Masking a window

April 8, 2013 - 8:23pm #1

It's not using the Occlusion Management technique in our sample. For the depth masking approach that I'm thinking of, you would develop an extended border around the target using a mesh primitive such as a Plane. This border should be a child of the ImageTarget so that it is rendered in relation to the target area during tracking. Then select the DepthMask material as the Material for the border's Mesh Renderer(s). The DepthMask material's shader will prevent anything being rendered below the border area, which will prevent you from being able to see the model below the target when viewed at an angle.

Try using the DepthMask material in a scene and you'll see what I'm getting at.

 

 

Log in or register to post comments