[Papervision3D] Masking: Raising an object out of a virtual hole

Danny danny.mcgillick at gmail.com
Fri Apr 17 01:22:58 PDT 2009


Yeah I was thinking of that, but then you can only see into the pit.
Anything that ejects from it will be masked out :(

On Fri, Apr 17, 2009 at 6:20 PM, Carlos Ulloa <carlos at papervision3d.org>wrote:

> You could also render the mask object in a viewportlayer and use it to mask
> the viewportlayer where you render the masked object.
> C4
>
>
> On 17 Apr 2009, at 09:15, Gordon Everett wrote:
>
>
> Danny - there is a post on Saqoosha.com about how they mafe the hole, its
> quite easy to follow. I managed to recreate it so it must be! You make a
> cube and set all the sides to show there inside and outside faces except the
> top which you set to show only inside, so you can see in like its a box.
> Then you make a green cube with a green ColorMaterial, place it as a child
> of the first cube and apply a ColorMatrix filter to cancel out the green.
> This gives the desired effect, a bit like green screen I suppose.
>
> hth
>
> *Regards*
> *Gordon Everett*
> **
> *My preferred email address: gordon.everett2 at gmail.com*
>
> ** *My Blog: **http://flashgordonmedia.blogspot.com/*<http://flashgordonmedia.blogspot.com/>
>
> **
>
>
>
>
>
>
>
> ------------------------------
> Date: Fri, 17 Apr 2009 18:04:30 +1000
> From: danny.mcgillick at gmail.com
> To: papervision3D at osflash.org
> Subject: [Papervision3D] Masking: Raising an object out of a virtual hole
>
> Hallo again folks!
> I'm trying to open a pair of doors at the position of my AR Target in the
> FLARToolkit and then raise my car from the cavity revealed. I have my car in
> there, all my AR tracking is fine, it's the occlusion of items still in the
> hole I can't figure out.
>
> A similar effect is here on the ubiquitous FLAR new years demo:
> http://www.youtube.com/watch?v=TW6_X9qBeds
> They have the Pattern sink into the "ground" and then objects are able to
> fire out of the hole.
>
> It seems as though this is more than simple masking, as it appears to be
> masking that takes Y into account when deciding what to mask. If one was
> simply using a plane as a mask here, then objects couldn't rise past the
> edges of the hole, they'd be masked.
>
> Any ideas how this can be achieved? Thanks lads!
>
>
>
> ------------------------------
> Windows Live Messenger just got better. Find out more!<http://clk.atdmt.com/UKM/go/134665230/direct/01/>
>  _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>


-- 
.......................................

Among the things Billy Pilgrim could not change were the past, the present,
and the future.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090417/cf3dc0a5/attachment.html>


More information about the Papervision3D mailing list