<?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>simppa.fi/blog &#187; evo3d</title>
	<atom:link href="http://www.simppa.fi/blog/category/evo3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.simppa.fi/blog</link>
	<description>minä kaikkeudessa.</description>
	<lastBuildDate>Wed, 11 Jan 2012 11:10:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>EvoFlash Severity Of Grey Sources</title>
		<link>http://www.simppa.fi/blog/evoflash-severity-of-grey-sources/</link>
		<comments>http://www.simppa.fi/blog/evoflash-severity-of-grey-sources/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 19:26:21 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[demoscene]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=411</guid>
		<description><![CDATA[All the following stuff is under this completely open license. These sources consist four different parts: &#8211; EvoTinyEngine &#8211; Evo3d &#8211; EvoTween &#8211; SoG Demo None of these are documented so I have created this little pdf to clarify the concept of demoengine used in this demo. These libraries are rather easy to use. Here&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>All the following stuff is under <a href="http://www.simppa.fi/source/LICENSE.TXT">this completely open license</a>.</p>
<p>These sources consist four different parts:<br />
 &#8211; <a href="http://www.simppa.fi/source/evo_tiny_engine_src.zip">EvoTinyEngine</a><br />
 &#8211; <a href="http://www.simppa.fi/source/evo3d_src.zip">Evo3d</a><br />
 &#8211; <a href="http://www.simppa.fi/source/evo_tween_src.zip">EvoTween</a><br />
 &#8211; <a href="http://www.simppa.fi/source/evo_sog_src.zip">SoG Demo</a></p>
<p>None of these are documented so I have created <a href="http://www.simppa.fi/source/jac_EvoTinyEngine.pdf">this little pdf</a> to clarify the concept of demoengine used in <a href="http://www.simppa.fi/asm09/">this demo</a>.<br />
<span id="more-411"></span><br />
These libraries are rather easy to use. Here&#8217;s the HelloWorld of EvoTinyEngine:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;">assets = <span class="kw2">new</span> Assets<span class="br0">&#40;</span>720, 405<span class="br0">&#41;</span>;</p>
<p>engine = <span class="kw2">new</span> TinyEngine<span class="br0">&#40;</span>assets<span class="br0">&#41;</span>;</p>
<p>engine.<span class="me1">addModifier</span><span class="br0">&#40;</span><span class="kw2">new</span> ModifierPixels<span class="br0">&#40;</span>assets, <span class="st0">&quot;pixel&quot;</span><span class="br0">&#41;</span>, 0, 64<span class="br0">&#41;</span>;<br />
engine.<span class="me1">addModifier</span><span class="br0">&#40;</span><span class="kw2">new</span> ModifierMandel<span class="br0">&#40;</span>assets, <span class="st0">&quot;mandel&quot;</span><span class="br0">&#41;</span>, 64, 256<span class="br0">&#41;</span>;<br />
engine.<span class="me1">addModifier</span><span class="br0">&#40;</span><span class="kw2">new</span> ModifierBloom<span class="br0">&#40;</span>assets, <span class="st0">&quot;bloom&quot;</span><span class="br0">&#41;</span>, 256, 512<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
addChild<span class="br0">&#40;</span>engine<span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
engine.<span class="kw3">play</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</div>
<p>You should have all the examples you need about other libraries in the SoG Demo zip. Here are few example lines about syntax&#8217;s.</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="co1">// EvoTween is a Command-pattern based tweener that uses the linked list method. This way you can run few thousands tween&#8217;s at ones. So convenient&#8230; :)</span><br />
<span class="co1">// Only minus at the moment is that it only supports public variables.</span></p>
<p><span class="kw2">new</span> EvoTween<span class="br0">&#40;</span><span class="kw3">this</span>, &nbsp;<span class="br0">&#123;</span>value:1<span class="br0">&#125;</span>, &nbsp;<span class="kw3">duration</span>, &nbsp;Expo.<span class="me1">easeInOut</span>, &nbsp;delay, complete:<span class="kw2">Function</span>, &nbsp;param:<span class="sy0">*</span><span class="br0">&#41;</span>;</p>
<p><span class="co1">// After the tween is over it is disposed and the Garbage Collector takes care of the rest.</span></div>
</div>
<p>Evo3d is powerful because of following solutions:<br />
 &#8211; It use linked list.<br />
 &#8211; It only z-sort meshes not polygons.<br />
 &#8211; The z-sort is based on <a href="http://en.wikipedia.org/wiki/Insertion_sort">Insertion Sorting</a>. Slightly modified from <a href="http://lab.polygonal.de/">Michael Baczynski</a>&#8216;s code.<br />
 &#8211; It uses the graphics.drawGraphicsData(graphicsData:Vector.IGraphicsData) method.</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="co1">// Here&#8217;s how to do Sphere. Following classes have much more parameters then here. This is only the sort way.</span></p>
<p><span class="kw2">var</span> <span class="kw3">camera</span>:<span class="kw3">Camera</span> = <span class="kw2">new</span> Camera3D<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="kw2">var</span> renderer:RendererBitmapData = <span class="kw2">new</span> RendererBitmapData<span class="br0">&#40;</span>bitmapdata, <span class="kw2">null</span>, 0&#215;000000<span class="br0">&#41;</span>;<br />
<span class="kw2">var</span> engine3d:Engine3D = <span class="kw2">new</span> Engine3D<span class="br0">&#40;</span>renderer, <span class="kw3">camera</span><span class="br0">&#41;</span>;</p>
<p><span class="kw2">var</span> light:Light = engine3d.<span class="me1">light</span>;</p>
<p><span class="kw2">var</span> material:MaterialBitmap = <span class="kw2">new</span> MaterialBitmap<span class="br0">&#40;</span>frontTexture, backTexture<span class="br0">&#41;</span>;<br />
<span class="kw2">var</span> shading:ShadingPhong = <span class="kw2">new</span> ShadingPhong<span class="br0">&#40;</span>0xFFFFFF, 0, BlendMode.<span class="me1">MULTIPLY</span><span class="br0">&#41;</span><br />
<span class="kw2">var</span> sphere:Sphere = <span class="kw2">new</span> Sphere<span class="br0">&#40;</span>material, 50, 16, 16, shading<span class="br0">&#41;</span>;</p>
<p>engine3d.<span class="me1">addMesh</span><span class="br0">&#40;</span>sphere<span class="br0">&#41;</span>;<br />
engine3d.<span class="me1">render</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</div>
<p>I hope this will give you some ideas or help you some way. It would be awesome to see demo made with this stuff!<br />
I&#8217;m going to develop these more, but won&#8217;t start an open svn since I do not want this stuff to become a burden for me. It could feel like a job and I all ready have <a href="http://www.fwd.fi">one</a>. I think I&#8217;ll post some more libraries after next demo. Don&#8217;t report any bugs if you find them.</p>
<p>I have few new ideas about approaches to get that 3d much faster, but now I need a break.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/evoflash-severity-of-grey-sources/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>EvoFlash – Proof of Concept Assembly09 64k demo</title>
		<link>http://www.simppa.fi/blog/evoflash-%e2%80%93-proof-of-concept-assembly09-64k-demo/</link>
		<comments>http://www.simppa.fi/blog/evoflash-%e2%80%93-proof-of-concept-assembly09-64k-demo/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 06:27:40 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[demoscene]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=407</guid>
		<description><![CDATA[It was ranked second. What a gargantuan surprise for us. quote Jalava: &#8220;Real confusion was: Why did everyone vote our prod in 64k :) It really didn&#8217;t deserve the place from my point of view. I mainly coded it for the giggles :)&#8221; Well it&#8217;s understandable that it was appreciated as a milestone (first flash [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/asm09/64k/"><img src="http://www.simppa.fi/asm09/64k/64kscreenshot.jpg" alt="Proof of Consept" /></a></p>
<p>It was ranked second. What a gargantuan surprise for us.<br />
quote Jalava: &#8220;Real confusion was: Why did everyone vote our prod in 64k :) It really didn&#8217;t deserve the place from my point of view. I mainly coded it for the giggles :)&#8221;</p>
<p>Well it&#8217;s understandable that  it was 	appreciated as a milestone (first flash 64k) , but this rank was way too much. It wasn&#8217;t that good intro. We could do so much better. You could do better. And you should try to do better. Please come on create something better! The bar is not set too high, _yet_.  </p>
<p>This what it&#8217;s all about. Beat us so we can beat you and we all get more skills. I&#8217;m eagerly hoping to see some entries next year made with flash in Real Wild or even in 64k.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/evoflash-%e2%80%93-proof-of-concept-assembly09-64k-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>EvoFlash &#8211; Severity of Grey Assembly09 RealWild demo</title>
		<link>http://www.simppa.fi/blog/evoflash-severity-of-grey-assembly09-realwild-demo/</link>
		<comments>http://www.simppa.fi/blog/evoflash-severity-of-grey-assembly09-realwild-demo/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 14:14:00 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[demoscene]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=401</guid>
		<description><![CDATA[Sources and plaaplaa&#8217;s coming later.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/asm09/"><img alt="" src="http://www.simppa.fi/asm09/pack/screenshot.png" title="Severity of Grey" class="alignnone" width="450" height="254" /></a></p>
<p>Sources and plaaplaa&#8217;s coming later.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/evoflash-severity-of-grey-assembly09-realwild-demo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What a nightmare, our demo will be shown buggy!</title>
		<link>http://www.simppa.fi/blog/what-a-nightmare-our-demo-will-be-shown-buggy/</link>
		<comments>http://www.simppa.fi/blog/what-a-nightmare-our-demo-will-be-shown-buggy/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 12:32:14 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=395</guid>
		<description><![CDATA[Our real wild demo will contain a bug on the screen! What an agony to know this. There should be a huge distortion postprocess effect in the middle of the demo right after the groups part and it won&#8217;t be shown for some reason. Maybe it&#8217;s because of SoundMixer that it uses to get the [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="" src="http://jaysolomon.files.wordpress.com/2009/05/agony1.jpg" title="Agony" class="alignnone" width="402" height="337" /></p>
<p><a href="http://evo.bombsquad.org">Our</a> real wild demo will contain a bug on the screen! What an agony to know this. There should be a huge distortion postprocess effect in the middle of the demo right after the groups part and it won&#8217;t be shown for some reason. Maybe it&#8217;s because of SoundMixer that it uses to get the sound data or some gc problem that only happens in really fast cpu&#8217;s. We tried with several browsers and without the fullscreen, but no go. Anyway it&#8217;s too late to fix it. Too bad I cannot even duplicate this bug on my cpu. </p>
<p>So if you are interested you can check out the demo from this blog after the compo. I&#8217;ll also post a video version on monday.</p>
<p>Some other news from Assembly: Our 64k was good enough to get to the screen and will be shown at <a href="http://www.assemblytv.org/pages/home">AssemblyTv</a> somewhere near 20:30 (+3gmt)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/what-a-nightmare-our-demo-will-be-shown-buggy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One week to Assembly 09</title>
		<link>http://www.simppa.fi/blog/one-week-to-assembly-09/</link>
		<comments>http://www.simppa.fi/blog/one-week-to-assembly-09/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 08:56:10 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[demoscene]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=377</guid>
		<description><![CDATA[We split the task&#8217;s with Jalava between Real wild and 64k since Minomus created supreme music for both. We also didn&#8217;t want to step on each others toes on design issues. Jalava created an excellent soundsynth with all kinds of effects and filters. You should focus on the details of the sound when it&#8217;s released. [...]]]></description>
			<content:encoded><![CDATA[<p>We split the task&#8217;s with Jalava between <a href="http://www.assembly.org/summer09/compos/realtime/demo#realwild">Real wild</a> and <a href="http://www.assembly.org/summer09/compos/realtime/demo#64k">64k</a> since Minomus created supreme music for both. We also didn&#8217;t want to step on each others toes on design issues. </p>
<p>Jalava created an excellent soundsynth with all kinds of effects and filters. You should focus on the details of the sound when it&#8217;s released. So he took the 64k task and the real wild was for me. </p>
<p>I have spent a lot of time creating this <a href="http://www.simppa.fi/blog/?cat=25">evo3d</a> and wanted to build a proper showcase for it. I also created a very small but fast demo engine and tiny tweener that both benefits the performance of linked lists. Unfortunately Jalava won&#8217;t use them on 64k and only little part of the evo3d. So completely waste of time from me? -Well not entirely.</p>
<p>No matter if they are small in bytes, they are strong in performance and in memory usage. So this years real wild is build with them. I respect all the open source projects out there, but it&#8217;s great to have all the code in demo home made. It also gives more possibilities when I can tune the library the way I need. </p>
<p>The real wild is almost done. Only little adjust here and there. So make sure you check it out on next weekend.<br />
I also publish all the sources after the compo or at least in a week from that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/one-week-to-assembly-09/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laboratory output n°55 evo3d TE7: DarkCubes</title>
		<link>http://www.simppa.fi/blog/laboratory-output-n%c2%b055-evo3d-te7-darkcubes/</link>
		<comments>http://www.simppa.fi/blog/laboratory-output-n%c2%b055-evo3d-te7-darkcubes/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:40:38 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[Experimentals]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=368</guid>
		<description><![CDATA[You need latest flash player to view these. (installation) 6x6x6 (216) shaded cubes runs pretty smooth. How much fps you get? &#8212;- updated 2.7.09 &#8212;- Made a break through just before I fall into sleep and here&#8217;s the result: You need latest flash player to view these. (installation) I estimate that there&#8217;s near 20% more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te7_darkcubes/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te7_darkcubes/screenshot.jpg" alt="TE7 DarkCubes" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>6x6x6 (216) shaded cubes runs pretty smooth. How much fps you get?</p>
<p>&#8212;- updated 2.7.09 &#8212;-</p>
<p>Made a break through just before I fall into sleep and here&#8217;s the result:</p>
<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te8_darkcubes_fast/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te8_darkcubes_fast/screenshot.jpg" alt="TE8 DarkCubes Fast" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>I estimate that there&#8217;s near 20% more performance (!!) and also get rid of those white lines around meshes. You can check it out with different qualities by right clicking. I feel happy. This baby is powerfull.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/laboratory-output-n%c2%b055-evo3d-te7-darkcubes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Laboratory output n°53 evo3d TE6: Light</title>
		<link>http://www.simppa.fi/blog/laboratory-output-n%c2%b053-evo3d-te6-light/</link>
		<comments>http://www.simppa.fi/blog/laboratory-output-n%c2%b053-evo3d-te6-light/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 12:09:02 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[Experimentals]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=356</guid>
		<description><![CDATA[You need latest flash player to view these. (installation) We have now light and support for shaders in evo3d. The filesize is 13k. :) Need to get ridoff those white lines&#8230; &#8212; Added 22.06.09 10:47 &#8212; Here are the same stuff with 300 shaded meshes.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te6_light/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te6_light/screenshot.jpg" alt="TE6 Light" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>We have now light and support for shaders in evo3d.<br />
The filesize is 13k. :) Need to get ridoff those white lines&#8230;</p>
<p>&#8212; Added 22.06.09 10:47 &#8212;<br />
<a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te6_light2/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te6_light2/screenshot.jpg" alt="TE6 Light2" /></a><br />
Here are the same stuff with 300 shaded meshes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/laboratory-output-n%c2%b053-evo3d-te6-light/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Laboratory output n°51 evo3D TE5 RabbitHole</title>
		<link>http://www.simppa.fi/blog/laboratory-output-n%c2%b051-evo3d-te5-rabbithole/</link>
		<comments>http://www.simppa.fi/blog/laboratory-output-n%c2%b051-evo3d-te5-rabbithole/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 19:06:15 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[Experimentals]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=325</guid>
		<description><![CDATA[You need latest flash player to view these. (installation) Be carefully with this one, especially if have epilepsy. Otherwise press a key and enter full screen. The texture pattern is changing all the time so you should see more and more crazy forms when time pass.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te5_rabbithole/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te5_rabbithole/screenshot.jpg" alt="evo3D TE5 RabbitHole" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>Be carefully with this one, especially if have epilepsy. Otherwise press a key and enter full screen.<br />
The texture pattern is changing all the time so you should see more and more crazy forms when time pass.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/laboratory-output-n%c2%b051-evo3d-te5-rabbithole/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laboratory output n°50 evo3D TE4 WormHole</title>
		<link>http://www.simppa.fi/blog/laboratory-output-n%c2%b050-evo3d-te4-wormhole/</link>
		<comments>http://www.simppa.fi/blog/laboratory-output-n%c2%b050-evo3d-te4-wormhole/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 18:43:57 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[Experimentals]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=312</guid>
		<description><![CDATA[You need latest flash player to view these. (installation) Ulala here comes number 50! I have a new toy, a cylinder and that of course means wormholes. The texture is calculated real time by algorithm that draws a line of 128&#215;1 into texture and then scroll it, like this: var fo:Number = time/100; var h:int [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te4_wormhole/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te4_wormhole/screenshot.jpg" alt="evo3D TE4 WormHole" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>Ulala here comes number 50! I have a new toy, a <a href="http://en.wikipedia.org/wiki/Cylinder_(geometry)">cylinder</a> and that of course means wormholes. The texture is calculated real time by algorithm that draws a line of 128&#215;1 into texture and then scroll it, like this:</p>
<div class="codesnip-container" >
<div class="actionscript codesnip" style="font-family:monospace;"><span class="kw2">var</span> fo:<span class="kw3">Number</span> = <span class="kw3">time</span><span class="sy0">/</span><span class="nu0">100</span>;<br />
<span class="kw2">var</span> h:<span class="kw3">int</span> = texture.<span class="kw3">height</span> &#8211; <span class="nu0">1</span>;<br />
l = 128<br />
<span class="kw1">for</span><span class="br0">&#40;</span>i = <span class="nu0">0</span>; i <span class="sy0">&lt;</span> l; i++<span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; dx = <span class="br0">&#40;</span>i + <span class="br0">&#40;</span>10 + 10<span class="sy0">*</span><span class="kw3">Math</span>.<span class="kw3">sin</span><span class="br0">&#40;</span><span class="kw3">time</span><span class="sy0">/</span>100<span class="br0">&#41;</span><span class="br0">&#41;</span> + <span class="br0">&#40;</span>10 + 10<span class="sy0">*</span><span class="kw3">Math</span>.<span class="kw3">sin</span><span class="br0">&#40;</span><span class="kw3">time</span><span class="sy0">/</span>230<span class="br0">&#41;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="sy0">%</span> <span class="nu0">128</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; r = 128 + 127 <span class="sy0">*</span> <span class="kw3">Math</span>.<span class="kw3">cos</span><span class="br0">&#40;</span>i<span class="sy0">/</span>10<span class="br0">&#41;</span> + fo <span class="sy0">&lt;&lt;</span> <span class="nu0">16</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; g = 128 + 127 <span class="sy0">*</span> <span class="kw3">Math</span>.<span class="kw3">cos</span><span class="br0">&#40;</span>i<span class="sy0">/</span>20<span class="br0">&#41;</span> + fo <span class="sy0">&lt;&lt;</span> <span class="nu0">8</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; b = 128 + 127 <span class="sy0">*</span> <span class="kw3">Math</span>.<span class="kw3">cos</span><span class="br0">&#40;</span>i<span class="sy0">/</span>30<span class="br0">&#41;</span> + fo;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw3">color</span> = r <span class="sy0">|</span> g <span class="sy0">|</span> b;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; texture.<span class="me1">setPixel</span><span class="br0">&#40;</span>dx, h, <span class="kw3">color</span><span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span><br />
texture.<span class="kw3">scroll</span><span class="br0">&#40;</span>0,-1<span class="br0">&#41;</span>;</div>
</div>
<p>Next it should bend&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/laboratory-output-n%c2%b050-evo3d-te4-wormhole/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Laboratory output n°49 evo3D TE2</title>
		<link>http://www.simppa.fi/blog/laboratory-output-n%c2%b049-evo3d-te2/</link>
		<comments>http://www.simppa.fi/blog/laboratory-output-n%c2%b049-evo3d-te2/#comments</comments>
		<pubDate>Sun, 25 Jan 2009 18:38:54 +0000</pubDate>
		<dc:creator>simo</dc:creator>
				<category><![CDATA[AS3.0]]></category>
		<category><![CDATA[demoscene]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[evo3d]]></category>
		<category><![CDATA[Experimentals]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.simppa.fi/blog/?p=307</guid>
		<description><![CDATA[You need latest flash player to view these. (installation) Just wanted to report that now I have a camera. :) &#8212;&#8212; updated 5:55pm &#8212;&#8212;- Here&#8216;s an example where you can control the camera angle with your mouse. Yeah, it&#8217;s a bit crappy, but proofs to mr. doob that it&#8217;s a valid camera :)]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te2/"><img src="http://www.simppa.fi/experimental/as3/2009/evo3d/te2/screenshot.jpg" alt="evo3D TE2" /></a><br />
You need latest flash player to view these.  (<a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">installation</a>)</p>
<p>Just wanted to report that now I have a camera. :)</p>
<p>&#8212;&#8212; updated 5:55pm &#8212;&#8212;-<br />
<a href="http://www.simppa.fi/experimental/as3/2009/evo3d/te3/">Here</a>&#8216;s an example where you can control the camera angle with your mouse.<br />
Yeah, it&#8217;s a bit crappy, but proofs to <a href="http://www.ricardocabello.com/blog">mr. doob</a> that it&#8217;s a valid camera :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.simppa.fi/blog/laboratory-output-n%c2%b049-evo3d-te2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

