<?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>digitalbreed &#187; camera</title>
	<atom:link href="http://digitalbreed.com/tag/camera/feed" rel="self" type="application/rss+xml" />
	<link>http://digitalbreed.com</link>
	<description>matthias gall - product architect</description>
	<lastBuildDate>Fri, 03 Feb 2012 23:36:45 +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>Android: Render OpenGL on top of camera preview</title>
		<link>http://digitalbreed.com/2009/android-render-opengl-on-top-of-camera-preview</link>
		<comments>http://digitalbreed.com/2009/android-render-opengl-on-top-of-camera-preview#comments</comments>
		<pubDate>Sat, 14 Nov 2009 14:10:13 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Software Engineering]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://digitalbreed.com/?p=555</guid>
		<description><![CDATA[I was searching for that today and thought I could write a short wrap-up of what I ended up with. Particularly helpful was the Android TranslucentGLSurface sample code and a thread in the Android Beginners group. Keep reading below for the fully commented source code. Let&#8217;s start with the onCreate method of the main activity code. When I was writing this, I was wondering why I had to set the GL view first and then add the preview because actually I want to have the preview below the GL surface, so this looks a bit strange to me. I didn&#8217;t find an answer on that one yet, but it works that way. The rendering is implemented in a separate class GLClearRenderer which is pretty much like the one used in the GLSurfaceView introduction. It&#8217;s trivial since I&#8217;ve used it only for testing purposes. A real application would most likely subclass GLSurfaceView, too, in order overwrite onTouchEvent etc. If you comment out adding the camera view in onCreate, you will already be able to run the application and see the flashing screen. Now for the last part, the camera access. As you&#8217;ve seen that earlier, the whole logic is implemented in CameraView. Thanks to Androids easy-to-use camera API, rendering the preview into a surface is straightforward.]]></description>
		<wfw:commentRss>http://digitalbreed.com/2009/android-render-opengl-on-top-of-camera-preview/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

