[Papervision3D] Render mask
James
osflash at sonicpenguins.com
Tue Jul 28 02:42:46 PDT 2009
Hi,
I'm working on a personal AR idea, but I've got a little stuck.
I'm trying to make an AR business card, where it looks like there is a
cube inside/behind the card.
The problem I'm having is, how to mask the cube, so it only renders the
inside view.
I want it to appear as if there is a hole in the card and you are
looking inside.
Ideally I would also like it, so that when you have the card at 45
degrees, you can see the cube behind the card.
My first idea was to have a 3D plane the same shape/size as the card and
render it white. This sort of works, but it also whites out the users
fingers grasping the card.
--
James.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090728/eb162f5f/attachment.html>
More information about the Papervision3D
mailing list