Archive for November, 2006

Processing meets radiosity

Thursday, November 9th, 2006
In the last few days I’ve been doing some more research about getting higher quality 3D images out of Processing and had another closer look at Sunflow, a very fine Java based open source radiosity renderer.

triangles_AOCC_gloss_HD triangles_AOCC_SD

These are some of the first test images I created with my upcoming library (using beginRaw()) to output Sunflow scene description files for later use/rendering. I’ve also written a little command line tool to batch render exported sequences and am enquiring the use of Sun’s grid computing facility as renderfarm ($1 per CPU hour, pay-as-you-go) for these type of jobs…

Being 100% Java, Sunflow could also be integrated as renderer into the Processing tool chain directly by wrapping it inside a PGraphics class. Sunflow’s architecture is very clean and easy to use and customize via its API. Scenes and all elements can also be directly created and manipulated procedurally via Java. Adjusting quality settings, one could initially render at very low res to achieve near realtime previews and then switch to fullres (with supersampling/antialiasing) when exporting frames (also available as OpenEXR/HDR)… Watch this space!

On ChucK, Terry Riley, Jim Bumgardner and emulating old masters through code

Saturday, November 4th, 2006

So this morning I found that someone had already done an idea which I had been thinking of for some time (probably since I did the Steve Reich’s Clapping Music version in ChucK):

Source code for “In C” by Terry Riley in ChucK

No problem. With the amount of information we have a few clicks away, it’s impossible to maintain the naive belief that our ideas are original.

Having a look at the programmer’s website (ah, curiosity) I’ve discovered why the url sounded so familiar: He’s also the man behind whitney music box, a well known series of animations inspired by the work of john whitney, as described in his book Digital Harmony: On the Complementarity of Music and Visual Art. The post explaining the work is worth a look.

(on a deeper look, I’ve found more gems, such as the article Processing as a first language, as compared to flash, his processing gallery or the JSyd Java Synth)

Anyway, what I find particularly interesting is the exercise of trying to emulate in code art works which weren’t originally conceived for that. We know the construction rules (the score and/or the composer’s instructions) and the final result (the recording), so I see them as ideal programming practice problems.

Because of its main focus on processes rather than final products, I’d say that some art of the 60’s and 70’s is specially suitable for this task. We’ve talked about minimal composers (reich, glass, riley), but I’m also thinking of process art (see Casey Reas implementations of instructions by Sol Lewitt) or even John Cage (whom most famous work has been also versioned by Jim Bumgardner in justone line of chuck code: (4*60+33)::second => now) .

A couple of other examples:

Do you know of more examples? Let me know in the comments.

tags: , , , , , ,