notes from the bigfug

notes from the bigfug

programming light and other strange tales

notes from the bigfug RSS Feed
 
 
 
 

Archive for PatchBox

PatchBox: 3D Geometry Scanner

We’ve been keeping it under our hats for a while now but the code is nearing completion so it’s time to reveal one of the latest major features we’ve been adding to PatchBox: 3D Scanning.

The image above was created using one projector and one camera resulting in a 300,000 point cloud.  We haven’t smoothed this [...]

Live feed video mapping in PatchBox

We’re heavily focussed, if you will excuse the pun, on camera and projector calibration at the moment.  The images above are a live video feed taken by a camera that has been calibrated to the geometry of the room that it is filming and reprojected onto the model’s geometry (!).

PatchBox Particles

In the process of adding PhysX particles into PatchBox
Rough spheres bouncing off a plane.
Checking billboard alignment.
Texture mapped billboards.

PatchBox and Twitter (weird features)

It’s an increasingly frequent situation where, having just added some new feature to PatchBox (in this case vector text rendering), it becomes plugged in to a wide range of existing functionality that opens up such a huge amount of possibilities I have to go and sit in a dark room for about an hour.
Well, not [...]

Adding FreeType2 support to PatchBox

It’s well overdue, but am finally getting around to adding font support to PatchBox.  Rather than using bitmap based fonts, I thought it would be fun to use the font outlines and create proper 3D models.  Here’s how it went:
 
Having extracted the glyph outline using FreeType2, let’s draw it with GL_LINES… ah…

GL_LINE_STRIP isn’t correct either…

Ah, [...]

Pictures from the Quadratura Labs

Some eye candy from the last week’s developments!
     

PhysX in PatchBox

PatchBox r287 – Painting With Light

PatchBox is becoming quite the powerful tool for architectural video mapping but sometimes even I miss a certain sense of immediacy that I’ve grown accustomed to from my years of VJ’ing.
It was with much delight then that I received a link from my old chum (and favourite Stylophone player) Tom Hume last week pointing me [...]

The Eye-Sphere (weirds me out) and Cheap Shadows

Am just ironing out a few minor niggles in PatchBox and creating a few extra scripts and shaders before we pack up for the event tomorrow.
The Eye-Sphere image is absolutely nothing to do with it, but it’s kind of strange…
The latter shows a cheap shadow shader effect I came up with that draws an offset [...]

High CPU usage with multiple monitors and 177.92 beta NVIDIA drivers (solved)

While testing PatchBox with multiple monitors turned on, the CPU usage suddenly shot up to 95% for absolutely no reason at all.
Disabling the second monitor brought it down to less than 1% (where it should be!)
Using ProcessExplorer I saw that two threads were taking up all the time with very similar stacks:
ntkrnlpa.exe!KiUnexpectedInterrupt+0×121
ntkrnlpa.exe!ZwYieldExecution+0×1c8e
hal.dll+0×2ef2
nvoglnt.dll+0×25d20b
I remembered reading that [...]