I need a “mask”-like transparent object to hide a model parented to aspect2d. Basically, an object that will hide what’s behind it on the aspect2d scene, but still show what’s on render. I want to use a Sequence to reveal more and more of the object underneath the mask (with scale intervals), but I’ve no idea how to make this mask. Is it possible?
I’ve tried transparent DirectGUI elements, cull bins, clip planes, etc but to no avail.
If I understand the problem correctly, then you might have success with stencil rendering. Basically you would clear the stencil mask to 0x00, render your object and set the stencil mask to 0x01, then after rendering that, you show the scene using a StencilTestAttrib. I don’t have an example handy though.