Monthly Archives: April 2012

Paintings from the OpenCL Particles System

This is a number of digital paintings from the OpenCL Processing program in the previous post with slight modifications.

Posted in Graphics | Tagged , | Comments closed

OpenCL Particles System with Processing

I ported the particles demo program in JavaCL to Processing 2.0 alpha. It has reasonable performance in my iMac up to 500,000 particles at twenty something frames per second. The video is captured using the QuickTime screen recording. The performance is much slower than the original screen version.   import processing.opengl.*; import javax.media.opengl.*; import javax.media.opengl.glu.GLU; [...]

Posted in Software, Testing | Tagged , | Comments closed

OpenGL and Processing 2.0

The existing OpenGL codes for Processing do not work in the 2.0 alpha. Here is an example code segment I modify to use the new PGL class. import processing.opengl.*; import javax.media.opengl.*;   GL2 gl; float t, s, c;   void setup() { size(400, 400, OPENGL); background(0); PGraphicsOpenGL pg = (PGraphicsOpenGL) g; PGL pgl = pg.beginPGL(); [...]

Posted in Testing | Tagged , | Comments closed

OpenCL and Processing

I have done a number of testings with various Java implementations of OpenCL and Processing. The major Java bindings of OpenCL include JOCL Java OpenCL JavaCL The are two major OpenCL libraries for Processing at the time I do the testing, MSAOpenCL using the JavaCL and openclp5 using the JOCL. I do not use the [...]

Posted in Software, Testing | Tagged , | Comments closed

More MindWave in Processing

This is the second test of the Neurosky MindWave brain sensor in Processing. I use the fluid simulation library diewald_fluid with the GLGraphics rendering library, to display the alpha, beta, gamma and theta wave components.    

Posted in Software, Testing | Tagged , | Comments closed

Kinect for Windows

The new Kinect for Windows is available and will be available in Hong Kong in late May according to the blog description. The commercial SDK is also out now for download. TouchDesigner has a set of new operators for the Kinect for Windows. They are quite easy to integrate with the existing TouchDesigner working environment. [...]

Posted in Products | Tagged , , , | Comments closed

DirectShow for Processing – OpenGL

I try to work out another version of the DirectShow for Processing classes in the last post. In this version, I write the movie data directly to an OpenGL texture object. Below is the modified version of the DMovie class. The DCapture class can also be modified in the same way.   The modified DMovie [...]

Posted in Software, Testing | Tagged , , | Comments closed

DirectShow for Processing

I adopt the DirectShow Java Wrapper to work in Processing with two classes, one for movie playback and one for video capture. At this moment, there are just two Java classes, not an individual library yet. Since it is for DirectShow, it is of course in Windows platform. You have to package the dsj.jar and [...]

Posted in Software, Testing | Tagged , | Comments closed

Video Playback Performance – Processing

I try out different video playback mechanism in the Processing to compare their performance. The digital video is the one I used in the last post. It is the trailer of the film Hugo. The details are: 1280 x 692 H.264 AAC, bitrate 2,093. The computer I am using is iMac 3.06 GHz Intel Core [...]

Posted in Testing | Tagged , | Comments closed

Video Playback Performance – OSX

I have done a simple performance comparison with a number of video playback methods in OSX. It gives me some ideas about which development platforms, namely the OpenFrameworks and Library Cinder to work on with high quality video playback. The test is straight forward, and as the same time, not very rigorous. VLC and Real [...]

Posted in Testing | Tagged , , , | Comments closed