<?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>V // Pixelnerve &#187; 3d</title>
	<atom:link href="http://www.pixelnerve.com/v/category/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelnerve.com/v</link>
	<description></description>
	<lastBuildDate>Fri, 10 Sep 2010 14:09:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Grazing Jellies</title>
		<link>http://www.pixelnerve.com/v/2010/04/21/grazing-jellies/</link>
		<comments>http://www.pixelnerve.com/v/2010/04/21/grazing-jellies/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 19:36:41 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Interactive]]></category>
		<category><![CDATA[Works]]></category>
		<category><![CDATA[augmented reality]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[jelly]]></category>
		<category><![CDATA[openframeworks]]></category>
		<category><![CDATA[realtime]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1064</guid>
		<description><![CDATA[Grazing Jellies is an augmented reality project i had the pleasure to work in. I made team with Neil Mendonza and Hudson-Powell, commissioned by the Abandon Normal Devices festival. Grazing Jellies takes place in a forest, a realtime portal into a colorful dream-like world of jelly creatures. The creatures were created to react to movement [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Grazing Jellies is an augmented reality project i had the pleasure to work in. I made team with <a href="http://16b.it/portfolio" target="_blank">Neil Mendonza</a> and <a href="http://www.hudson-powell.com/" target="_blank">Hudson-Powell</a>, commissioned by the <a href="http://www.andfestival.org.uk/">Abandon  Normal Devices</a> festival. Grazing Jellies takes place in a forest, a realtime portal into a colorful dream-like world of jelly creatures. The creatures were created to react to movement of the ambient/people and can also be called by making noise, When nothing is going on they wander around the world and hunt for food. My work on this project was mostly about the jellies generation/animation/rendering.</p>
<p style="text-align: justify;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=11117516&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=11117516&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: justify;">At  first, there was the idea to use metaballs for the creatures, we wanted  to give this jelly  surfaces some wobbling/round forms. After some  testing we decided not to, as i did not see any advantage specially in  performace,  so we went with a more &#8220;traditional&#8221; method.  The   creatures were generated from 2 steps. The body and the head.</p>
<p style="text-align: justify;"><a href="../wp-content/uploads/2010/04/2.jpg" rel="shadowbox[post-1064];player=img;"></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/2.jpg" rel="shadowbox[post-1064];player=img;"><img class="alignnone size-medium wp-image-1066" title="2" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/2-638x359.jpg" alt="" width="638" height="359" /></a></p>
<p style="text-align: justify;"><em>The body</em>: Create a skeleton line and  generate a deforming cylindrical body from the line. After some time and tweaking  the body right. After just had to start playing with values to get the animation going. Some trig + using creature&#8217;s motion parameters worked just fine, we got it right, but, there was still a problem, the creature&#8217;s heads.  <em>The head</em>: Well i tried different methods, interpolating the body&#8217;s end with some spherical shape wish ease on, but it did not work out. The  head textures just didn&#8217;t look good, &#8220;pinched&#8221; as Jody said several  times.  We ended up creating the head as a second step, building an  hemisphere and then &#8220;attaching&#8221;  it to the body&#8217;s end. Good news is later on, it came handy,  as it made things alot easier to map the head&#8217;s texture. Some things just come  handy sometimes. I had to tweak a bit to get the head and body animation get along,  but in the end it turned out to look pretty good.</p>
<p style="text-align: justify;">As for the lighting side, a kind of &#8220;ambient light&#8221; + phong lighting + cubemap reflections made it to the final version.</p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/1.jpg" rel="shadowbox[post-1064];player=img;"><img class="alignnone size-medium wp-image-1065" title="1" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/1-638x406.jpg" alt="" width="638" height="406" /></a></p>
<p style="text-align: justify;">This is an  awesome project and i really enjoyed working with the team. As said  before this should not be a closed project, it was projected to live and  change so it can fit other ambients, so expect to see more from the  *mighty* <strong>Grazing Jellies</strong>.</p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/3.jpg" rel="shadowbox[post-1064];player=img;"><img class="alignnone size-medium wp-image-1067" title="3" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/3-638x359.jpg" alt="" width="638" height="359" /></a></p>
<p style="text-align: justify;">Some videos on the <a href="http://grazingjellies.tumblr.com/">development  blog</a>.</p>
<p style="text-align: justify;">Full article on the festival @ <a href="http://www.wired.co.uk/news/archive/2010-04/06/abandon-normal-devices-digital-art-meets-a-forest.aspx">Wired</a>.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/04/21/grazing-jellies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(hmm) 3d stereoscopic view</title>
		<link>http://www.pixelnerve.com/v/2009/09/07/hmm-3d-stereoscopic-view/</link>
		<comments>http://www.pixelnerve.com/v/2009/09/07/hmm-3d-stereoscopic-view/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 21:34:37 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[anaglyph]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[stereoscopic]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=765</guid>
		<description><![CDATA[I have played with 3d stereoscopic in the past but never got to make someting good. This is still not the time sorry, but&#8230; i think its worth the post and the time. So what do we have here ? The technique used is called &#8216;off-axis frustum&#8217; a.k.a the &#8220;right way&#8221;, courtesy of Paul Bourke. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have played with 3d stereoscopic in the past but never got to make someting good. This is still not the time sorry, but&#8230; i think its worth the post and the time. So what do we have here ?</p>
<p style="text-align: justify;">The technique used is called &#8216;off-axis frustum&#8217; a.k.a the &#8220;right way&#8221;, courtesy of <a title="Paul Bourke" href="http://local.wasp.uwa.edu.au/~pbourke/" target="_blank">Paul Bourke</a>. If you want to read more about it you should pay a visit to his website.</p>
<p style="text-align: justify;">2 images are rendered from 2 different point of views, creating two images with some little differences between them. The off-axis frustum means the point of view might not lie on the perpendicular line to the &#8216;view-area&#8217;.  These 2 images are then sent to a simple shader that takes the R channel from the left-eye buffer, the GB channels from the right-eye buffer and then mixes it into a single stereo image. This is the color glasses compositing method, but it sure is possible to just send both images down the two adapters of your videocard and get the same 3d feeling (with colors) using an Head-Mounted Display or a multi-projector system of some kind.</p>
<p style="text-align: justify;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6467553&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=6467553&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/downloads/processing/anaglyphs.zip" target="_blank">Source code available here.</a></p>
<p style="text-align: justify;">You will need &#8216;Vitamin&#8217; library. Just copy it to processing&#8217;s libraries folder as usual, and then run the project.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/09/07/hmm-3d-stereoscopic-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hmm.Sshhhh (MD5 file format loader)</title>
		<link>http://www.pixelnerve.com/v/2009/07/02/hmm-sshhhh/</link>
		<comments>http://www.pixelnerve.com/v/2009/07/02/hmm-sshhhh/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 20:21:30 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Game programming]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[cgfx]]></category>
		<category><![CDATA[doom 3]]></category>
		<category><![CDATA[md5 file format]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[shaders]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=569</guid>
		<description><![CDATA[After getting MD5 files (Doom 3) to load correctly i wanted to make something simple and nice to show the world, so i came up with this. I think i have dreamt of this before. based on md5 reader]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">After getting MD5 files (Doom 3) to load correctly i wanted to make something simple and nice to show the world, so i came up with this. I think i have dreamt of this before.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="360" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=5400679&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="640" height="360" src="http://vimeo.com/moogaloop.swf?clip_id=5400679&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p style="text-align: justify;">based on <a href="http://md5reader.wiki.sourceforge.net/" target="_blank">md5 reader</a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/07/02/hmm-sshhhh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>#OFFF</title>
		<link>http://www.pixelnerve.com/v/2009/05/09/offf/</link>
		<comments>http://www.pixelnerve.com/v/2009/05/09/offf/#comments</comments>
		<pubDate>Sat, 09 May 2009 23:45:29 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[offf]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=487</guid>
		<description><![CDATA[Just got back from #offf festival. Some great stuff, some not so great, some disappointing stuff and some impressive stuff. It was worth it.]]></description>
			<content:encoded><![CDATA[<p>Just got back from #offf festival. Some great stuff, some not so great, some disappointing stuff and some impressive stuff. It was worth it.</p>
<p><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/05/pict0030.jpg" rel="shadowbox[post-487];player=img;"><img class="alignleft size-medium wp-image-492" title="practice good design" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/05/pict0030-494x370.jpg" alt="practice good design" width="494" height="370" /></a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/05/09/offf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hmm.jellyspikeball</title>
		<link>http://www.pixelnerve.com/v/2009/05/02/hmmjellyspikeball-sample/</link>
		<comments>http://www.pixelnerve.com/v/2009/05/02/hmmjellyspikeball-sample/#comments</comments>
		<pubDate>Sat, 02 May 2009 14:00:08 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[hmm]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[shaders]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=470</guid>
		<description><![CDATA[Another &#8216;hmm&#8217; series experiment. Pick-up/generate an object of your desire and compute distance from a center point to the every vertex. use that distance for the transformations. I used the usual spike ball since its an uniform/symetric object, but it works fine with other shapes. Now, go be creative. track: NNY &#8211; bdybag.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Another &#8216;hmm&#8217; series experiment. Pick-up/generate an object of your desire and compute distance from a center point to the every vertex. use that distance for the transformations. I used the usual spike ball since its an uniform/symetric object, but it works fine with other shapes. Now, go be creative.</p>
<p style="text-align: justify;">track: NNY &#8211; bdybag.</p>
<p><object width="499" height="281" data="http://vimeo.com/moogaloop.swf?clip_id=4429917&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4429917&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /></object></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/05/02/hmmjellyspikeball-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nothing&#8217;s demos</title>
		<link>http://www.pixelnerve.com/v/2009/04/27/nothing/</link>
		<comments>http://www.pixelnerve.com/v/2009/04/27/nothing/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 22:22:04 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Sound]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=458</guid>
		<description><![CDATA[ahhh nostalgia. Tonight after work and after playing around with some code i got bored and found myself in my demogroup&#8217;s FTP. So i spent some time checking out what i had accumulated all this years and i cleaned it up. There was lots of dead stuff in there. In between i found the videos [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">ahhh nostalgia. Tonight after work and after playing around with some code i got bored and found myself in my <a title="nothing interactiv" href="http://www.nothing.scene.org" target="_blank">demogroup&#8217;s</a> FTP. So i spent some time checking out what i had accumulated all this years and i cleaned it up. There was lots of dead stuff in there. In between i found the videos of my old demos and since i didnt have anything better to do i downloaded them all and started watching. Oh man, now that was fun! I just love <a title="flytrap" href="http://vimeo.com/4362123" target="_blank">Flytrap</a>, <a title="harmony" href="http://vimeo.com/4362490" target="_blank">Harmony</a>, <a title="_" href="http://vimeo.com/4362621" target="_blank">Underscore</a>, DP, <a title="S" href="http://vimeo.com/4362739" target="_blank">S</a>, <a title="stay" href="http://vimeo.com/4363724" target="_blank">Stay</a>&#8230; Unfortunately i couldn&#8217;t get my MS-DOS demos to work. Wish i could, i have some funny stuff there.</p>
<p style="text-align: justify;">Anyway, i just took those videos and i have uploaded some of my favourites to <a title="VS*" href="http://www.vimeo.com/vs" target="_blank">vimeo&#8217;s account</a>. I believe it&#8217;s a good place to keep record of some of the oldies, so check it out if you&#8217;re in the mood.</p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/04/27/nothing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ribbonmesh</title>
		<link>http://www.pixelnerve.com/v/2009/04/18/ribbonmesh/</link>
		<comments>http://www.pixelnerve.com/v/2009/04/18/ribbonmesh/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 15:20:29 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=439</guid>
		<description><![CDATA[This is a class i&#8217;ve made to render ribbons in 2d (planes) and in 3d (cilinders). It&#8217;s based in my framework and processing, so you might need some work to get it to compile. No example, no executable, just source code. get class here]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This is a class i&#8217;ve made to render ribbons in 2d (planes) and in 3d (cilinders). It&#8217;s based in my framework and processing, so you might need some work to get it to compile. No example, no executable, just source code.</p>
<p><a title="ribbonmesh" href="http://www.pixelnerve.com/downloads/processing/RibbonCylinder.pde" target="_blank">get class here</a></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/04/18/ribbonmesh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hmm3.2 (the architect)</title>
		<link>http://www.pixelnerve.com/v/2009/04/15/hmm32-the-architect/</link>
		<comments>http://www.pixelnerve.com/v/2009/04/15/hmm32-the-architect/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 09:39:51 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[realtime]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=426</guid>
		<description><![CDATA[Last weekend i was watching tv and there was this scene where there was a fly-by a plane and a city was being built just in front of you and after sometime the camera would look back and there it was. The big and awesome city that i can&#8217;t find the name. So i thought [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Last weekend i was watching tv and there was this scene where there was a fly-by a plane and a city was being built just in front of you and after sometime the camera would look back and there it was. The big and awesome city that i can&#8217;t find the name. So i thought to myself, i should try and play the architect myself&#8230; Here&#8217;s some results:</p>
<p><object width="499" height="287" data="http://vimeo.com/moogaloop.swf?clip_id=4154576&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4154576&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /></object></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/04/15/hmm32-the-architect/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>hmm.3</title>
		<link>http://www.pixelnerve.com/v/2009/04/11/hmm3/</link>
		<comments>http://www.pixelnerve.com/v/2009/04/11/hmm3/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 01:41:44 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Actionscript 3.0]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Sound]]></category>
		<category><![CDATA[Source Code]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=413</guid>
		<description><![CDATA[I have done a couple of jobs using ribbons but never got to make something i&#8217;ve always found pleasing to me eyes. I&#8217;ve seen over the web some guys creating interesting applications for this kind of generative &#8220;art&#8221;, its pretty used these days and it should, and just like i said a while ago, its [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have done a couple of jobs using ribbons but never got to make something i&#8217;ve always found pleasing to me eyes. I&#8217;ve seen over the web some guys creating interesting applications for this kind of generative &#8220;art&#8221;, its pretty used these days and it should, and just like i said a while ago, its beautiful; its very beautiful; things grow. I love to see things grow, and what kind of things grow? how do they grow? i don&#8217;t know, but its in my todo-list to find out and use that to upgrade this piece. I want it to have variations, different growing rates, different species and mix it all together and bring something good looking, good enough for realtime and appealing. Hopefully i won&#8217;t get bored before i achieve all this. Anyway here&#8217;s something i just did. awkward part: i&#8217;ve taken a 3d effect and converted it to 2d. uhmm i wonder why?</p>
<p><object width="499" height="287" data="http://vimeo.com/moogaloop.swf?clip_id=4096165&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;shohttp://www.pixelnerve.com/v/wp-login.php?action=logout&#038;_wpnonce=3f14756eb6w_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4096165&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /></object></p>
<p>( this is the updated version of the effect. new scene with more growing things )<br />
<object width="499" height="287" data="http://vimeo.com/moogaloop.swf?clip_id=4106843&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=4106843&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ffffff&amp;fullscreen=1" /></object></p>
<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/04/11/hmm3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ray-Sphere intersection</title>
		<link>http://www.pixelnerve.com/v/2009/02/08/ray-sphere-intersection/</link>
		<comments>http://www.pixelnerve.com/v/2009/02/08/ray-sphere-intersection/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 21:02:54 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[intersection]]></category>
		<category><![CDATA[ray]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[sphere]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=312</guid>
		<description><![CDATA[After the creation of [We.are.in.Helsinki,3D] i came across a problemwhen using GL_SELECT opengl mode for intersections and picking. I got few complains that when picking a generator the application freezed. I had two options:  1. Make a simplified version of the generator&#8217;s spheres to render on the GL_SELECT mode. 2. Create a function that would [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">After the creation of [We.are.in.Helsinki,3D] i came across a problemwhen using GL_SELECT opengl mode for intersections and picking. I got few complains that when picking a generator the application freezed. I had two options:  1. Make a simplified version of the generator&#8217;s spheres to render on the GL_SELECT mode. 2. Create a function that would tell me which object i clicked on using ray-sphere intersections.</p>
<p style="text-align: justify;">I took option 2 and made an example in processing. It uses my own library, Vitamin. Its in the zipfile, make sure it is in the right place.</p>
<p>Download: <a title="intersection_ray_sphere" href="http://www.pixelnerve.com/downloads/processing/intersectRaySphere.zip" target="_blank">http://www.pixelnerve.com/downloads/processing/intersectRaySphere.zip</a></p>
<p style="text-align: justify;">Explanation:<br />
First i already had my mouse position in 3D. Just had to convert it to world-space and put it in  the magic function that would tell me if the ray has hit anything, in this case a sphere. Magic function below:</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// This function is part of the VRay class.</span>
<span style="color: #666666; font-style: italic;">// Takes a point and a radius and returns number of hits</span>
<span style="color: #000066; font-weight: bold;">int</span> intersectRaySphereHits<span style="color: #009900;">&#40;</span> Vector3 center, <span style="color: #000066; font-weight: bold;">float</span> radius <span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #666666; font-style: italic;">// Solve quadratic equation</span>
  <span style="color: #000066; font-weight: bold;">float</span> a <span style="color: #339933;">=</span> _direction.<span style="color: #006633;">lengthSqr</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>a <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0.0</span><span style="color: #009900;">&#41;</span>  <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">float</span> b <span style="color: #339933;">=</span> 2.0f <span style="color: #339933;">*</span> <span style="color: #009900;">&#40;</span>_point.<span style="color: #006633;">dot</span><span style="color: #009900;">&#40;</span>_direction<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> _direction.<span style="color: #006633;">dot</span><span style="color: #009900;">&#40;</span>center<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  Vector3 tempDiff <span style="color: #339933;">=</span> Vector3.<span style="color: #006633;">sub</span><span style="color: #009900;">&#40;</span> center, _point <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">float</span> c <span style="color: #339933;">=</span> tempDiff.<span style="color: #006633;">lengthSqr</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>radius<span style="color: #339933;">*</span>radius<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">float</span> disc <span style="color: #339933;">=</span> b <span style="color: #339933;">*</span> b <span style="color: #339933;">-</span> <span style="color: #cc66cc;">4</span> <span style="color: #339933;">*</span> a <span style="color: #339933;">*</span> c<span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span> disc <span style="color: #339933;">&amp;</span>lt<span style="color: #339933;">;</span> 0.0f <span style="color: #009900;">&#41;</span>
    <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
  <span style="color: #000066; font-weight: bold;">int</span> numIntersections<span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>disc <span style="color: #339933;">==</span> 0.0f<span style="color: #009900;">&#41;</span>
    numIntersections <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
  <span style="color: #000000; font-weight: bold;">else</span>
    numIntersections <span style="color: #339933;">=</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">return</span> numIntersections<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<script type="text/javascript">
var flattr_wp_ver = '0.9.11';
var flattr_uid = 'pixelnerve';
var flattr_url = 'http://www.pixelnerve.com/v';
var flattr_lng = 'en_GB';
var flattr_cat = 'video';
var flattr_tag = 'blog,wordpress,rss,feed';
var flattr_btn = 'large';
var flattr_tle = 'V // Pixelnerve';
var flattr_dsc = '';
</script>
<script src="http://api.flattr.com/button/load.js?v=0.2" type="text/javascript"></script>]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/02/08/ray-sphere-intersection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
