Oh fantastic, thanks Gordon, I'll search it out this weekend!<br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 6:15 PM, Gordon Everett <span dir="ltr"><<a href="mailto:gordee@hotmail.co.uk">gordee@hotmail.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<br>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.<br>
<br>hth <br><br><p dir="ltr" style="margin-right:0px"><em>Regards</em><br><em>Gordon Everett</em><br></p><em></em> <br><em><strong>My preferred email address: </strong><a href="mailto:gordon.everett2@gmail.com" target="_blank"><strong>gordon.everett2@gmail.com</strong></a></em><br>
<br><em></em> <em><strong>My Blog: </strong></em><a href="http://flashgordonmedia.blogspot.com/" target="_blank"><em><strong>http://flashgordonmedia.blogspot.com/</strong></em></a><br><br><em></em> <br><br><br><br><br><br>
<br><br><hr>Date: Fri, 17 Apr 2009 18:04:30 +1000<br>From: <a href="mailto:danny.mcgillick@gmail.com" target="_blank">danny.mcgillick@gmail.com</a><br>To: <a href="mailto:papervision3D@osflash.org" target="_blank">papervision3D@osflash.org</a><br>
Subject: [Papervision3D] Masking: Raising an object out of a virtual hole<div><div></div><div class="h5"><br><br>Hallo again folks!<div><br></div><div>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.</div>
<div><br></div><div>A similar effect is here on the ubiquitous FLAR new years demo: <a href="http://www.youtube.com/watch?v=TW6_X9qBeds" target="_blank">http://www.youtube.com/watch?v=TW6_X9qBeds</a></div><div>They have the Pattern sink into the "ground" and then objects are able to fire out of the hole. </div>
<div><br></div><div>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.</div>
<div><br></div><div>Any ideas how this can be achieved? Thanks lads!</div><div><br></div><div><br>
</div><br></div></div><hr>Windows Live Messenger just got better. <a href="http://clk.atdmt.com/UKM/go/134665230/direct/01/" target="_blank">Find out more!</a></div>
<br>_______________________________________________<br>
Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org">Papervision3D@osflash.org</a><br>
<a href="http://osflash.org/mailman/listinfo/papervision3d_osflash.org" target="_blank">http://osflash.org/mailman/listinfo/papervision3d_osflash.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>.......................................<br><br>Among the things Billy Pilgrim could not change were the past, the present, and the future.<br>