[Papervision3D] masking entire scene with plane...
darbam at hotmail.com
Thu Feb 11 01:06:40 PST 2010
Good day again,
sorry for spending bits on the topic, this morning i realized that it is yesterday's jam...
For You out there with the same needs:
and another "video" technique:
...looks like a solution for some cases. "chroma" like masking a Papervision Scene.
From: darbam at hotmail.com
To: papervision3d at osflash.org
Date: Thu, 11 Feb 2010 03:25:38 +0000
Subject: [Papervision3D] masking entire scene with plane...
Good day to everybody on the Papervision3d mailing list,
i wondered how a masking process of an entire scene would look like?
I'm testing the FLARToolkit, and what i would like to achieve is the effect of a "marker-window" - looking through a rectangle to view (for example) another plane.
I'll try to explain myself...
I have a captured video-camera image (sequence).
In it there is the marker "rectangle", defining one plane (out of two) in 3d real space (projected on a 2d window/flashFrame of course).
Placing another plane "behind" the markerPlane (pushing it away from the viewer) i just want to see the parts of it where the two planes overlap (obviously, the markerPlane IS DEFINETLY smaller than the backPlane - which is ideally "infinitish").
Masking backPlane with (alpha) of markerPlane.
Should i manage two separate scenes, with two renders and the mixing magic after all these, or are there any know workarounds to maintain performance?
Any ideas, or working/done examples, blog-posts, tutorials... are welcome! I'm kindda in a hurry with this one...
Thanks for Your attention and time,
Windows Live Hotmail: Your friends can get your Facebook updates, right from Hotmail®.
New Windows 7: Find the right PC for you. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D