Heya guys, I went with the solution over at <span class="Apple-style-span" style="border-collapse: collapse; "><a href="http://saqoosha.net/en/2009/01/08/1676/" target="_blank" style="color: rgb(92, 69, 32); ">http://saqoosha.net/en/2009/01/08/1676/</a><span class="Apple-style-span" style="border-collapse: separate; "> which is a chroma key. Unfortunately other issues I have with lots of viewport layers means I&#39;ve gone with a simpler introduction. Thanks for all the suggestions!</span></span><div class="gmail_quote">
<br></div><div class="gmail_quote">On Sat, Apr 18, 2009 at 5:21 AM, Steve D <span dir="ltr">&lt;<a href="mailto:kruass@gmail.com">kruass@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Except he wants the cube to mask whats inside it.  I&#39;m not sure offhand how to separate the external faces of a cube with its internal faces, so I&#39;d suggest using two cubes: insideCube and outsideCube.<br><br>insidecube should only have internal faces, and no external faces.<br>

outsidecube is the opposite (no internal faces).<br><br>then use the following:<br>viewport.<span style="color:rgb(0, 102, 0)">getChildLayer</span><span style="color:rgb(102, 204, 102)">(</span>insidecube<span style="color:rgb(0, 0, 0);font-weight:bold"></span><span style="color:rgb(102, 204, 102)">)</span>.<span style="color:rgb(0, 102, 0)">mask</span> = viewport.<span style="color:rgb(0, 102, 0)">getChildLayer</span><span style="color:rgb(102, 204, 102)">(</span>outsidecube<span style="color:rgb(102, 204, 102)">)</span>;<br>

<span style="color:rgb(102, 204, 102)"><br></span>As long as the cubes share the same transformation info, I think that will work.<div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 5:30 AM, CodeJockey1 <span dir="ltr">&lt;<a href="mailto:codejockey1@gmail.com" target="_blank">codejockey1@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><br>
Simple solution:<br>
<br>
create a cube, and turn off all of the outside faces so the material only<br>
shows on the inside faces.  Done!<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Advanced-Masking-question-tp21144142p23096640.html" target="_blank">http://www.nabble.com/Advanced-Masking-question-tp21144142p23096640.html</a><br>
</font><div>Sent from the Papervision3D mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>Papervision3D mailing list<br>
<a href="mailto:Papervision3D@osflash.org" target="_blank">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>
</div></div></blockquote></div><br>
</div></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>