Archive for the ‘NCCA’ Category

RenderMan TextMate bundle

Saturday, April 23rd, 2011

Doing my first steps with Pixar’s RenderMan I was installing 3delight on my Mac and started playing around with shaders and rib files. To simplify development I created a little bundle for my text editor of choice, TextMate. 3delight comes with the commands shaderdl and renderdl to compile shaders and render rib files.

Using the bundle, all you have to do is press Cmd+R when editing your rib file. The file automatically gets saved and a window pops up showing the status of the renderdl command. Also, the rendered image is displayed. The bundle also supports a slightly better syntax highlighting (based on the C bundle).

Renderman TextMate Bundle

Setup

  1. Download the bundle and double-click on the .tmbundle to install
  2. Set the variable DELIGHT In TextMate’s preferences => Advanced => Shell Variables to the path of your 3delight installation, e.g. /Applications/Graphics/3Delight-9.0.84 (You can find this out by typing echo $DELIGHT into Terminal)

Feel free modify, improve, tweak it to your taste. Feedback welcome! N.B.: Your rendered image has to have the extension .tif and has to be named like the the rib file for the preview to work. If you want to use other formats, you can change it directly within the bundle editor.

Download: TextMate RIB bundle

Gesture Library + Head Tracking prototype on iPad 2 [Update]

Monday, April 18th, 2011

I’ve spent a couple of days porting my gesture library to iOS to do some tests with the iPad 2’s front-facing camera. I also added head tracking with OpenCV for Head-Coupled Perspective (HCP) and a sort of 3D effect. It’s an early prototype for an ongoing project at the NCCA, still a lot to do, but I thought I’d give you a short preview. Stay tuned! The system is implemented in C++ and some Objective-C (for iOS glue code), powered by openFrameworks.


Update: New video showing an updated version with some new functions like the feature in the end that could be used for some sort of AR shooter game.


Update 2: Thanks to Renato Mitra for featuring this video on his site, one of the most popular blogs in Switzerland. Salü Äpflblog-Bsüecher :-)

NCCA Group Projects 2011

Tuesday, April 12th, 2011

The last months have been busy at the NCCA with a lot of projects, most of them will be shown here soon. Let’s start this with the group project that we handed in a month ago.

The game is simple: The world is ending. Can you escape the nightmare?


Thanks to my group members Firuze Kiraz, Elliot Spence, Alex Poolton, Pete Smith and Simon Roth. It was amazing to work on such a great project with such great people. My main contributions were developing the scripting interface and its integration (Lua), event/animation system, lead of Mac platform development and general coding tasks. More videos of this year’s group projects below.

(more…)