<?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>random thoughts</title>
	<atom:link href="http://blog.mgrundmann.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.mgrundmann.com</link>
	<description></description>
	<lastBuildDate>Sun, 17 Jan 2010 20:40:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>OpenCV 2.0 on SnowLeopard 64bit via MacPorts</title>
		<link>http://blog.mgrundmann.com/?p=5</link>
		<comments>http://blog.mgrundmann.com/?p=5#comments</comments>
		<pubDate>Mon, 26 Oct 2009 21:38:35 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[guides]]></category>

		<guid isPermaLink="false">http://blog.mgrundmann.com/2009/10/26/opencv-20-on-snowleopard-64bit-via-macports/</guid>
		<description><![CDATA[Updated 1/17/10: The Portfile now includes a &#8220;+disable_openmp&#8221; variant. I encountered some OpenMP related segfaults in cvCalcOpticalFlowPyrLK which can be prevented with this variant.
In case you need OpenCV 2.0 on SnowLeopard in 64bit and can live without quicktime support (OpenCV 2.0 it has FFMPEG support so you should be OK in most cases) this tutorial [...]]]></description>
			<content:encoded><![CDATA[<p><b>Updated 1/17/10:</b> The Portfile now includes a &#8220;+disable_openmp&#8221; variant. I encountered some OpenMP related segfaults in cvCalcOpticalFlowPyrLK which can be prevented with this variant.</p>
<p>In case you need OpenCV 2.0 on SnowLeopard in 64bit and can live without quicktime support (OpenCV 2.0 it has FFMPEG support so you should be OK in most cases) this tutorial is for you.</p>
<p>In case you want OpenCV 2.0 in 32 bit on 10.5 this probably works too, but I haven&#8217;t tested it. Just download the attached &#8220;Portfile&#8221; and follow the short steps underneath:</p>
<ol>
<li>Before starting execute<br />
<code>sudo port selfupdate</code><br />
so that the most recent dependencies will be installed later on. Otherwise the build might fail.</p>
<li>Make your own port directory somewhere, e.g.<br />
<code>/Users/sam/ports</code></li>
<li>Let macports know about it by editing sources.conf, e.g.<br />
<code>&gt; cd /opt/local/etc/macports</code><br />
<code>&gt; sudo vim sources.conf</code></li>
<li>Add the local port directory to the sources.conf before the rsync:// at the bottom of the file, e.g.<br />
<code>file:///Users/sam/ports    # That is 3 slashes after file <img src='http://www.mgrundmann.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </code></li>
<li>Create a graphics/OpenCV subfolder so that we have in our example<br />
<code>/Users/sam/ports/graphics/OpenCV</code></li>
<li> Copy the downloaded Portfile into the above directory, make sure it is called Portfile not Portfile.txt</li>
<p></p>
<li>Execute portindex in your local port directory, e.g.<br />
<code>&gt; cd /Users/sam/ports</code><br />
<code>&gt; portindex</code><br />
You should see a message telling you that the total number of parsed ports is 1</li>
<li>Check if OpenCV 2.0 is found<br />
<code>&gt; port search OpenCV</code></li>
<li>Install OpenCV via<br />
<code>&gt; sudo port install OpenCV</code><br />
or on SnowLeopard in 64 bit but without quicktime support<br />
<code>&gt; sudo port install OpenCV +sl_64bit</code></li>
<li>Enjoy the time you have saved by not having to implement the algorithms in the new MachineLearning package all by yourself <img src='http://www.mgrundmann.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
</ol>
<p><a href="http://www.mgrundmann.com/blog_files/Portfile"> Download Portfile </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mgrundmann.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Simple OpenGL ES 2.0 iPhone example</title>
		<link>http://blog.mgrundmann.com/?p=4</link>
		<comments>http://blog.mgrundmann.com/?p=4#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:04:38 +0000</pubDate>
		<dc:creator>Matthias</dc:creator>
				<category><![CDATA[code samples]]></category>

		<guid isPermaLink="false">http://mgrundmann.com/2009/06/24/simple-opengl-es-20-iphone-example/</guid>
		<description><![CDATA[I had quite a hard time to find a good starting point for OpenGL ES 2.0 development on the new iPhone 3GS. That&#8217;s why I thought it might be helpful to share the simple framework I put together here. 
The application is pretty much a 1-1 port of the standard OpenGL ES 1.1 example that ships [...]]]></description>
			<content:encoded><![CDATA[<p>I had quite a hard time to find a good starting point for OpenGL ES 2.0 development on the new iPhone 3GS. That&#8217;s why I thought it might be helpful to share the simple framework I put together here. </p>
<p>The application is pretty much a 1-1 port of the standard OpenGL ES 1.1 example that ships with Xcode but uses shader for transforming vertices and coloring fragments. I added a ShaderProgram interface that allows to load shader from the application bundle (they have to be included in Targets -&gt; Copy Bundle Resources.) For setting up the projection and modelview matrix I used the code available with the OpenGL ES 2.0 Programming guide [Munshi et al. 2008] but I removed all the ESContext calls because the SDK has already its own EAGLContext. One could switch out the matrix multiplication functions and add a matrix inversion routine from the <a href="http://code.google.com/p/vfpmathlibrary/">vfpmathlibrary</a> but that&#8217;s not really necessary for this simple example.</p>
<p>The two main function for customization are <code>EAGLView::initView</code> and <code>EAGLView::updateView</code>.</p>
<p><strong>I updated WordPress and the link should work again!</strong><br />
Source:  <a href="http://www.mgrundmann.com/blog_files/shader_example.zip"> shader_example.zip </a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mgrundmann.com/?feed=rss2&amp;p=4</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
