[Papervision3D] masking entire scene with plane...

Huge Ontoman 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:
http://pv3d.org/2008/12/07/using-a-viewport-as-a-mask/

and another "video" technique: 
http://saqoosha.net/en/2009/01/08/1676/
...looks like a solution for some cases. "chroma" like masking a Papervision Scene.

Cheers,
Huge

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,
Huge
 		 	   		  
Windows Live Hotmail:  Your friends can get your Facebook updates, right from Hotmail®. 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20100211/bbdf0ae8/attachment.html>


More information about the Papervision3D mailing list