<?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>noCreativity.com &#187; Stereographic projection</title>
	<atom:link href="http://nocreativity.com/blog/tag/stereographic-projection/feed" rel="self" type="application/rss+xml" />
	<link>http://nocreativity.com</link>
	<description>The life and discoveries of a new media artist</description>
	<lastBuildDate>Sat, 07 Jan 2012 17:03:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>World360: Unbugged and kicking!</title>
		<link>http://nocreativity.com/blog/world360-unbugged-and-kicking</link>
		<comments>http://nocreativity.com/blog/world360-unbugged-and-kicking#comments</comments>
		<pubDate>Fri, 20 Feb 2009 11:11:29 +0000</pubDate>
		<dc:creator>Ronny</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Experiments]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Bitmapdata]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[prerendering]]></category>
		<category><![CDATA[Stereographic projection]]></category>
		<category><![CDATA[World360]]></category>

		<guid isPermaLink="false">http://nocreativity.com/blog/?p=397</guid>
		<description><![CDATA[A few days back, I posted the latest update on my World360 project (aka &#8216;stereographic projection&#8216;&#8230; That&#8217;s what it is actually called). What this thing actually does is it turns a 360° panorama image into a stereographic projection. The idea is to render this real time (just for the fun of doing it) (I am [...]]]></description>
			<content:encoded><![CDATA[<p>A few days back, I <a href="http://nocreativity.com/blog/world360-update-now-with-png-bug">posted</a> the latest update on my World360 project (aka &#8216;<a href="http://www2.flickr.com/photos/sbprzd/sets/72057594122346154/" target="_blank" target="_blank">stereographic projection</a>&#8216;&#8230; That&#8217;s what it is actually called). What this thing actually does is it turns a 360° panorama image into a stereographic projection. The idea is to render this real time (just for the fun of doing it) (I am thinking about doing more with this though&#8230;)</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-398" title="stereographicprojection" src="http://nocreativity.com/blog-engine/wp-content/uploads/2009/02/stereographicprojection.jpg" alt="stereographicprojection" width="461" height="258" /></p>
<p>A few days back I ran into a (at that time) weird problem where transparency was rendered black after a few frames. I had a hard time figuring out what was going on, and I just didn&#8217;t have a clue where to start looking. Google wasn&#8217;t really helping me out either. So I posted my problem on FlashFocus but nobody came up with the answer to my problem. <a href="http://Peterelst.com" target="_blank" target="_blank">Peter Elst</a> <a href="http://twitter.com/peterelst/status/1210737946" target="_blank" target="_blank">asked</a> <a href="http://www.unitzeroone.com/blog/" target="_blank" target="_blank">Ralph Hauwert</a> if he already had run into this problem. <a href="http://quasimondo.com/" target="_blank" target="_blank">Mario Klingemann</a> <a href="http://twitter.com/Quasimondo/status/1210859471" target="_blank" target="_blank">suggested</a> that there might be a problem with the <a href="http://www.quasimondo.com/archives/000665.php" target="_blank">premultiplied alpha</a>. At that time I didn&#8217;t know what premultiplied alpha was and seen as the problem resembled <a href="http://www.quasimondo.com/premultipliedAlpha/" target="_blank" target="_blank">the example</a> Mario gave, it seemed quite obvious he was right.</p>
<p>So I took peace with this, and decided to fall back to a non-transparent image format like JPEG. 2 days later <a href="http://twitter.com/erwinverdonk" target="_blank" target="_blank">Erwin Verdonk</a> came up with <a href="http://nocreativity.com/blog/world360-update-now-with-png-bug#comment-4135" target="_self">the answer</a> to the whole problem&#8230; I just had a hard time understanding it&#8230;</p>
<p>The root of the problem was me: I had totally forgotten that the draw() method of the BitmapData class didn&#8217;t clear the pixels before drawing&#8230; Yea, that&#8217;s emberassing, right?</p>
<p>But okay&#8230; That took care of some problems. I rewrote some of the code, and adjusted some settings.<br />
The speed and the result are quite okay right now. However using 450MB and up of RAM usage might be a bit of a killer.<br />
I&#8217;m wondering if I could take care of this using PNGencoder or perhaps JPGencoder.</p>
<p>But for now I&#8217;m happy&#8230; The <a href="http://labs.nocreativity.com/rendering/Tien.html" target="_blank">final result</a> (for now) can be seen here.</p>
<p>Thanks everybody for helping me out. You guys rock!</p>
<p>PS: The <a href="http://www.flickr.com/photos/7258342@N05/3044433024/in/pool-digitaldesignandmedia" target="_blank" target="_blank">picture</a> used in this experiment was taken by <a href="http://www.flickr.com/people/7258342@N05/" target="_blank" target="_blank">Thomas Heylen</a>. Thanks Thomas!</p>
]]></content:encoded>
			<wfw:commentRss>http://nocreativity.com/blog/world360-unbugged-and-kicking/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

