loading

Archive for April, 2007

marius watz

Hack: Force OpenGL anti-aliasing in Processing

I've previously mentioned the problem of anti-aliasing not working properly in OpenGL, which is particularly bothersome for MacOS users who can't use a graphics card control panel to override application settings to force AA. Mike Creighton posted source for a hack on the Processing forums that modifies PGraphicsOpenGL to force AA. I've created a simple version of this hack and made a replacement for the opengl.jar that comes with Processing.

This hack should work for Processing 0124 on Mac and PC. Simply download the opengl.jar below and drop it into the "libraries\opengl\library" subfolder of your Processing application directory. Make sure to make a backup of the original opengl.jar first in case this doesn't work for you. Once replaced, the new PGraphicsOpenGL class should always initialize with 4x supersampling. Please leave comments on this post to let me know if it works for you.

Downloads
marius watz

Advanced Processing workshop, Hyperwerk

April 30 - May 4: Advanced Processing workshop at Hyperwerk, Basel, Switzerland. Follows up on the introductory workshop from December 2006.

Some of the topics that will be covered in this workshop:

- OOP, inheritance and polymorphism
- 3D mesh generation & storage
- Basic code optimization
- Vector forces and agent behavior
- Writing code with Eclipse
- Using / writing libraries

Files for this workshop can be found at the following address: http://workshop.evolutionzone.com/workshops/070430_hyperwerk/.

KEF Muon launch

UPDATE: A short documentation video of the launch event and installation is now available on the Moving Brands website.

Just returned from Milan yesterday where I have spent the last few days as part of the Moving Brands team creating an audio-responsive installation for the launch of the most amazing (and tallest) speakers I’ve ever seen. Engineered by the high-end audio manufacturer KEF and designed by legendary Ross Lovegrove, these speakers really are quite a sound and sight to behold.

Kef Muon @ Sala del cenacolo, Milano Kef Muon @ Sala del cenacolo, Milano Kef Muon @ Sala del cenacolo, Milano

The incredible Sala del Cenacolo hall at the Milan Science Museum had been chosen as space for the launch event and provided the perfect contrasting backdrop to the minimal design of the speakers and installation.

Sala del Cenacolo, Milano

Our installation is using a gigantic LED screen (built by Creative Technology) of 5 x 10 meters to visualize the music played through the speakers in realtime. We decided on the concept of fluid forms flowing/emanating from the positions of the speakers as well as complimenting the Muon design language. The software was developed in Processing by Chris O’Shea under my supervision and creative direction by David Eveleigh-Evans.

More images on Flickr: Toxi, Chris & David

Meirion Pritchard of Wallpaper Magazine has posted a short (overexposed) video on YouTube:

difference tracker for processing

one of my students wants to capture images of people in a museum in order to create a collage of all visitors per day. i wrote a difference tracker for my diploma in 2003 for Processing .68. it did not work anymore with the latest version of Processing. but it took me only half an hour to get it working again.

i want to rewrite it in order to work as java node in x3d and instantviewer for experimenting with people’s silhuettes in 3d..

trackerdiff2007.png

source code: trackerdiff_pde.txt (rename to pde)

Michael

difference tracker for processing

one of my students wants to capture images of people in a museum in order to create a collage of all visitors per day. i wrote a difference tracker for my diploma in 2003 for Processing .68. it did not work anymore with the latest version of Processing. but it took me only half an hour to get it working again.

i want to rewrite it in order to work as java node in x3d and instantviewer for experimenting with people’s silhuettes in 3d..

trackerdiff2007.png

source code: trackerdiff_pde.txt (rename to pde)

Quasimondo

Back home from FITC

I’ve just returned from what was a damn awesome FITC 2007 in Toronto. Again Shawn and his team have outdone themselves to create a great experience. It was a wonderful opportunity to get in touch and party with so many old pals, and to meet a lot of new folks. I can’t remember having talked that much with so many people - actually I missed several talks that I wanted to attend since I was kept in some interesting conversation.

From the feedback I got afterwards it looks like my talk “The Blind Sketchmaker” was as inspiring as it was meant to be. Thank you very much to everyone of you who made me feel very good by telling me that you liked it!
I only wish that sometimes also people who didn’t enjoy a talk would come to me for some constructive critique - but I know how difficult that is face-to-face, so feel free to leave a comment here.

Some of the visuals that were evolved by the Sketchmaker can be found in this flickr set. And of course I will publish some of the image analysis classes in the near future.

A big big thank you goes to Craig Swann for hosting that legendary Soju + Meat orgy at the Korean Grill.

1UP

I’m now embracing routine.

I’m working on code for a Flash game for Nitrome and enjoying the familiar sights and sounds of London (as well as the nostril full of soot I get on a daily basis). I shall link to the project when it is finished.

I’ve knocked up a quick line intersection demo. Work on Rogue is postponed for a while but I’m still pretty keen to turn it into a proper game.

Animated gifs of wrestling moves
Adaptive Robot
Innovative website
A typography to vector project Which looks rather like my vectoriser
Online Street Fighter
A rather cool lol-cat
Beyond the Red Line Game based on the new Battlestar Galactica
CG Robot Film Huge robots in world war 2 - epic!
A harware genetic algorithm

Flash Vector tutorial deals with collision, intersection, surfaces - with source code too.
Get different urls for the same flash movie with swfaddress
Game Vindicator method for removing hacking in online multi-player games

RobotAcid

1UP

I’m now embracing routine.

I’m working on code for a Flash game for Nitrome and enjoying the familiar sights and sounds of London (as well as the nostril full of soot I get on a daily basis). I shall link to the project when it is finished.

I’ve knocked up a quick line intersection demo. Work on Rogue is postponed for a while but I’m still pretty keen to turn it into a proper game.

Animated gifs of wrestling moves
Adaptive Robot
Innovative website
A typography to vector project Which looks rather like my vectoriser
Online Street Fighter
A rather cool lol-cat
Beyond the Red Line Game based on the new Battlestar Galactica
CG Robot Film Huge robots in world war 2 - epic!
A harware genetic algorithm

Flash Vector tutorial deals with collision, intersection, surfaces - with source code too.
Get different urls for the same flash movie with swfaddress
Game Vindicator method for removing hacking in online multi-player games

Chris OShea

at second glance

at second glance

Most persistence of vision projects I have seen involve moving a strip of leds fast enough that our eye perceives it to be an image. Make magazine has covered many projects of this type.

Jens Wunderling, a student of the Digital Media Class at UDK Berlin, has created at second glance, an alternative approach to POV. Instead of moving the LEDs, Wunderling has them fixed in position, but plays with saccades (our eyes never look straight, but always make fast tiny movement around an area).

So if you happen to glance past the work, you may notice something unusual. On second glance, if you shake your head, you will be able to clearly see the symbol. Created as a “guerilla messaging device, made to place hidden critical messages within the abundant medial environment in the city”.

Developed using Arduino and Processing, the source code of which is available on his site, and 32 ultrabright LEDs.

Watch video
Development blog

More from Jens Wunderling
loopArena at Cybersonica, Building a multitouch, loopArena multitouch

Chris OShea

at second glance

at second glance

Most persistence of vision projects I have seen involve moving a strip of leds fast enough that our eye perceives it to be an image. Make magazine has covered many projects of this type.

Jens Wunderling, a student of the Digital Media Class at UDK Berlin, has created at second glance, an alternative approach to POV. Instead of moving the LEDs, Wunderling has them fixed in position, but plays with saccades (our eyes never look straight, but always make fast tiny movement around an area).

So if you happen to glance past the work, you may notice something unusual. On second glance, if you shake your head, you will be able to clearly see the symbol. Created as a “guerilla messaging device, made to place hidden critical messages within the abundant medial environment in the city”.

Developed using Arduino and Processing, the source code of which is available on his site, and 32 ultrabright LEDs.

Watch video
Development blog

More from Jens Wunderling
loopArena at Cybersonica, Building a multitouch, loopArena multitouch

Processing.org Happenings

Processing presentation at Workshop IT ComLabs - Graphic Design and Animation, at Bandung Institute of Technology, Bandung Indonesia, by Widianto Nugroho

marius watz

Code: Continuous bezier joins

For two joined bezier curves to be continuous (i.e. no corners or abrupt slope changes), the control points on each side of the joining point must be colinear. This behavior is default in vector editing programs like Adobe Illustrator.

An example in Processing:

void setup() {
  size(400,400);
}
 
void draw() {
  background(200);
  noFill();
 
  float xD=width/2-mouseX;
  float yD=height/2-mouseY;  

  bezier(0,0,
    300,100,
    width/2-xD,height/2-yD,
    width/2,height/2);
 
  bezier(width/2,height/2,
    width/2+xD,height/2+yD,
    400,300,
    400,400);
}
Peter Kirn

OpenGL on Java (JOGL) Update, Vista Performance “Clarification”

Jaymis is getting ready to go on tour with a rockstar, and I’m dreaming of geeky OpenGL implementations for 3D eye candy. Don’t worry; we’ll make the two worlds fit together eventually.

Here’s the latest from OpenGL land. First, perhaps the days of Java lagging in OpenGL implementation are done. The updated 1.1.0 JOGL bindings support OpenGL 2.1 and NVIDIA GeForce 8800 extensions, for groovy geometry shaders and other good stuff. Let’s see, that puts Java’s OpenGL bindings well ahead of OpenGL 2.1 implementation on Mac OS X, which isn’t due until the fall. (Just a binding, but still.) And you should be able to experiment with OpenGL 2.1 and the NVIDIA extensions from within Processing.

And Vista? OpenGL runs just fine on Vista, according to the Khronos OpenGL ARB Working Group. (Hey, aren’t they the ones cloning the President’s nose? Sorry, Woody Allen reference.) It’s compatible. It benefits from Vista, somehow. And it’s competitive with XP. Of course, all of this is in theory; in practice, drivers from NVIDIA in particular seem … not so fresh, performance and stability wise, at least in my experience. I expect this situation may improve over coming months.

Enough geekiness. Simple translation: Java for OpenGL rocks! OpenGL will run well on Vista on all drivers someday. , , , , , , , ,


© Peter Kirn for Create Digital Motion, 2007. |
Permalink |
No comment

Add to del.icio.us

Want more on these topics ? Browse the archive of posts filed under News.

Peter Kirn

Open-Source Digital Artmakers: Adobe Flex 2 + AS3 Goes Open

Flex (and thus ActionScript 3 / Flash) are going open source, according to an Adobe announcement today. Ely Greenfield, Flex architect, and David Wadhwani, vice president of Flex Product Line, explained to Robert Scoble what it all means:

It’s difficult to say yet exactly what all the implications are, but something very exciting is happening in the realm of coding digital visuals. Let’s review:

(…)
Read the rest of Open-Source Digital Artmakers: Adobe Flex 2 + AS3 Goes Open (544 words)


© Peter Kirn for Create Digital Motion, 2007. |
Permalink |
No comment

Add to del.icio.us

Want more on these topics ? Browse the archive of posts filed under News.