Archive for August, 2007

processing sketches as interactive textures

Sunday, August 19th, 2007

i managed to get processing sketches working as textures in instant reality (x3d). now it is possible to simply write animated and interactive textures in processing and use them in 3d scenes. this is done by an applet wrapper that renders a processing sketch offline and copies its pixels[] array into an x3d SFImage().

processing_texture.jpg

update:
here is an example how to load a processing applet as texture in instant player..

ProcessingTexture.class is a wrapper class that loads a processing applet and puts its framebuffer into an SFImage. it also sends mouse events from instant player to the applet.

in order to load your processing applet you have to follow these steps:

  • download instant player and install it
  • download the zip with the wrapper class and the examples and extract it
  • write your processing sketch (size in power of two: 256×256, 512×512, 1024×512, ..), export it and copy the jar into the same folder as the example
  • open ProcessingTexture.x3d in a text editor
  • add your jar file to the “javaClassPath” in the ContextSetup node at the top of the file
  • change the value of the script node’s “name” field to the name of your applet (without .class or .pde)
  • open the x3d file in instant player. you should see your applet on a cube

download: instantprocessing.zip

siggraph 07

Sunday, August 5th, 2007

this year johannes and one of my students are exhibiting at siggraph. johannes presents our software instantreality and demos at khronos group’s booth. marion won the space time competition and shows her work “ce.real” she did in my course “experimental interfaces” last semester.

three of my works are shown at the kronos booth:

flickrDump
a 8bit style world works as real time information graphic. just posted flickr images mapped on boxes are falling from the sky on a dump of images in real time. the world features realistic realtime shadows and physics. thus a huge chaos is produced by the falling boxes.
a katamari damacy like ball with physical forces rolls through the dump in order to increase chaos and to give an impression about the game capabilities of the concept.
Sorting the dumps by tags and time will come soon.

flickrdump_01.jpgflickrdump_02.jpg
flickrdump_03.jpgflickrdump_04.jpg

bubble mirror
the installation converts silhuettes of persons into physical bubble particles swimming to the surface.

bubblemirror_07_01.jpgbubblemirror_07_02.jpg

trails in the fog
a minimalistic scene of trees and ascending elements in white fog rendered on a colorkeepbackground. the silent scene becomes positive chaos and renders incredible unforeseen images.

trails_01.jpgtrails_02.jpg
trails_03.jpgtrails_04.jpg