<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Heye Digital Lab &#187; code</title>
	<atom:link href="http://heye-digital-lab.de/de.heyelab.blog/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://heye-digital-lab.de/de.heyelab.blog</link>
	<description>Das Heye Digital Lab, ein Teil der Heye Group, ist die Ideenschmiede für interaktive Markeninszenierungen in neuen Medien. Heye Digital Lab, Gänsemarkt 35, 20354 Hamburg</description>
	<lastBuildDate>Thu, 07 Jul 2011 13:14:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Papervision3D für Banner?</title>
		<link>http://heye-digital-lab.de/de.heyelab.blog/2010/02/11/papervision3d-fur-banner/</link>
		<comments>http://heye-digital-lab.de/de.heyelab.blog/2010/02/11/papervision3d-fur-banner/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 19:31:43 +0000</pubDate>
		<dc:creator>Guido von Marientreu</dc:creator>
				<category><![CDATA[Alltag]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[five3d]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[papervision]]></category>
		<category><![CDATA[pv3d]]></category>
		<category><![CDATA[ressource]]></category>

		<guid isPermaLink="false">http://heye-digital-lab.de/de.heyelab.blog/?p=579</guid>
		<description><![CDATA[Ein klassisches Thema: Die Kreation kommt mit einer vermeintlich simplen Banneridee in 3D. Wir selbst mussten uns nun einmal durch alle Varianten der
Umsetzung quälen, aber wir wollten partout nicht mehr einsehen in Zeiten von Papervision und away3D mit optischen Fakes zu hantieren. Die technischen
Bedingungen:
Filesize: max. 75 KB
Flash Player Version: bestenfalls V9
AS Version: bestenfalls AS3
Die Layouts, [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Ein klassisches Thema: Die Kreation kommt mit einer vermeintlich simplen Banneridee in 3D. Wir selbst mussten uns nun einmal durch alle Varianten der</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Umsetzung quälen, aber wir wollten partout nicht mehr einsehen in Zeiten von Papervision und away3D mit optischen Fakes zu hantieren. Die technischen</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Bedingungen:</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Filesize: max. 75 KB</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Flash Player Version: bestenfalls V9</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">AS Version: bestenfalls AS3</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Die Layouts, die es umzusetzen gilt:</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">(BILDER EINSETZEN)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">UMSETZUNG IN PAPERVISION</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Das Papervision3D Framework &#8220;Great White 2.0&#8243; fällt beim Zielwert von 75KB komplett aus – alleine bringt es schon 68 KB auf die Waage. Eine von uns abgespeckte Variante – nur mit den notwendigen Klassen – kostete noch 49 KB. Zu viel, um mit den 3D Modellen und Bildern zu einem qualitativ akzeptablen Ergebnis zu kommen. Ernüchterung – aber immerhin hatten wir es versucht.</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Unsere offene Ressource gibt es hier zum Download.</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">UMSETZUNG IN FIVe3D</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Die Lösung brachte die noch wenig thematisierte Vektor 3D Engine FIVe3D. Das Framework ist mit nur XX KB extrem schlank. Die angebotenen Klassen sind für</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">simple 3D Umsetzungen wie man sie in einem Banner ohne allzu große Interaktion verwendet völlig ausreichend. Leider ist die Dokumentation nicht ansatzweise so umfangreich wie bei den Alternativen – also mit der Nase in den Code und ansehen, wie das Ding aufgebaut ist. Ein paar Stunden später war die erste Version fertig.</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">Unsere offene Ressource gibt es hier zum Download.</div>
<p>Ein klassisches Thema: Die Kreation kommt mit einer vermeintlich simplen Banneridee in 3D.</p>
<p><span id="more-579"></span></p>
<p><strong>Die technischen Bedingungen:</strong></p>
<ul>
<li>Filesize: max. 75 KB</li>
<li>Flash Player Version: bestenfalls V9</li>
<li>AS Version: bestenfalls AS3</li>
</ul>
<p><strong>Die Layouts, die es umzusetzen gilt:</strong></p>
<p><a href="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2009/11/bebe_cubes.jpg"><img class="alignnone size-full wp-image-590" title="bebe_cubes" src="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2009/11/bebe_cubes.jpg" alt="bebe_cubes" width="400" height="181" /></a></p>
<h3>Umsetzung in Papervision3D</h3>
<p>Das <a title="http://code.google.com/p/papervision3d/downloads/list" href="http://code.google.com/p/papervision3d/downloads/list" target="_blank">Papervision3D Framework &#8220;Great White 2.0&#8243;</a> fällt beim Zielwert von 75KB komplett aus – alleine bringt es schon 68 KB auf die Waage. Eine von uns abgespeckte Variante schlug immer noch mit 49 Kb zu Buche. Zu viel, um mit den 3D Modellen und Bildern zu einem qualitativ akzeptablen Ergebnis zu kommen. Ernüchterung – aber immerhin hatten wir es versucht.</p>
<h3>Umsetzung in FIVe3D</h3>
<p>Die Lösung brachte die noch wenig thematisierte <a title="http://five3d.mathieu-badimon.com/" href="http://five3d.mathieu-badimon.com/" target="_blank">Vektor 3D Engine FIVe3D</a>. Das Framework ist mit unter 30 KB extrem schlank. Die angebotenen Klassen sind für simple 3D Umsetzungen wie man sie in einem Banner ohne allzu große Interaktion verwendet völlig ausreichend. Leider ist die Dokumentation nicht ansatzweise so umfangreich wie bei den Alternativen – also mit der Nase in den Code und ansehen, wie das Ding aufgebaut ist. Ein paar Stunden später war die erste Version fertig.</p>
<h3>Optimierung</h3>
<p>Um den Code noch schlanker zu machen, haben wir auch noch an der Tweening Engine gespart. <a title="http://blog.greensock.com/tweenlite/" href="http://blog.greensock.com/tweenlite/" target="_blank">TweenLite</a> ist mit 4.7 KB für uns schon lange der Standard für Banneranimationen. Mit dem v11 Release des Greensock Tweening Frameworks  gibt es ja jetzt zum Glück <a title="http://blog.greensock.com/tweennano/" href="http://blog.greensock.com/tweennano/" target="_blank">TweenNano</a>, welche in As3 gerade mal mit 1.6 KB beansprucht.</p>
<p>Am Ende war der Banner inklusive Bilder keine 60 KB groß, sodass wir am Ende die Bilder bei der Komprimierung mit einer stolzen Qualität von 60% ausgeben konnten.</p>
<p>Unsere offene Ressource (mit anderem &#8220;Content&#8221; &#8211; deshalb größer) gibt es hier zum (<a title="Heye Cubes Preview" href="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2010/02/preview.html" target="_blank">Preview</a>) <a title="CubesSource" href="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2010/02/heye_cubes.zip">Download</a>.</p>
<h3 style="font-size: 1.17em;">bebe Young Care Banner Beispiel:</h3>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_400x400_cube_927649726"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2010/02/400x400_cube.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://heye-digital-lab.de/de.heyelab.blog/wp-content/uploads/2010/02/400x400_cube.swf"
			name="fm_400x400_cube_927649726"
			width="400"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://heye-digital-lab.de/de.heyelab.blog/2010/02/11/papervision3d-fur-banner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

