<?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: The Middle Finger Pub: tell your boss how much you don&#8217;t like him</title>
	<atom:link href="http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/feed/" rel="self" type="application/rss+xml" />
	<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 01:37:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: david</title>
		<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/comment-page-1/#comment-225</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 05 Oct 2006 05:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://newsfeed.fatorcaos.com.br/wp/?p=72#comment-225</guid>
		<description>Thanks for taking the time to reply - looks like I&#039;ve got some reading to do. Fantastic work! Really nice site concept and very well put together.</description>
		<content:encoded><![CDATA[<p>Thanks for taking the time to reply &#8211; looks like I&#8217;ve got some reading to do. Fantastic work! Really nice site concept and very well put together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zeh</title>
		<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/comment-page-1/#comment-224</link>
		<dc:creator>Zeh</dc:creator>
		<pubDate>Thu, 05 Oct 2006 03:57:30 +0000</pubDate>
		<guid isPermaLink="false">http://newsfeed.fatorcaos.com.br/wp/?p=72#comment-224</guid>
		<description>David: it isn&#039;t much secret, but I don&#039;t think it&#039;s easy to describe.

Well, I basically have the sides, which have their position defined by an easeinoutexpo equation (see Robert Penner&#039;s equations). Based on these positions I define the correct x1 and x2 for each row of the animation. Then for the animation, I make a value go from 0 to 1, and when going from 0 to 1, I update the screen &quot;projecting&quot; the current area of the box to the correct rows. This is just to define the screen boundaries.

Based on the screen boundaries, I capture portions of the original image and project them to the correct position using copyRect. It has a low quality (you&#039;ll notice it&#039;s not pixel-perfect) because it has speed in mind, but the effect is good enough.

Of course it&#039;s important to use some transition/tweening engine too so things will be smooth. I used my own Tweener which is still undocumented (www.osflash.org/tweener), but on that aspect, you&#039;ll also be fine using MC Tween, Laco&#039;s tween, the Fuse Kit, etc.

I don&#039;t know if I&#039;ve made myself clear, but that&#039;s what I do.

However, you can forget most of that and do that with a DisplacementMapFilter instead. It&#039;d probably have a much better quality even, and be much faster, although it would be a bit more complex to generate the initial grayscale displacement map (I didn&#039;t want to go through that when I created the thing because I needed to do it fast).</description>
		<content:encoded><![CDATA[<p>David: it isn&#8217;t much secret, but I don&#8217;t think it&#8217;s easy to describe.</p>
<p>Well, I basically have the sides, which have their position defined by an easeinoutexpo equation (see Robert Penner&#8217;s equations). Based on these positions I define the correct x1 and x2 for each row of the animation. Then for the animation, I make a value go from 0 to 1, and when going from 0 to 1, I update the screen &#8220;projecting&#8221; the current area of the box to the correct rows. This is just to define the screen boundaries.</p>
<p>Based on the screen boundaries, I capture portions of the original image and project them to the correct position using copyRect. It has a low quality (you&#8217;ll notice it&#8217;s not pixel-perfect) because it has speed in mind, but the effect is good enough.</p>
<p>Of course it&#8217;s important to use some transition/tweening engine too so things will be smooth. I used my own Tweener which is still undocumented (www.osflash.org/tweener), but on that aspect, you&#8217;ll also be fine using MC Tween, Laco&#8217;s tween, the Fuse Kit, etc.</p>
<p>I don&#8217;t know if I&#8217;ve made myself clear, but that&#8217;s what I do.</p>
<p>However, you can forget most of that and do that with a DisplacementMapFilter instead. It&#8217;d probably have a much better quality even, and be much faster, although it would be a bit more complex to generate the initial grayscale displacement map (I didn&#8217;t want to go through that when I created the thing because I needed to do it fast).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/comment-page-1/#comment-223</link>
		<dc:creator>david</dc:creator>
		<pubDate>Thu, 05 Oct 2006 03:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://newsfeed.fatorcaos.com.br/wp/?p=72#comment-223</guid>
		<description>Very, very nice. It is such a coincidence that I stumbled upon this sight this morning - I am currently putting together a CD-ROM which uses the same pseudo 3d effect - onlt the objects that I rotate are 3d studio max models brought in as flash video files with an alpha channel - Really nice effect. The coincidental part is that fact that one of the designer suggested that we try to mimic the genie style osx transition for moving between screens - How on earth did you achieve this?</description>
		<content:encoded><![CDATA[<p>Very, very nice. It is such a coincidence that I stumbled upon this sight this morning &#8211; I am currently putting together a CD-ROM which uses the same pseudo 3d effect &#8211; onlt the objects that I rotate are 3d studio max models brought in as flash video files with an alpha channel &#8211; Really nice effect. The coincidental part is that fact that one of the designer suggested that we try to mimic the genie style osx transition for moving between screens &#8211; How on earth did you achieve this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zeh</title>
		<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/comment-page-1/#comment-222</link>
		<dc:creator>zeh</dc:creator>
		<pubDate>Sun, 30 Apr 2006 21:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://newsfeed.fatorcaos.com.br/wp/?p=72#comment-222</guid>
		<description>João,

Obrigado.

Apesar de que tiveram alguns detalhes no cilindro que tornaram a coisa toda muito mais difícil (o fato de que os pedaços &quot;se esticam&quot; ao passar por trás, é imperceptível mas era necessário pelo fato de cada pessoa ter só 6 vídeos), no geral só o que é necessário pra fazer algo nesse sentido é conhecimento da projeção de pontos 3d (xyz) pra 2d (xy). E um pouco de trigonometria. Aquilo nada mais é que um monte de pontos criados e projetados, e aí desenhados usando os comandos de desenho; as imagens são simplesmente escaladas pra caber nas laterais, e mascaradas na borda pra parecer que estão sendo curvadas. É um efeito bem simples, e como a imagem é pequena, não dá pra perceber que é &quot;errado&quot;.

Projeção 3d é um assunto complexo, mas tudo que você precisa aprender pra fazer algo semelhante pode ser encontrado pode ser encontrado aqui:

http://www.kirupa.com/developer/actionscript/3dindex.htm

Não usei os ensinamentos desse site pra fazer essa coisa (já que já faço esse tipo de projeção há alguns anos) então você não vai achar nenhuma tradução direta ou receita de bolo para fazer aquilo; no entanto, o que você vai encontrar aí são todas as informações necessárias pra criar coisas semelhantes. É o link que sempre recomendo para pessoas que queiram aprender projeção 3d num ambiente 2d. É um assunto bem grande, mas bastante bacana depois de compreendido.

--//--

João,

Thanks.

Although there were a few details on the cylinder that made the thing a lot more difficult (the fact that slices on the back of the cylinder &quot;increase&quot; in size, it&#039;s impossible to notice but it was needed because each employee only had 6 videos), in general all that&#039;s needed to do something like that is knowing how to project 3d points (xyz) on 2d (xy). And a bit of trigonometry. That&#039;s nothing more than a bunch of points created and projected, then draw using the drawing API; images are simply scaled to fit the sides, and masked on the border to look like they&#039;re being bended. It&#039;s a pretty simple effect, and since the image is small, you can&#039;t notice it&#039;s &quot;wrong&quot;.

3d projection is a complex issue, but everything you need to learn to do something similar can be found here:

http://www.kirupa.com/developer/actionscript/3dindex.htm

I didn&#039;t learn from this website to do the thing (I&#039;ve been doing that kind of projection for a few years), so you won&#039;t find a direct translation of what I did there or any easy recipe to redo it; however, what you&#039;ll find there is all the information needed to create similar stuff. It&#039;s the link I always recommend for people wanting to learn 3d projection on a 2d environment. It&#039;s a pretty complex issue, but pretty cool after you &quot;get&quot; it.</description>
		<content:encoded><![CDATA[<p>João,</p>
<p>Obrigado.</p>
<p>Apesar de que tiveram alguns detalhes no cilindro que tornaram a coisa toda muito mais difícil (o fato de que os pedaços &#8220;se esticam&#8221; ao passar por trás, é imperceptível mas era necessário pelo fato de cada pessoa ter só 6 vídeos), no geral só o que é necessário pra fazer algo nesse sentido é conhecimento da projeção de pontos 3d (xyz) pra 2d (xy). E um pouco de trigonometria. Aquilo nada mais é que um monte de pontos criados e projetados, e aí desenhados usando os comandos de desenho; as imagens são simplesmente escaladas pra caber nas laterais, e mascaradas na borda pra parecer que estão sendo curvadas. É um efeito bem simples, e como a imagem é pequena, não dá pra perceber que é &#8220;errado&#8221;.</p>
<p>Projeção 3d é um assunto complexo, mas tudo que você precisa aprender pra fazer algo semelhante pode ser encontrado pode ser encontrado aqui:</p>
<p><a href="http://www.kirupa.com/developer/actionscript/3dindex.htm" rel="nofollow">http://www.kirupa.com/developer/actionscript/3dindex.htm</a></p>
<p>Não usei os ensinamentos desse site pra fazer essa coisa (já que já faço esse tipo de projeção há alguns anos) então você não vai achar nenhuma tradução direta ou receita de bolo para fazer aquilo; no entanto, o que você vai encontrar aí são todas as informações necessárias pra criar coisas semelhantes. É o link que sempre recomendo para pessoas que queiram aprender projeção 3d num ambiente 2d. É um assunto bem grande, mas bastante bacana depois de compreendido.</p>
<p>&#8211;//&#8211;</p>
<p>João,</p>
<p>Thanks.</p>
<p>Although there were a few details on the cylinder that made the thing a lot more difficult (the fact that slices on the back of the cylinder &#8220;increase&#8221; in size, it&#8217;s impossible to notice but it was needed because each employee only had 6 videos), in general all that&#8217;s needed to do something like that is knowing how to project 3d points (xyz) on 2d (xy). And a bit of trigonometry. That&#8217;s nothing more than a bunch of points created and projected, then draw using the drawing API; images are simply scaled to fit the sides, and masked on the border to look like they&#8217;re being bended. It&#8217;s a pretty simple effect, and since the image is small, you can&#8217;t notice it&#8217;s &#8220;wrong&#8221;.</p>
<p>3d projection is a complex issue, but everything you need to learn to do something similar can be found here:</p>
<p><a href="http://www.kirupa.com/developer/actionscript/3dindex.htm" rel="nofollow">http://www.kirupa.com/developer/actionscript/3dindex.htm</a></p>
<p>I didn&#8217;t learn from this website to do the thing (I&#8217;ve been doing that kind of projection for a few years), so you won&#8217;t find a direct translation of what I did there or any easy recipe to redo it; however, what you&#8217;ll find there is all the information needed to create similar stuff. It&#8217;s the link I always recommend for people wanting to learn 3d projection on a 2d environment. It&#8217;s a pretty complex issue, but pretty cool after you &#8220;get&#8221; it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: João Saleiro</title>
		<link>http://zehfernando.com/2006/the-middlefingerpub-tell-your-boss-how-much-you-dont-like-him/comment-page-1/#comment-221</link>
		<dc:creator>João Saleiro</dc:creator>
		<pubDate>Sun, 30 Apr 2006 20:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://newsfeed.fatorcaos.com.br/wp/?p=72#comment-221</guid>
		<description>Bem, não é só a ideia que está fabulosa, visualmente está um mimo!! De uma simplicidade incrível, mas tudo feito ao pormenor. Parabéns à equipa!
Pergunto-me como se implementará o cilindro pseudo-3D. Onde posso encontrar info de como implementar algo semelhante?
Obrigado, e os votos de um bom trabalho!

Well, not only the ideia is fantastic, but visually it is eye candy!! Very intuitive, everything done in detail. Congratulations to the team.
I ask myself how to implement the pseudo-3D cylinder. Where can i find info on how to implement something like that?
Thanks, and keep up the good work!</description>
		<content:encoded><![CDATA[<p>Bem, não é só a ideia que está fabulosa, visualmente está um mimo!! De uma simplicidade incrível, mas tudo feito ao pormenor. Parabéns à equipa!<br />
Pergunto-me como se implementará o cilindro pseudo-3D. Onde posso encontrar info de como implementar algo semelhante?<br />
Obrigado, e os votos de um bom trabalho!</p>
<p>Well, not only the ideia is fantastic, but visually it is eye candy!! Very intuitive, everything done in detail. Congratulations to the team.<br />
I ask myself how to implement the pseudo-3D cylinder. Where can i find info on how to implement something like that?<br />
Thanks, and keep up the good work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
