<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Masking a 3D Container in AS3 (FP10)</title>
	<atom:link href="http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/</link>
	<description>Martin Rädlinger</description>
	<lastBuildDate>Wed, 01 Feb 2012 08:38:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Isaac Rivera</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-4422</link>
		<dc:creator>Isaac Rivera</dc:creator>
		<pubDate>Wed, 28 Jul 2010 16:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-4422</guid>
		<description>hmmm. If you want to window-mask a 3d object, lets say delimit the area where a 3d animation is visible, this wont work. The mask itself is a 2d square above everything. We dont want this 3d transformed in any way, just the object masked by it to be so and only show through the mask. This scenario is not covered in the above solution.</description>
		<content:encoded><![CDATA[<p>hmmm. If you want to window-mask a 3d object, lets say delimit the area where a 3d animation is visible, this wont work. The mask itself is a 2d square above everything. We dont want this 3d transformed in any way, just the object masked by it to be so and only show through the mask. This scenario is not covered in the above solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-4039</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sat, 11 Jul 2009 08:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-4039</guid>
		<description>You can do it like İhsan described above ... throw your masked 2D Content in another Sprite and apply all the 3d operations to this container Sprite and everthing should be fine.</description>
		<content:encoded><![CDATA[<p>You can do it like İhsan described above &#8230; throw your masked 2D Content in another Sprite and apply all the 3d operations to this container Sprite and everthing should be fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gianluca</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-4038</link>
		<dc:creator>Gianluca</dc:creator>
		<pubDate>Fri, 10 Jul 2009 22:44:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-4038</guid>
		<description>I have the same problem how do you solve it?</description>
		<content:encoded><![CDATA[<p>I have the same problem how do you solve it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-3935</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Wed, 08 Apr 2009 09:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-3935</guid>
		<description>Can you provide an example where it doesn&#039;t work. in the beginning it didn&#039;t work for me either and suddenly worked ... so actually I&#039;m using it now with a mask</description>
		<content:encoded><![CDATA[<p>Can you provide an example where it doesn&#8217;t work. in the beginning it didn&#8217;t work for me either and suddenly worked &#8230; so actually I&#8217;m using it now with a mask</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Strømberg</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-3934</link>
		<dc:creator>Peter Strømberg</dc:creator>
		<pubDate>Tue, 07 Apr 2009 21:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-3934</guid>
		<description>THat dosn&#039;t appear to work for masks</description>
		<content:encoded><![CDATA[<p>THat dosn&#8217;t appear to work for masks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-3918</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Thu, 12 Mar 2009 21:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-3918</guid>
		<description>Great I can&#039;t believe it. I just put the code for the 3d transitions back in and it suddenly works. Strange somehow, I&#039;m not sure what I was doing wrong in the first place, but hey ... it&#039;s working now. Thanks for pointing me to this workaround (even if the solution was already in my code) ... just weird!!</description>
		<content:encoded><![CDATA[<p>Great I can&#8217;t believe it. I just put the code for the 3d transitions back in and it suddenly works. Strange somehow, I&#8217;m not sure what I was doing wrong in the first place, but hey &#8230; it&#8217;s working now. Thanks for pointing me to this workaround (even if the solution was already in my code) &#8230; just weird!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-3913</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 08 Mar 2009 22:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-3913</guid>
		<description>actually I tried this as well and it didn&#039;t work out for me. but I&#039;ll definitely give that another shot ... well, lets see if there is a happy end for my project, too. I&#039;ll keep you posted about the result.</description>
		<content:encoded><![CDATA[<p>actually I tried this as well and it didn&#8217;t work out for me. but I&#8217;ll definitely give that another shot &#8230; well, lets see if there is a happy end for my project, too. I&#8217;ll keep you posted about the result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: İhsan</title>
		<link>http://blog.formatlos.de/2009/02/16/masking-a-3d-container-in-as3-fp1/comment-page-1/#comment-3911</link>
		<dc:creator>İhsan</dc:creator>
		<pubDate>Thu, 05 Mar 2009 19:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.formatlos.de/?p=298#comment-3911</guid>
		<description>Well, that issue was a total deception for me too. But there is a workaround.
When you define a sprite for 3d properties, define another child sprite in it for 2d rendering. Do all coordinate and 3d operations in the parent and 2d rendering in the child. That worked perfect[including scrollRect(in child)] for me.
Example:
in the fla file actionscript:

var p: Sprite = new Sprite();
var c: Sprite = new Sprite();
p.addChild(c);
p.x = 100;
p.y = 100;
p.z = 10; // for instance
c.graphics.beginFill(0x0000F0);
c.graphics.drawRoundRect(0,0,50,100,5);
c.graphics.endFill();
c.scrollRect = new Rectangle(0,0,50,50);
//remove remarks for
//p.rotationX=45;// testing with these
//p.rotationZ=45;// to see clipping
//is actually done, 
addChild(p);


// this will render a square instead of rectangle in 3d
I hope this helps.</description>
		<content:encoded><![CDATA[<p>Well, that issue was a total deception for me too. But there is a workaround.<br />
When you define a sprite for 3d properties, define another child sprite in it for 2d rendering. Do all coordinate and 3d operations in the parent and 2d rendering in the child. That worked perfect[including scrollRect(in child)] for me.<br />
Example:<br />
in the fla file actionscript:</p>
<p>var p: Sprite = new Sprite();<br />
var c: Sprite = new Sprite();<br />
p.addChild(c);<br />
p.x = 100;<br />
p.y = 100;<br />
p.z = 10; // for instance<br />
c.graphics.beginFill(0x0000F0);<br />
c.graphics.drawRoundRect(0,0,50,100,5);<br />
c.graphics.endFill();<br />
c.scrollRect = new Rectangle(0,0,50,50);<br />
//remove remarks for<br />
//p.rotationX=45;// testing with these<br />
//p.rotationZ=45;// to see clipping<br />
//is actually done,<br />
addChild(p);</p>
<p>// this will render a square instead of rectangle in 3d<br />
I hope this helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

