<?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>TODAY, CREATE. &#187; C++</title>
	<atom:link href="http://www.todaycreate.com/category/c/feed" rel="self" type="application/rss+xml" />
	<link>http://www.todaycreate.com</link>
	<description>Home of the daily creative output and exploration of ideas for Mike Creighton, new media designer and programmer.</description>
	<lastBuildDate>Mon, 23 Aug 2010 00:19:02 +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>Vertex Normals Revisited</title>
		<link>http://www.todaycreate.com/2010/07/05/vertex-normals-revisited</link>
		<comments>http://www.todaycreate.com/2010/07/05/vertex-normals-revisited#comments</comments>
		<pubDate>Tue, 06 Jul 2010 06:06:52 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=486</guid>
		<description><![CDATA[+ View large on Flickr. + View large on Flickr. + View large on Flickr. And tonight, got those vertex normals calculated. Much easier this time around &#8212; probably just because I understand it all conceptually now. I&#8217;m really enjoying how this stuff is looking. Finally, I feel like this digital generative work feels as [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mikecreighton/4767142482/" title="View large on Flickr"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-05_vertex-normals-revisited_01.jpg" alt="Tube Normals Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4767142482/">View large on Flickr.</a></span></p>
<p><a href="http://www.flickr.com/photos/mikecreighton/4767142286/" title="View large on Flickr"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-05_vertex-normals-revisited_02.jpg" alt="Tube Normals Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4767142286/">View large on Flickr.</a></span></p>
<p><a href="http://www.flickr.com/photos/mikecreighton/4766503497/" title="View large on Flickr"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-05_vertex-normals-revisited_03.jpg" alt="Tube Normals Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4766503497/">View large on Flickr.</a></span></p>
<p>And tonight, got those vertex normals calculated. Much easier this time around &#8212; probably just because I understand it all conceptually now.</p>
<p>I&#8217;m really enjoying how this stuff is looking. Finally, I feel like this digital generative work feels as organic and alive as the source of the data itself. I can&#8217;t wait to add the UI controls for &#8220;sculpting&#8221; the composition and colors&#8230; and can&#8217;t wait to add more structural elements.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/07/05/vertex-normals-revisited/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Tubes</title>
		<link>http://www.todaycreate.com/2010/07/04/making-tubes</link>
		<comments>http://www.todaycreate.com/2010/07/04/making-tubes#comments</comments>
		<pubDate>Mon, 05 Jul 2010 02:27:39 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Abstract]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=480</guid>
		<description><![CDATA[+ View large on Flickr. Now that I&#8217;m unpacked and settled in my new apartment &#8212; and since I have a 50 minute presentation coming up at FITC in just over a month &#8212; it was time to gain some momentum and get back on top of this stuff for Flow. I&#8217;ll be the first [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mikecreighton/4761978359/" title="View large on Flickr."><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-04_making_tubes_01.jpg" alt="Tubes Test Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4761978359/">View large on Flickr.</a></span></p>
<p>Now that I&#8217;m unpacked and settled in my new apartment &#8212; and since I have a 50 minute presentation coming up at FITC in just over a month &#8212; it was time to gain some momentum and get back on top of this stuff for <em>Flow</em>.</p>
<p>I&#8217;ll be the first to say that these definitely bear a strong resemblance to <a href="http://evan-roth.com/" title="Evan Roth: BAD ASS MOTHER FUCKER (BADASS MOTHERFUCKER #BADA55)">Evan Roth</a>&#8216;s latest <a href="http://graffitianalysis.com/" title="Graffiti Analysis">Graffiti Analysis</a> video called &#8220;<a href="http://vimeo.com/12881763" title="Graffiti Analysis: 3D on Vimeo">Graffiti Analysis: 3D</a>&#8221; &#8212;  because they do. And because I was definitely inspired by it (just like I was inspired by the original project when I first saw it back in 2005 at FITC).</p>
<p>But this is just one layer of what I&#8217;ve finally settled on for my first real &#8220;pieces&#8221; to come out of this <em>Flow</em> project. I&#8217;m focusing on isolation of a few strokes, creating a strong composition, and building something structural &#8212; almost architectural &#8212; out of these energetic moments of frozen time.</p>
<p>The hurdle today was learning to draw a tube in space&#8230;this took the better part of the day. I would&#8217;ve used the <a href="http://linas.org/gle/" title="GLE Tubing and Extrusion Fact Sheet">GLE Tubing and Extrusion library</a>, but unfortunately, that has dependencies on GLUT, which <a href="http://libcinder.org" title="Cinder | The library for professional-quality creative coding in C++">Cinder</a> does not use. And I didn&#8217;t think that I&#8217;d be able to vary the thickness of the tube over its length, so I decided to try it from scratch. And we&#8217;ve got [decent] success. I do want to implement proper per-vertex normals to smooth the sucker out some more. I think I&#8217;ll be able to rip the per-vertex normals code from the old <a href="http://www.todaycreate.com/2009/09/05/noise-tube-vertex-normals" title="TODAY, CREATE.  &raquo; Noise Tube: Vertex Normals">Noise Tube</a> experiments, since it&#8217;s ultimately the same mesh structure.</p>
<p>And yeah, this is all OpenGL still. Once I get the other structural elements in place, I&#8217;ll be writing some sort of Cinder Block for creating a Sunflow scene / scene file and rendering this stuff out in Sunflow. The final aim is to create some prints from this thing. I&#8217;m giving myself till the end of the week to wrap up this visual direction, so I can focus on refactoring and documenting all the behind-the-scenes <em>Flow</em> applications for open source release around mid-August.</p>
<p>You can see the full set of this first bunch of renders in <a href="http://www.flickr.com/photos/mikecreighton/sets/72157624423057786/" title="&quot;Flow&quot; Test Renderings - a set on Flickr">this Flickr set</a>.</p>
<p><a href="http://www.flickr.com/photos/mikecreighton/4761978445/" title="View large on Flickr."><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-04_making_tubes_02.jpg" alt="Tubes Test Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4761978445/">View large on Flickr.</a></span></p>
<p><a href="http://www.flickr.com/photos/mikecreighton/4762613068/" title="View large on Flickr."><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/07/2010-07-04_making_tubes_03.jpg" alt="Tubes Test Render" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4762613068/">View large on Flickr.</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/07/04/making-tubes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Stroke Renderer</title>
		<link>http://www.todaycreate.com/2010/05/16/a-stroke-renderer</link>
		<comments>http://www.todaycreate.com/2010/05/16/a-stroke-renderer#comments</comments>
		<pubDate>Mon, 17 May 2010 03:52:35 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Sunflow]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=459</guid>
		<description><![CDATA[+ View large. Spent a little time today on another tangent. One thing I didn&#8217;t like about those faux-cityscape renders was the fact that you completely lost all sense of the originating data. This isn&#8217;t necessarily a bad thing, but part of the reason I developed this whole system was to bring forth the energy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_gi_3speherelights_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_gi_3speherelights.jpg" alt="Stroke Renderer Sunflow render with global illumination and 3 sphere lights" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_gi_3speherelights_l.jpg">View large.</a></span></p>
<p>Spent a little time today on another tangent. One thing I didn&#8217;t like about those faux-cityscape renders was the fact that you completely lost all sense of the originating data. This isn&#8217;t necessarily a bad thing, but part of the reason I developed this whole system was to bring forth the energy and motion that actually went into creating the &#8220;seed&#8221; drawing.</p>
<p>So I took a step back and created a new renderer that let me isolate the individual &#8220;strokes&#8221; that were captured during the drawing session. In these renders, I&#8217;ve isolated three strokes; each has a unique color. The peaks in the height are derived from the relative velocity of a stroke at a given snapshot in time.</p>
<p>In <a href="http://libcinder.org">Cinder</a>, I created a GL scene that has a positionable camera and lets me page through each stroke. Then I can tap a key and dump out that stroke&#8217;s Sunflow scene data to the console. Along the way, I learned how to use the <a href="http://libcinder.org/docs/classcinder_1_1_tri_mesh.html">TriMesh class</a> in Cinder. It made dumping the Sunflow scene data easier, since it really parallels Sunflow&#8217;s &#8220;generic-mesh&#8221; type.</p>
<p>The render at the top uses three sphere lights, a basic diffuse shader for each object, and Sunflow&#8217;s path-tracing global illumination system. The render below uses the Sunflow sunsky light, a foggy Phong shader on the three strokes, and the &#8220;fake&#8221; global illumination setting in order to get some vague ambient light. I started discovering that there are a <em>lot</em> of possible combinations for lighting in Sunflow &#8212; almost an overwhelming number.</p>
<p>Next I&#8217;m gonna try a different drawing technique for rendering these strokes.</p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_sunsky_phong_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_sunsky_phong.jpg" alt="Stroke Renderer Sunflow render with a Sunsky light, Phong shaders, and some fake global illumination" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-16_stroke_renderer_sunsky_phong_l.jpg">View large.</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/05/16/a-stroke-renderer/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello, Sunflow.</title>
		<link>http://www.todaycreate.com/2010/05/13/hello-sunflow</link>
		<comments>http://www.todaycreate.com/2010/05/13/hello-sunflow#comments</comments>
		<pubDate>Thu, 13 May 2010 07:15:48 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Sunflow]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=453</guid>
		<description><![CDATA[+ View larger. So, you guys saw a still like this from the last time I posted. Basic OpenGL stuff with a couple lights and some simple cube-like structures. Immediately after getting that far, I wanted to get this stuff rendered in Sunflow. Now, Sunflow is an open-source global illumination renderer built with Java. But [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gl_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gl.jpg" alt="OpenGL render of generative ityscape" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gl_l.jpg">View larger.</a></span></p>
<p>So, you guys saw a still like this from the last time I posted. Basic OpenGL stuff with a couple lights and some simple cube-like structures. Immediately after getting that far, I wanted to get this stuff rendered in <a href="http://sunflow.sourceforge.net/" title="Sunflow - Global Illumination Rendering System">Sunflow</a>. Now, Sunflow is an open-source global illumination renderer built with Java. But at it&#8217;s core it&#8217;s a <a href="http://en.wikipedia.org/wiki/Ray_tracing_(graphics)" title="Ray tracing (graphics) - Wikipedia, the free encyclopedia">ray tracer</a>, which basically means you&#8217;ve can make stuff that looks real because it simulates real light rays. Moreover, it has different kinds of cameras&#8230; and one of those cameras can render a pretty realistic depth of field and even <a href="http://en.wikipedia.org/wiki/Bokeh" title="Bokeh - Wikipedia, the free encyclopedia">bokeh</a>.</p>
<p>Here&#8217;s the thing, I&#8217;m working in <a href="http://libcinder.org" title="Cinder | The library for professional-quality creative coding in C++">Cinder</a>, which means I needed to write something that took my geometry and dumped out a <a href="http://sfwiki.geneome.net/index.php5?title=SC_Notes" title="SC Notes - Sunflow Wiki">Sunflow Scene File</a> (.sc). But first, I had to figure out how the hell to get the OpenGL viewport projection matrix mapped correctly to the Sunflow camera &#8212; and moreover, I had to figure out how to take all these OpenGL transformations (rotate, translate, etc.) and turn them into something Sunflow understood.</p>
<p>Today, I finally wrapped my head around the two main OpenGL matrices. I&#8217;ll go into the specifics for folks that are interested in a later post, but the point is this: I can write code and render stuff using OpenGL in Cinder, press a key, and dump out all my Sunflow Scene File data (to the console for now). </p>
<p>Here&#8217;s what the above image looks like when it&#8217;s rendered with a couple point lights and a pinhole camera:</p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_pointlights_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_pointlights.jpg" alt="Sunflow render of generative cityscape with a couple point lights" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_pointlights_l.jpg">View large.</a></span></p>
<p>And here&#8217;s what it looks like with ambient occlusion (and no point lights)!</p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gi_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gi.jpg" alt="Sunflow render of generative cityscape with ambient occlusion" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_gi_l.jpg">View large.</a></span></p>
<p>But that stuff&#8217;s not too interesting. What&#8217;s interesting is what happens when you start playing with the <a href="http://sfwiki.geneome.net/index.php5?title=Lights#Sunsky" title="Lights - Sunflow Wiki">sunsky light</a> and the <a href="http://sfwiki.geneome.net/index.php5?title=Cameras#Thinlens" title="Cameras - Sunflow Wiki">thinlens camera</a>:</p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_dof_sunsky_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_dof_sunsky.jpg" alt="Sunflow render of generative cityscape with sunsky light and depth of field" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_dof_sunsky_l.jpg">View large.</a></span></p>
<p>And here&#8217;s what happens when you play with the <a href="http://sfwiki.geneome.net/index.php5?title=Shaders#Phong_Shader" title="Shaders - Sunflow Wiki">Phong shader</a> and too many lights and don&#8217;t want to tweak things until they actually look good!</p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_phong_point_l.jpg"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_phong_point.jpg" alt="Sunflow render of generative cityscape with point lights, a spehere light, and a Phong shader" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-12_sunflow_phong_point_l.jpg">View large.</a></span></p>
<p>All of this has me excited because now I can move quickly with framing and general colors and textures and such in OpenGL, then get super-nice renders from Sunflow. Yay open-source!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/05/13/hello-sunflow/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Motion-generated Cityscape</title>
		<link>http://www.todaycreate.com/2010/05/02/motion-generated-cityscape</link>
		<comments>http://www.todaycreate.com/2010/05/02/motion-generated-cityscape#comments</comments>
		<pubDate>Mon, 03 May 2010 02:55:21 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Generative]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=446</guid>
		<description><![CDATA[Spent most of today trying to pull off an idea that I had in my head since the last time I wrote. The idea came to me as soon as I saw a piece called Ephimicropolis by contemporary artist Peter Root. Most of his work is pretty compelling, visually dense, and labor-intensive. But I thought, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_01.jpg" alt="Motion-generated Cityscape Render 01" border="0" /></p>
<p>Spent most of today trying to pull off an idea that I had in my head since the last time I wrote. The idea came to me as soon as I saw a piece called  <a href="http://www.peterroot.com/index.php?/projects/ephemicropolis/">Ephimicropolis</a> by contemporary artist <a href="http://www.peterroot.com/">Peter Root</a>. Most of his work is pretty compelling, visually dense, and labor-intensive.</p>
<p>But I thought, hey, I love doing stuff that creates visual rhythm with similar shapes and iteration (see <a href="http://www.todaycreate.com/2006/10/08/image-topography-renders" title="TODAY, CREATE.  &raquo; Image Topography Renders">here</a> and <a href="http://www.todaycreate.com/2007/04/04/visp-output-sample-001" title="TODAY, CREATE.  &raquo; visp Output Sample 001">here</a> and <a href="http://www.todaycreate.com/2007/01/21/wall-of-rotation" title="TODAY, CREATE.  &raquo; Wall of Rotation">here</a> and <a href="http://www.todaycreate.com/2008/07/27/shape-iteration-003" title="TODAY, CREATE.  &raquo; Shape Iteration 003">here</a>). And I&#8217;m really into this idea that my captured motion data can be turned into something structural, becoming an input stream for a different set of dimensions. I&#8217;m almost literally painting an entire world here.</p>
<p>Anyway, now I need to actually start playing with how this thing looks. With lighting and the camera and texture and distribution of elements. Oh, and all of this was built using <a href="http://libcinder.org" title="Cinder | The library for professional-quality creative coding in C++">Cinder</a>.</p>
<p>Here&#8217;s a time-lapse render, so you can see it build up:</p>
<p><object width="560" height="315"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=11413225&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=11413225&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="315"></embed></object></p>
<p>Here are some of the in-progress renders that happened along the way as I was stumbling my way through all this:</p>
<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_02.jpg" alt="Motion-generated Cityscape Render 02" border="0" /></p>
<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_03.jpg" alt="Motion-generated Cityscape Render 03" border="0" /></p>
<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_04.jpg" alt="Motion-generated Cityscape Render 04" border="0" /></p>
<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_05.jpg" alt="Motion-generated Cityscape Render 05" border="0" /></p>
<p><img src="http://www.todaycreate.com/wp-content/creations/2010/05/2010-05-02_mogen_cityscape_06.jpg" alt="Motion-generated Cityscape Render 06" border="0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/05/02/motion-generated-cityscape/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Drawing with Architecture</title>
		<link>http://www.todaycreate.com/2010/04/27/drawing-with-architecture</link>
		<comments>http://www.todaycreate.com/2010/04/27/drawing-with-architecture#comments</comments>
		<pubDate>Tue, 27 Apr 2010 21:38:52 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Abstract]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cinder]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=440</guid>
		<description><![CDATA[+ View large. + View large. + View large. Lots of new stuff learned over the weekend. Here&#8217;s a summary: Really understand basic OpenGL lighting now. Understand how to do basic material coloring now. Learned how to texture a quad! Starting to learn some things about the Boost C++ libraries. Finally remembered that OpenGL is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_01_large.png"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_01.jpg" alt="Oil Pastel 01 Cinder Output 02 - 1 / 3" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_01_large.png">View large.</a></span></p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_02_large.png"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_02.jpg" alt="Oil Pastel 01 Cinder Output 02 - 2 / 3" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_02_large.png">View large.</a></span></p>
<p><a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_03_large.png"><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_03.jpg" alt="Oil Pastel 01 Cinder Output 02 - 3 / 3" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-27_oil_pastel_test_01_cinderout2_03_large.png">View large.</a></span></p>
<p>Lots of new stuff learned over the weekend. Here&#8217;s a summary:</p>
<ul>
<li>Really understand basic OpenGL lighting now.</li>
<li>Understand how to do basic material coloring now.</li>
<li>Learned how to texture a quad!</li>
<li>Starting to learn some things about the <a href="http://www.boost.org/">Boost C++ libraries</a>.</li>
<li>Finally remembered that OpenGL is a state machine.</li>
</ul>
<p>I think I actually (finally) have enough know-how to execute what I&#8217;ve got going on in my head. It&#8217;s going to require some refactoring of code, but I don&#8217;t feel like I&#8217;m up against an unclimbable wall anymore, which is precisely how I felt by the end of the day on Sunday.</p>
<p>I still think this looks boring / uninteresting, but it&#8217;s just another step closer and a lot of lessons learned.</p>
<p>Here&#8217;s a video render of what it looks like in realtime:</p>
<p><object width="560" height="315"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=11277966&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=11277966&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="315"></embed></object></p>
<p><strong>Update on 04-29-2010</strong>: The C++ framework that I&#8217;m using has just been released to the public. It&#8217;s called <a href="http://libcinder.org" title="Cinder | The library for professional-quality creative coding in C++">Cinder</a>. Big ups to <a href="http://drawnline.net/">Andrew Bell</a>, <a href="http://roberthodgin.com/">Robert Hodgin</a>, and <a href="http://www.barbariangroup.com/">The Barbarian Group</a> for all the time and effort put into releasing such a powerful and fun open source framework for creative coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/04/27/drawing-with-architecture/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Making Velocities Visible</title>
		<link>http://www.todaycreate.com/2010/04/11/making-velocities-visible</link>
		<comments>http://www.todaycreate.com/2010/04/11/making-velocities-visible#comments</comments>
		<pubDate>Mon, 12 Apr 2010 01:41:47 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[Abstract]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Particles]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Realtime]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=432</guid>
		<description><![CDATA[Below is a 60 second render from the data set captured from this drawing. Aesthetically, this is completely off the mark from what I&#8217;ve got in my mind&#8217;s eye. But in doing each of these exercises, I&#8217;m getting more familiar with C++ programming and openFrameworks and the various add-ons that exist out there. And I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.todaycreate.com/wp-content/creations/2010/04/2010-04-11_making_velocities_visible.png" alt="Oil Pastel Test 01 - Render 03 Capture" border="0" /></p>
<p>Below is a 60 second render from the data set captured <a href="http://www.todaycreate.com/2010/04/05/flow-first-real-drawing-captured">from this drawing</a>.</p>
<p><object width="560" height="776"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10855634&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10855634&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="776"></embed></object></p>
<p>Aesthetically, this is completely off the mark from what I&#8217;ve got in my mind&#8217;s eye. But in doing each of these exercises, I&#8217;m getting more familiar with C++ programming and openFrameworks and the various add-ons that exist out there.</p>
<p>And I&#8217;m also refining my general goals for the first set of &#8220;pieces&#8221; I want to create with this <em>Flow</em> system:</p>
<ol>
<li>Show the energy and motion of each stroke. This needs to be visible even in a static render.</li>
<li>Avoid random as much as possible. The work needs to exhibit clear intention.</li>
<li>Create something dimensional, structural.</li>
<li>Work within &#8220;moments&#8221; of the data set, not its entirety.</li>
</ol>
<p>I&#8217;m going to try to make sure whatever it is I come up with adheres to these main goals for now.			</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/04/11/making-velocities-visible/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sperm</title>
		<link>http://www.todaycreate.com/2010/04/07/sperm</link>
		<comments>http://www.todaycreate.com/2010/04/07/sperm#comments</comments>
		<pubDate>Wed, 07 Apr 2010 07:36:42 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Particles]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=429</guid>
		<description><![CDATA[This is so stupid. But it&#8217;s like a black triangle for me. It represents the following: I&#8217;ve somehow actually retained all I learned about C++. In fact, I see the language even clearer now, bizarrely. I can now make pointers to pointers to pointers of things and still get to the most deeply-nested data in [...]]]></description>
			<content:encoded><![CDATA[<p><object width="560" height="560"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=10742027&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=10742027&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="560"></embed></object></p>
<p>This is so stupid.</p>
<p>But it&#8217;s like a <a href="http://rampantgames.com/blog/2004/10/black-triangle.html">black triangle</a> for me. It represents the following:</p>
<ul>
<li>I&#8217;ve somehow actually retained all I learned about C++. In fact, I see the language even clearer now, bizarrely.</li>
<li>I can now make pointers to pointers to pointers of things and still get to the most deeply-nested data in that relationship (something I absolutely could not wrap my head around a couple months ago).</li>
<li>I successfully started using memo&#8217;s <a href="http://www.msavisuals.com/msaphysics">MSAPhysics library for openFrameworks</a>, which isn&#8217;t so different from toxi&#8217;s Verlet physics engine in <a href="http://toxiclibs.org/">his library</a>.</li>
<li>I can make stuff look like sperm.</li>
</ul>
<p>But seriously, this sperm thing is moving based on the data captured in the drawing from a few nights ago. </p>
<p>So, I&#8217;ve got the data. I&#8217;ve got the basic framework for traversing and manipulating the data. And I&#8217;ve got an idea of what I want to focus on (finally). And no, I&#8217;m not focusing on making stuff that looks like this.</p>
<p>But tonight was a good start in a solid direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/04/07/sperm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stroke Visualization</title>
		<link>http://www.todaycreate.com/2010/01/02/stroke-visualization</link>
		<comments>http://www.todaycreate.com/2010/01/02/stroke-visualization#comments</comments>
		<pubDate>Sun, 03 Jan 2010 04:31:42 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[Abstract]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=378</guid>
		<description><![CDATA[Continuing from yesterday&#8217;s progress, this time around I&#8217;m visualizing the data set as actual strokes (ribbons) and trying to show amplify their velocities by increasing stroke width. It&#8217;s a basic drawing trick that you see all over the place. I guess I&#8217;m trying to wrap my head around the data set right now. I have [...]]]></description>
			<content:encoded><![CDATA[<p><object width="560" height="749"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8509097&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8509097&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="749"></embed></object></p>
<p>Continuing from yesterday&#8217;s progress, this time around I&#8217;m visualizing the data set as actual strokes (ribbons) and trying to show amplify their velocities by increasing stroke width. It&#8217;s a basic drawing trick that you see <em>all</em> over the place.</p>
<p>I guess I&#8217;m trying to wrap my head around the data set right now. I have a lot of ideas about where I could take this, but I&#8217;m not quite sure which one to pick.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/01/02/stroke-visualization/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Test Render of Groggy Self Portrait</title>
		<link>http://www.todaycreate.com/2010/01/01/test-render-of-groggy-self-portrait</link>
		<comments>http://www.todaycreate.com/2010/01/01/test-render-of-groggy-self-portrait#comments</comments>
		<pubDate>Sat, 02 Jan 2010 05:41:13 +0000</pubDate>
		<dc:creator>Mike Creighton</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Computer Vision]]></category>
		<category><![CDATA[Drawing]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[Generative]]></category>
		<category><![CDATA[Sketches]]></category>
		<category><![CDATA[openFrameworks]]></category>

		<guid isPermaLink="false">http://www.todaycreate.com/?p=376</guid>
		<description><![CDATA[+ View the piece on Flickr. Today I finished up a drawing &#8212; a bad self portrait. This is the first piece I&#8217;ve used as a data source for the new Flow Receiver capture system. It was drawn over a couple days / sessions. As soon as I finished it, I immediately exported the captured [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mikecreighton/4235885644/" title="View the piece on Flickr."><img class="hasLargeImage" src="http://www.todaycreate.com/wp-content/creations/2010/01/2010-01-01_self_portrait_for_flow.jpg" alt="" border="0" /></a><span class="imageLinkHolder">+ <a href="http://www.flickr.com/photos/mikecreighton/4235885644/" title="View the piece on Flickr.">View the piece on Flickr.</a></span></p>
<p>Today I finished up a drawing &#8212; a bad self portrait. This is the first piece I&#8217;ve used as a data source for the new <strong><a href="http://www.todaycreate.com/2009/12/27/flow-receiver-completed">Flow Receiver</a></strong> capture system. It was drawn over a couple days / sessions. As soon as I finished it, I immediately exported the captured data, a 9MB XML file consisting of about 150,000 points.</p>
<p>Then I made the simplest visualization of the data I could. Using <a href="http://openframeworks.cc">openFrameworks</a> and the <a href="http://www.grinninglizard.com/tinyxml/">TinyXML</a> C++ library, I plotted a semi-transparent circle for each point in the data set. You can see the output rendered here:</p>
<p><object width="560" height="749"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=8494480&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=8494480&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=AAC132&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="560" height="749"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.todaycreate.com/2010/01/01/test-render-of-groggy-self-portrait/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
