[Papervision3D] Advanced Masking question

Danny danny.mcgillick at gmail.com
Tue Apr 21 03:11:35 PDT 2009


Heya guys, I went with the solution over at
http://saqoosha.net/en/2009/01/08/1676/ which is a chroma key. Unfortunately
other issues I have with lots of viewport layers means I've gone with a
simpler introduction. Thanks for all the suggestions!
On Sat, Apr 18, 2009 at 5:21 AM, Steve D <kruass at gmail.com> wrote:

> Except he wants the cube to mask whats inside it.  I'm not sure offhand how
> to separate the external faces of a cube with its internal faces, so I'd
> suggest using two cubes: insideCube and outsideCube.
>
> insidecube should only have internal faces, and no external faces.
> outsidecube is the opposite (no internal faces).
>
> then use the following:
> viewport.getChildLayer(insidecube).mask = viewport.getChildLayer(
> outsidecube);
>
> As long as the cubes share the same transformation info, I think that will
> work.
>
>
>
>
> On Fri, Apr 17, 2009 at 5:30 AM, CodeJockey1 <codejockey1 at gmail.com>wrote:
>
>>
>> Simple solution:
>>
>> create a cube, and turn off all of the outside faces so the material only
>> shows on the inside faces.  Done!
>> --
>> View this message in context:
>> http://www.nabble.com/Advanced-Masking-question-tp21144142p23096640.html
>> Sent from the Papervision3D mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20090421/92b228e3/attachment-0001.html>


More information about the Papervision3D mailing list