Processing – Viewport Cameras – PeasyCam & OCD conflicts?

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…

PeasyCam_home_500px.jpg

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.

Read the rest of this entry »

3D Scanning

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…

ThreePhase-500px.jpg

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.

Read the rest of this entry »

The Why and How of Jailbreaking my iPhone 3GS

December 26th, 2009

I got my iPhone 3GS at its launch in June 09 – and though I do love it I reckon it lacks some important functionality and could do with several usability improvements – and I think I’m not alone 😉

PwnageTool-500px.jpg

I also have an iPod Touch 2G – which I jailbroke with the Dev-Team’s redsn0w 0.72 shortly after getting the iPhone so I could explore Homebrew development – and though I had intended to keep the iPhone ‘official’ – six months of playing and testing has convinced me to jailbreak my iPhone too and unlock some of its hidden potential.

This fairly lengthy post outlines my research, choices, process and outcomes…

Here’s some of what I think I’ll gain:

Read the rest of this entry »

Loading .mts files into Final Cut Pro 6.0.6

December 23rd, 2009

I have video documentation from PEAL that I’m planning to edit in FCP… but it’s in .mts format and from a couple of different HD AVCHD camera sources…

PastedGraphic.tiff

After a bit of head-scratching and online research I got to a reasonably straightforward and speedy solution… and in the process managed to clarify a few significant terms for myself such as:
Mbit/s V MBps
Apple ProRes 422
Similarities and Differences Between 1080i and 1080p

Read the rest of this entry »

Problems with MIDI and Java after update to Java for Mac OS X 10.6 Update 1 on OS X 10.6.2?

December 12th, 2009

Since the Apple software update to Java for Mac OS X 10.6 Update 1 I’ve been having problems running some of my Processing sketches – particularly those using MIDI – and Java applets such as SevenUpLive 1.4.

JavaPreferencesOSX10.6.x500px.jpg

I’ve also been experiencing some memory access errors e.g. “Invalid memory access of location 0x0 eip=0x917108d0” with monoControl and some of my own sketches – which I think are issues with OS X, Java and RAM?

A googled forums.sun.com post and referenced Processing forum post seems to indicate I’m not alone.

Read the rest of this entry »

Importing 3D models into Processing

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.

unlekkerSTLReadWrite_lewis.jpg

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.”

Read the rest of this entry »

A long overdue momome.org update

November 1st, 2009

It’s been a while since I’ve spent a bit of time browsing and catching up with developments at the monome.org community site – though I’m always interested to see what’s been going on – and typically a few things caught my eye:

MonoControl-0.5.2-500px.jpg

MonoControl – “an adaptable and flexible midi control application written in Processing for Ableton Live (or any other DAW) which, if configured correctly, should report all controller changes to MonoControl which then adjusts the LEDs on the monome. The app uses the buttons of the far rhs column of the monome to navigate through 8 different pages – and in each you can create combinations of faders, crossfader, x-y faders, push, toggle and note buttons and button matrixes – all stored in an an xml file.” (my somewhat edited version of the app description)…

This is exactly what I’ve been hoping to develop myself using Nick Rothwell’s shado…so I started to implement it into my Mirror2 real-time video processing Processing sketch and it’s working well…

Read the rest of this entry »

Nintendo Gameboy Advance Emulation for the iPod Touch

October 18th, 2009
As part of the recent Cybersonica 09 Road Trip I was in Liverpool for Interface Amnesty organised by SoundNetwork.

IAlogosweb.jpg

“Inspired by a trade fair scene in the 1974 Francis Ford Coppola film “The Conversation”, jumble sales and the excellent Make magazine maker faires, Interface Amnesty plays with the conventions of interface design, music technology products and the presentation of interactive art.“

Read the rest of this entry »

Processing – what next I wonder?

June 7th, 2009

I was having a bit of an issue focussing this morning and couldn’t quite decide what to work on next. Hmmm… “So many ideas, so little time”…

motionlibpendel_500px

An example from the motion library “Motion simplified” by Yonas Sandbaek

I spent some time in Processing looking at my Virtual Light Wave sketch – tidying up the code e.g. switching from keyCode to key for keyboard presses (as advised in the Processing Refrence) and inadvertently sorting out the issue of the appearance of unwanted lines splaying out from the ‘vanishing point’ when zooming in too far by implementing the farClip and nearClip methods in the camera() data-type as part of the Obsessive Camera Direction (OCD) library – which actually does what it says on the tin and “allows intuitive control and creation of Processing viewport Cameras”.

Read the rest of this entry »

iPod Touch controllers and onwards…

June 1st, 2009

ixy_500px

5 screens each with up to 6 simultaneous and assignable controllers via iXY MIDI Controller on the iPod Touch 2G (held in my lovely Ped3-Auto stand) with MIDI Monitor on my Macbook is showing it works…

Scanning through the iPhone/iPod Touch apps on synthtopia I came across a number of previously unknown MIDI and OSC controllers which I’ve now installed on my iPod Touch for testing. Some are free – including the iXY MIDI Controller and MIDI Motion Machine from CM Software Designs which use the DSMI Server – more details at the DS Music Interface homepage. Some cost a bit – such as Pro XY from Far Out Labs LLC who also make the interesting looking ProRemote and ProTransport (though you have to install the ProRemote server which runs as a background process and can’t be quit – which I don’t much like), the minimalist Fantastick (with its equally minimalist homepage though I also found a discussion thread on the MaxMSP boards – shame its MaxMSP/PD only) and iOSC (which needs 2.2.1 software). I’ll play around a bit with these and report my findings.

Read the rest of this entry »