<?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; Processing</title>
	<atom:link href="http://www.pixelnerve.com/v/tag/processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelnerve.com/v</link>
	<description></description>
	<lastBuildDate>Sun, 30 Oct 2011 23:43:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Aliasing Beauty</title>
		<link>http://www.pixelnerve.com/v/2010/12/30/aliasing-beauty/</link>
		<comments>http://www.pixelnerve.com/v/2010/12/30/aliasing-beauty/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 18:25:29 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Generative]]></category>
		<category><![CDATA[GPU]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[cgfx]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[metaballs]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[shaders]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1377</guid>
		<description><![CDATA[Finally, i posted about the Aliasing Beauty, a relative to Black&#38;White project created for Written Images book. Read more..]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Finally, i posted about the <strong>Aliasing Beauty</strong>, a relative to Black&amp;White project created for Written Images book. <a title="Aliasing Beauty" href="http://www.pixelnerve.com/portfolio/2010/12/30/aliasing-beauty/" target="_blank">Read more..<br />
</a><br />
<iframe src="http://player.vimeo.com/video/14801724?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="640" height="360" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/12/30/aliasing-beauty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CLNUI 4 Java (Kinect)</title>
		<link>http://www.pixelnerve.com/v/2010/11/19/clnui-4-java-kinect/</link>
		<comments>http://www.pixelnerve.com/v/2010/11/19/clnui-4-java-kinect/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 02:14:44 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Interaction]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[CLNUI]]></category>
		<category><![CDATA[JNA]]></category>
		<category><![CDATA[kinect]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1343</guid>
		<description><![CDATA[Kinect is a new product from Microsoft for XBox360. With an RGB camera, a 3D depth sensor (structured IR light) and  a multi-array microphone , it is able to compute a depth map, something very interesting for the interactive world of creativity and gaming. Nothing new as technology, but still, interesting and cheap. Since its [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a title="Kinect" href="http://en.wikipedia.org/wiki/File:KinectTechnologiesE3.jpg" rel="shadowbox[sbpost-1343];player=img;" target="_blank">Kinect</a> is a new product from Microsoft for XBox360. With an RGB camera, a 3D depth sensor (structured IR light) and  a multi-array microphone , it is able to compute a depth map, something very interesting for the interactive world of creativity and gaming. Nothing new as technology, but still, interesting and cheap. Since its release people have been trying to work in order to hack it and get it to work with windows and mac OS. Quite a few people have been working on drivers and a way to hack the gadget to get access to the color/depth data. One of these people is called Alex from <a title="CL" href="http://codelaboratories.com/forums/viewthread/416/" target="_blank">Code Laboratories</a>, the man behind the PS3eye camera drivers for PC&#8217;s. Recently, he released a new package (C and C#) that includes drivers and SDK for Kinect. I took the SDK and with  <a title="JNA" href="https://jna.dev.java.net/" target="_blank">JNA</a> i wrote a library for java that wraps the original one and also tries to make its use easy for starters.</p>
<p style="text-align: justify;"><a href="../wp-content/uploads/2010/11/Frame_0471.png" rel="shadowbox[sbpost-1343];player=img;"></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/11/Frame_0471.jpg" rel="shadowbox[sbpost-1343];player=img;"><img class="alignnone size-medium wp-image-1348" title="Frame_0471" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/11/Frame_0471-638x358.jpg" alt="" width="638" height="358" /></a></p>
<p style="text-align: justify;">A very early release is available <a title="CLNUI4J" href="http://victamin.googlecode.com/files/CLNUI4J_01.zip" target="_blank">http://victamin.googlecode.com/files/CLNUI4J_01.zip</a>. This might or might not work out-of-the-box and it sure needs improvement and more work, but as they say, release early, release often. This package includes the library and basic examples running on Eclipse IDE <span style="text-decoration: line-through;">and processing IDE (untested)</span>. It is known that this library does not work directly with Processing.</p>
<p>EDIT! Version 0.2 is now available at: <a title="CLNUI4J" href="http://victamin.googlecode.com/files/CLNUI4J_02.zip" target="_blank">http://victamin.googlecode.com/files/CLNUI4J_02.zip</a>.<br />
You can now find a friendly wrapper and a couple of examples to get you started.</p>
<p style="text-align: justify;">I would love to get some feedback, so if you&#8217;re a Kinect owner and you&#8217;re into java<span style="text-decoration: line-through;">/processing</span>, give it a  spin and let me know how it works out for you.</p>
<p style="text-align: justify;">Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/11/19/clnui-4-java-kinect/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>GML Viscosity</title>
		<link>http://www.pixelnerve.com/v/2010/09/07/gml-viscosity/</link>
		<comments>http://www.pixelnerve.com/v/2010/09/07/gml-viscosity/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 07:32:25 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[GPU]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[Works]]></category>
		<category><![CDATA[cgfx]]></category>
		<category><![CDATA[effect]]></category>
		<category><![CDATA[gml]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[graffiti]]></category>
		<category><![CDATA[opengl]]></category>
		<category><![CDATA[realtime]]></category>
		<category><![CDATA[shaders]]></category>
		<category><![CDATA[vitamin]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1259</guid>
		<description><![CDATA[So here it is, the application and source code for GML Viscosity. I finally took the time to clean up this project and make a public release. In the packages you will find binaries and source code for the application, so if you&#8217;re thinking of using it and come up with something nice, let me [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">So here it is, the application and source code for <strong>GML Viscosity</strong>.</p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/09/Frame_0233.jpg" rel="shadowbox[sbpost-1259];player=img;"><img class="alignnone size-medium wp-image-1280" title="Frame_0233" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/09/Frame_0233-638x357.jpg" alt="" width="638" height="357" /></a></p>
<p style="text-align: justify;">I finally took the time to clean up this project and make a public release. In the packages you will find binaries and source code for the application, so if you&#8217;re thinking of using it and come up with something nice, let me know. After the first release i have fixed some problems with memory access and crashes. I have also added a simple UI for easy pick of tags from the &#8220;data/tags&#8221; folder on your hard-drive.</p>
<p><iframe src="http://player.vimeo.com/video/13550099?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff" width="640" height="360" frameborder="0"></iframe></p>
<p style="text-align: justify;"><i>What is it?</i><strong><br />
- GML Viscosity</strong> is an experiment. It is application used to draw GML tags on a viscous liquid rendered purely on the GPU side.</p>
<p style="text-align: justify;"><i>What does it do?</i><br />
- It liquifies your tags, in a way you can hardly read them but still looks cool (thats graffiti).<br />
- It is possible to load gml files from the disk or directly from the <a title="http://000000book.com/" href="http://000000book.com/">&#8220;lots of zeros&#8221;book</a> database.</p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/09/Frame_0228.jpg" rel="shadowbox[sbpost-1259];player=img;"><img class="alignnone size-medium wp-image-1277" title="Frame_0228" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/09/Frame_0228-638x357.jpg" alt="" width="638" height="357" /></a></p>
<p style="text-align: justify;"><i>How can I interact?</i><br />
- Not implemented on this version. This version selects and draw gml files randomly from the web or from a tags folder. For a smart person it should be easy to add mouse support. The code is also prepared to support multitouch so, it should be easy to implement TUIO and create your multitouch version.<br />
- Use &#8216;r&#8217; key to randomly fetch a new tag from the website and if available it will draw it on the screen.<br />
- Use the GUI window to pick any tag from the folder &#8220;tags&#8221; inside data folder.</p>
<p style="text-align: justify;">
<p style="text-align: justify;"><i>Where can i get it?</i><br />
<a title="GML Viscosity" href="http://www.pixelnerve.com/downloads/processing/GMLViscosity_win.zip" target="_blank">Windows Version</a> | <a title="GML Viscosity" href="http://www.pixelnerve.com/downloads/processing/GMLViscosity_osx.zip" target="_blank">MacOSX Version</a></p>
<p style="text-align: justify;">Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/09/07/gml-viscosity/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MSAOpenCL for Java and Processing</title>
		<link>http://www.pixelnerve.com/v/2010/07/29/msaopencl-for-java-and-processing/</link>
		<comments>http://www.pixelnerve.com/v/2010/07/29/msaopencl-for-java-and-processing/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 01:57:33 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[GPU]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[JavaCL]]></category>
		<category><![CDATA[msaopencl]]></category>
		<category><![CDATA[OpenCL]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1248</guid>
		<description><![CDATA[Recently I have been doing some work with OpenCL and i found myself messing up with old code and re-writing most of it .  At first it was interesting and quite funny but no more, so,  I thought it was time to make things easier for myself and just make things reusable by creating a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Recently I have been doing some work with <a title="OpenCL" href="http://www.nvidia.com/object/cuda_opencl_new.html" target="_blank">OpenCL</a> and i found myself messing up with old code and re-writing most of it .  At first it was interesting and quite funny but no more, so,  I thought it was time to make things easier for myself and just make things reusable by creating a wrapper which would wrap most of the boring and time-consuming parts. This would be a wrapper on OpenCL for Java and/or Processing. Well, a well known guy named <a title="Memo" href="http://www.memo.tv" target="_blank">Mehmet &#8220;Memo&#8221; Akten</a> has done such a wrapper in C++ for the <a title="OF" href="http://www.openframeworks.cc" target="_blank">OpenFrameworks</a> and <a title="Cinder" href="http://www.libcinder.org" target="_blank">Cinder</a> libraries. I have ported it  to Java.</p>
<p style="text-align: justify;">There are some problems with reading/writing from/to GL textures. For some reason it crashes on me. I have been working with <a title="JavaCL" href="http://code.google.com/p/javacl/" target="_blank">JavaCL</a>&#8216;s author, so hopefully it will be working soon.</p>
<p style="text-align: justify;">
<p style="text-align: justify;">:: <a title="MSAOpenCL for Java/Processing" href="http://code.google.com/p/victamin/downloads/detail?name=msaopencl.zip" target="_blank">Download</a></p>
<p style="text-align: justify;">Download it, install it and try it.<br />
If you find any problems or if you have suggestions, let me know.</p>
<p style="text-align: justify;">Have fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/07/29/msaopencl-for-java-and-processing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass cube rendering</title>
		<link>http://www.pixelnerve.com/v/2010/04/03/mass-cube-rendering/</link>
		<comments>http://www.pixelnerve.com/v/2010/04/03/mass-cube-rendering/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 12:02:01 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Generative]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[geometry shader]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[instancing]]></category>
		<category><![CDATA[opengl]]></category>
		<category><![CDATA[shaders]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=1033</guid>
		<description><![CDATA[I have recently done some experimental work in order to render mass amounts of cubes. I was moved by this video from Smash, i wanted to know how far i would be able to go on my NVidia GT240M (rendering side). My first choice was Geometry Shaders. I quickly wrote an app that sent a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have recently done some experimental work in order to render mass amounts of cubes. I was moved by <a href="http://vimeo.com/9888065" target="_blank">this video from Smash</a>, i wanted to know how far i would be able to go on my NVidia GT240M (rendering side). My first choice was <a href="http://en.wikipedia.org/wiki/Geometry_shader" target="_blank">Geometry Shaders</a>.<br />
I quickly wrote an app that sent a list of points in space to the GPU and a geometry shader would generate a cube mesh for each one of  the points. Tested it on 100.000 cubes and the framerate was bad(10fps or so). The time was now for optimization.</p>
<p><a href="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/frame_127.png" rel="shadowbox[sbpost-1033];player=img;"><img class="size-medium wp-image-1051" title="100k cubes using GS + cpu animation" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/04/frame_127-634x356.png" alt="" width="634" height="356" /></a></p>
<p style="text-align: justify;">Next step was to optimize the cube generation by lowering from a 24 vertex cube to 14 vertex triangle strip. Things got better, but nothing close to my expectations. I was not satisfied, i mean, i had alot of cubes on screen (100K which was not that much) and that was it, nothing else. We&#8217;re talking about 20fps or so, for 100.000 cubes (around 1.2 million triangles per frame). Later on i added vertex normals to the geometry shader and started to work on some lighting/shadowing, but i ended up going back on the rendering side of the job. Meanwhile, i was speaking with a <a href="http://diogo.codingcorner.net/" target="_blank">friend of mine</a> about this idea and we were discussing ways to compute lighting but i couldn&#8217;t stop thinking about my real problem. So it came to me.</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=10501999&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=10501999&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;">Previously, i have done some experiments with opengl hardware instancing, but never got  to do much about it .  What better time than now, so i grabbed the project and took it for a spin. After a few hours i had the same amount of cubes on screen with a much much better framerate. Quickly implemented some eye-candy (coloring, texturing, vertex lighting), some tweaking here and there and as i was listening to Mr. Peter Broderick (hi, i love you man) added some audio analysis to the feature list.<br />
Last but not least, a kind of &#8220;Brownian Motion&#8221; was used to generate points in space, increased the cube count to 512*512 and watched it flow ( at 20fps ).</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=10503489&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=10503489&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;">In conclusion, Hardware instancing was much easier to implement  and performance seems much better at first sight. Above is a video of 262.144 audio-reactive cubes with GPU animation and basic lighting at around 20fps. For my video card i think that is very good. On a sidenote, i have not given up on the geometry shaders. I am not sure what will be my next step regarding the subject (back to geometry shaders?) but for now this is it. Hardware Instancing kicked Geometry Shaders in the ass.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/04/03/mass-cube-rendering/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monologue Muet &#8211; Outside projection</title>
		<link>http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/</link>
		<comments>http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 20:18:22 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Generative]]></category>
		<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Works]]></category>
		<category><![CDATA[exhibition]]></category>
		<category><![CDATA[projection mapping]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=981</guid>
		<description><![CDATA[This is the outside projection for Monologue Muet exhibition, a photography work by Sue Elie Andrade De. Based on her video called The Rain, i have created the outside projection with response to physical properties, like doors and windows.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">This is the outside projection for <a title="Monologue Muet" href="http://www.pixelnerve.com/s/index.php?/projects/work-in-progress-research/" target="_blank">Monologue Muet</a> exhibition, a photography work by <a href="http://www.sueelieandradede.com/" target="_blank">Sue Elie Andrade De</a>.<br />
Based on her video called <a title="The Rain" href="http://vimeo.com/8760693" target="_blank">The Rain</a>, i have created the outside projection with response to physical properties, like doors and windows.</p>
<p style="text-align: justify;"><a rel="attachment wp-att-986" href="http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/pic_1198/"><img class="alignnone size-medium wp-image-986" title="PIC_1198" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/03/PIC_1198-634x475.jpg" alt="" width="634" height="475" /></a></p>
<p style="text-align: justify;"><a rel="attachment wp-att-988" href="http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/pic_1205/"><img class="alignnone size-medium wp-image-988" title="PIC_1205" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/03/PIC_1205-634x475.jpg" alt="" width="634" height="475" /></a></p>
<p style="text-align: justify;"><a rel="attachment wp-att-987" href="http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/pic_1203/"><img class="alignnone size-medium wp-image-987" title="PIC_1203" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/03/PIC_1203-634x475.jpg" alt="" width="634" height="475" /></a></p>
<p style="text-align: justify;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" 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=9908918&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="480" src="http://vimeo.com/moogaloop.swf?clip_id=9908918&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>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/03/07/monologue-muet-outside-projection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaCL, the new OpenCL4Java</title>
		<link>http://www.pixelnerve.com/v/2010/02/17/javacl-the-new-opencl4java/</link>
		<comments>http://www.pixelnerve.com/v/2010/02/17/javacl-the-new-opencl4java/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 07:11:21 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[JavaCL]]></category>
		<category><![CDATA[OpenCL]]></category>
		<category><![CDATA[opencl4java]]></category>
		<category><![CDATA[realtime]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=940</guid>
		<description><![CDATA[I have noticed that OpenCL4Java is on version 1.4beta by now and that my examples were crashing when running on a GPU device. Today i took the time to do something about it. I have downloaded the new version and have updated the examples to run with 1.4beta. Everything seems to work just fine now, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have noticed that OpenCL4Java is on version 1.4beta by now and that my examples were crashing when running on a GPU device. Today i took the time to do something about it. I have downloaded the new version and have updated the examples to run with 1.4beta. Everything seems to work just fine now, if you have a different opinion, please do let me know.</p>
<p style="text-align: justify;"><a rel="attachment wp-att-926" href="http://www.pixelnerve.com/v/2010/02/17/javacl-the-new-opencl4java/frame_2225/"><img title="GreeblesCL" src="http://www.pixelnerve.com/v/wp-content/uploads/2010/02/frame_2225-634x356.png" alt="" width="634" height="356" /></a></p>
<p style="text-align: justify;">Download: <a title="JavaCL" href="http://victamin.googlecode.com/files/JavaCL_1_4b.zip" target="_blank">http://victamin.googlecode.com/files/JavaCL_1_4b.zip</a></p>
<p style="text-align: justify;">Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2010/02/17/javacl-the-new-opencl4java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(hmm) Greebles</title>
		<link>http://www.pixelnerve.com/v/2009/11/04/hmm-greebles/</link>
		<comments>http://www.pixelnerve.com/v/2009/11/04/hmm-greebles/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 11:37:08 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Graphics programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[audio reactive]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[greebles]]></category>
		<category><![CDATA[realtime]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=862</guid>
		<description><![CDATA[Since Star Wars(tm) (so i&#8217;ve read), texture-based techniques have been used to improve the detail on planar and easily curved surfaces. The one i&#8217;m talking about here is called Greebles. Apply an heightmap texture on a surface and on a per-pixel basis, geometry is generated acoording to the pixel&#8217;s intensity. By doing it you get [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Since  Star Wars(tm) (so i&#8217;ve read), texture-based techniques have been used to  improve the detail on planar and easily curved surfaces. The one i&#8217;m  talking about here is called Greebles. Apply an heightmap texture on a  surface and on a per-pixel basis, geometry is generated acoording to the  pixel&#8217;s intensity. By doing it you get more detailed surfaces without  having to model every little part by yourself, making things more  interesting, realistic and much more appealing.</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=8384130&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=8384130&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>To achieve this i&#8217;ve picked <a href="http://www.opengl.org/wiki/Vertex_Texture_Fetch" target="_blank">Vertex Texture Fetch</a>. It allows you to access texture data on the vertex shader. Pass a texture to the vertex shader and offset the surface vertices by the pixel&#8217;s intensity. To improve the looks, bump-mapping with multiple lights have been used. Everything presented here is generated on the GPU, even the objects. Runs nicely on a Nvidia 8200M. Lots of  space for improvement.</p>
<p style="text-align: justify;"><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0001332.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-861" title="greebles_0001332" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0001332-150x150.jpg" alt="greebles_0001332" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004509.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-860" title="greebles_0004509" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004509-150x150.jpg" alt="greebles_0004509" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004451.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-859" title="greebles_0004451" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004451-150x150.jpg" alt="greebles_0004451" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004315.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-858" title="greebles_0004315" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004315-150x150.jpg" alt="greebles_0004315" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004301.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-857" title="greebles_0004301" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004301-150x150.jpg" alt="greebles_0004301" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004050.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-856" title="greebles_0004050" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0004050-150x150.jpg" alt="greebles_0004050" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0001137.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-855" title="greebles_0001137" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0001137-150x150.jpg" alt="greebles_0001137" width="150" height="150" /></a><a href="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0000360.jpg" rel="shadowbox[sbpost-862];player=img;"><img class="alignnone size-thumbnail wp-image-854" title="greebles_0000360" src="http://www.pixelnerve.com/v/wp-content/uploads/2009/11/greebles_0000360-150x150.jpg" alt="greebles_0000360" width="150" height="150" /></a></p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/11/04/hmm-greebles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenCL 4 Java &amp; Processing</title>
		<link>http://www.pixelnerve.com/v/2009/10/30/opencl-4-java/</link>
		<comments>http://www.pixelnerve.com/v/2009/10/30/opencl-4-java/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 18:09:42 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[gpu]]></category>
		<category><![CDATA[OpenCL]]></category>
		<category><![CDATA[opencl4java]]></category>
		<category><![CDATA[particles]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=834</guid>
		<description><![CDATA[I finally took  the time to play with OpenCL. I was motivated by the particle example from Rui Madeira. After speaking with him, he gave me a few other links on more examples like Memo Akten&#8216;s 1.000.000 particles running with mouse interaction on the GPU, the very NVidia&#8217;s first OpenCL application example, etc. I was [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I finally took  the time to play with <a href="http://pt.wikipedia.org/wiki/OpenCL" target="_blank">OpenCL</a>. I was motivated by the particle example from <a href="http://vimeo.com/7298380" target="_blank">Rui Madeira</a>. After speaking with him, he gave me a few other links on more examples like <a href="http://www.memo.tv/" target="_blank">Memo Akten</a>&#8216;s 1.000.000 particles running with mouse interaction on the GPU, the very NVidia&#8217;s first OpenCL application example, etc. I was intriged!  So i took the day to play with <a href="http://code.google.com/p/nativelibs4java/wiki/OpenCL" target="_blank">OpenCL4Java</a> and ported Rui&#8217;s example to Java running on Processing&#8217;s IDE.  I&#8217;ve tested it with a Intel Quad core and i found the Rui&#8217;s sample to crash with GTX280 videocard. I didn&#8217;t gave it much thought but it might be for that for-loop in the program on the particle-particle iteration. In the other hand, Memo&#8217;s example ran easily on the gpu side. I should have made an example of mine, but it was easier to just port their examples and get things running. That was the main goal.</p>
<p style="text-align: justify;">I have only tested this under Windows XP 64bit with ATI Stream SDK and Nvidia drivers. If you find any problem, please report.<br />
One other thing: Memo&#8217;s example isn&#8217;t the real thing. It&#8217;s simply the CL program. So you won&#8217;t be able to get all the fuzzy million particles around. Not yet.</p>
<p style="text-align: left;">Library/Examples available here:<strong> </strong><a title="OpenCL4Java" href="http://victamin.googlecode.com/files/OpenCL4Java_1b.zip" target="_blank">http://victamin.googlecode.com/files/OpenCL4Java_1b.zip</a></p>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="text-decoration: underline;"><span style="color: #000000;">Installation steps:</span></span><br />
1. Copy the library to processing&#8217;s libraries folder<br />
2. Install ATI Stream SDK (i have packed the OpenCL.dll file, still you might have to install the whole pack). If you&#8217;re using Nvidia, install the OpenCL drivers and toolkit<br />
3. Open the example and run it.</p>
<p style="text-align: justify;">Enjoy and have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/10/30/opencl-4-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MovieGL &#8211; Rendering movies with JOGL in Java/Processing</title>
		<link>http://www.pixelnerve.com/v/2009/10/28/moviegl-rendering-movies-with-jogl-in-javaprocessing/</link>
		<comments>http://www.pixelnerve.com/v/2009/10/28/moviegl-rendering-movies-with-jogl-in-javaprocessing/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:17:57 +0000</pubDate>
		<dc:creator>victormartins</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Libraries]]></category>
		<category><![CDATA[Processing]]></category>
		<category><![CDATA[Source Code]]></category>
		<category><![CDATA[jogl]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[loader]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[opengl]]></category>

		<guid isPermaLink="false">http://www.pixelnerve.com/v/?p=821</guid>
		<description><![CDATA[I have tested most of the libraries available for processing able to render video files, but i never was happy. Either it became slow, unstable or just crashing. I wanted something better, so i went looking into JMF (Java Media Framework). During my research i came across this Pirelenito&#8217;s website with a great example on [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have tested most of the libraries available for processing able to render video files, but i never was happy. Either it became slow, unstable or just crashing. I wanted something better, so i went looking into JMF (Java Media Framework).</p>
<p style="text-align: justify;">During my research i came across this <a href="http://blog.pirelenito.org/2008/08/java-movie-playback-jogl-fobs4jmf/" target="_blank">Pirelenito&#8217;s website</a> with a great example on using FOBS+JMF, exactly what i needed. So i  downloaded it and started working on it, putting into it a bit of myself.</p>
<p style="text-align: justify;">So here it is, a first pre-beta version of a library capable of rendering movie files (with sound) with Java/Processing without much effort.</p>
<p style="text-align: justify;">NOTE! I&#8217;m still having problems with a couple of codecs like DivX, Xvid, H264. It crashes on me when rendering some of these, but it works just fine for Mpeg4, PhotoJPEG, Cinepak. It isn&#8217;t perfect, but if you be careful and use the right format/codec it will go smooth. Meanwhile i will be working on a better version.</p>
<p style="text-align: justify;">Website: <a title="movieGL" href="http://www.pixelnerve.com/processing/libraries/moviegl" target="_blank">www.pixelnerve.com/processing/libraries/moviegl</a><br />
Library Package(s) at: :  <a title="MovieGL" href="http://code.google.com/p/victamin/downloads/list" target="_blank">http://code.google.com/p/victamin/downloads/list</a></p>
<p style="text-align: justify;">Have fun!</p>
<p style="text-align: justify;">
<p style="text-align: justify;">Credits goto <a href="http://blog.pirelenito.org/" target="_blank">Pirelenito</a>. Thanks for sharing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pixelnerve.com/v/2009/10/28/moviegl-rendering-movies-with-jogl-in-javaprocessing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

