setting mask rectangles

Post Reply
leith
Posts: 194
Joined: Tue Jan 02, 2007 2:17 pm

setting mask rectangles

Post by leith »

Is there any magic to adding blocking rectangles via the OT SDK? I'm doing something very simple. Taking the center of the objects in the current frame, and then calling the Camera.AddBlockingRectangle method, subtracting and adding 10 to the center values to make a 20x20 rectangle centered on the object.

I'd expect to see the objects disappear but it seems to have no effect. Calling the enable and disable mask methods before or after seems to have no effect either.

I'm also noticing that these methods are not actually documented.
Post Reply