Archive for the ‘3D’ Category

Processing – HUD and tweens with ijeomamotionlib

Sunday, March 21st, 2010


In recent posts I flagged up some possible next stage developments for my Light Wave Virtual sketch with OCD and ControlP5…

  1. “…control over the Perspective Changes & Linear Movements… could be useful to set up some oscillators to do this job…“
  2. ”…[develop a] persistent HUD display showing a Monomatic ‘Live’ console with all the real-time input from our performance instruments and controllers displayed graphically etc…“
  3. ”… Combinations [could be useful] – which could actually be an XY pad – as per the ‘ControlP5diyController.pde’ example…“
  4. ”…make these a set of generic controls too – so their their outputs are switchable between cameras – perhaps by radio button?“

and I’ve generally had success – or stopped trying – with each of the above


Processing – More PeasyCam, OCD & ControlP5

Sunday, March 14th, 2010

I’ve now managed to copy camera and centre of interest (c.o.i.) positional values from PeasyCam into OCD (bar a slight perspective shift I’m not quite able to resolve yet)… and I’ve also managed to update the slider positions for each of the controlP5 controllers (the controlP5 secondary window has to be in focus to see the changes) and thus save these values to XML and recall them later… yay!


float[] CamPposition = new float[3];
CamPposition = CamP.getPosition();
Cam1_cameraX = CamPposition[0];

I’m now exploring the full range of OCD methods to see how the library allows to – “manipulate individual cameras using standard camera movement commands” – and to see which might be useful additions to my ControlP5 live camera configuration.


Processing – Viewport Cameras – PeasyCam & OCD conflicts?

Sunday, February 14th, 2010

I’d been having some issues mixing the PeasyCam and Obsessive Camera Display (OCD) libraries in the same Processing sketch – which I’ve now sort of resolved and learned a thing or two in the process…


I found that switching between a PeasyCam and non-configured OCD viewport camera feed made PeasyCam behave idiosyncratically – loss of mouse control, some offsetting of Z-axis distance (only on the first switch back from an OCD feed – it’s consistent from then on), clipping of the scene – as if the farClip setting in OCD has likwise adjusted it in PeasyCam – though clipping isn’t actually assignable within PeasyCam itself.

Turns out PeasyCam is now at v0.8.1 – I was running an older version – and the documentation now includes a number of methods I hadn’t noticed before.


3D Scanning

Tuesday, January 5th, 2010

I’ve come across this really interesting 3D scanning technique before – but I’ve now spent a bit more time following the various links and exploring it in more detail…


I’m keen to try it for myself and wonder if a ‘micro’ projector such as the Optoma Pico PK 101 DLP and IPEVO Point 2 View USB webcam and/or ‘tricked out’ PS3 Eye Webcam could be a compact and affordable solution – and possibly for live performance too?

There’s a good overview of the technique in the May 2008 post Turn a webcam and projector into a 3D scanner which also provides some Processing applets and code examples and lists useful references and links.


Importing 3D models into Processing

Sunday, November 22nd, 2009

This was a fairly convoluted journey…. but I think I’ve managed to uncover a relatively simple method for importing 3D models into Processing… with help from Marius Watz of the excellent Code & Form: Computational Aesthetics blog via the “rapid prototyping” STL format.


Marius has provided a really useful selection of libraries, code snippets and workshop example sketches at his website and at the Code and Form code repository and has now also released his own unlekkerLib library – “a collection of utility classes that I use frequently, and which I’ve attempted to clean up enough for other people to use. Currently, the most significant features are the STL class for exporting 3D geometry for rapid prototyping and the TileSaver class for outputting high resolution stills from OpenGL applications.”


MonoScape – monome controlled 3D Sound

Monday, May 25th, 2009

I spent a fairly busy couple of weeks working with Nick Rothwell on MonoScape – a Processing visualisation sketch and application for a monome64 to trigger and position sounds within the Illustrious’ 3D-AudioScape surround sound system. Details on the Monomatic blog.