Sunday, February 21, 2010

3D Video Scanner for Cheap

Here's a way you might try making a 3D video scanner for the cost of a webcam:

  • Weccam with VSYNC broken out
  • Bright LED or LED array
  • Ambient illumination

Mount the LED at approximately the same location as the camera lens. Turn the LED on for alternating VSYNC pulses. The 3D decoding process is as follows: the light intensity at every point can be modeled using the equation i = r * (a + s), where:

  • i is the captured intensity at that pixel
  • r is the reflectivity at that point
  • a is the ambient illumination at that point
  • s is the illumination due to the LED source at that point

Sampling with the LED on and off yields two equations:

  1. i_on = r * (a + s)
  2. i_off = r * (a + 0)

And s corresponds to distance proportionally to an inverse square law:

  • s(d) = f / d^2

Where f is a scaling factor that relates s to a. Solving for d yields:

  • i_off = r * a
  • i_off / a = r
  • i_on = (i_off / a) * (a + (f / d^2))
  • ((a * i_on) / i_off) - a = f / d^2
  • a * ((i_on / i_off) - 1) = f / d^2
  • d = sqrt(f / (a * ((i_on / i_off) - 1)))

The values for a and f can be approximated by hand, or calibrated based on a reference plane. a must be truly uniform, but if the LED is approximately at the same location as the lens then f can be calibrated for automatically to account for its non-point-source qualities.

The disadvantages here are primarily the assumption about ambient illumination, and the simplified material model. The advantages would be the cost and utter simplicity. The fact that it relies on a non-coded point source for illumination means you can work with infrared just as easily as visible light. Furthermore, it actually relies on ambient illumination while many other systems try to minimize it.

Tuesday, February 16, 2010

Thursday, February 11, 2010

Projection Mapping with a 3D Projector

Projection mapping is the art of working with non planar projection surfaces.

APPARATI EFFIMERI Tetragram for Enlargment from Apparati Effimeri on Vimeo.

I'd like to explore this idea with a 3D projector. Normally, 3D projection happens on a plane, which allows for a rectilinear 3D space. If you project onto anything but a plane, the 3D space will be distorted. But if you account for these distortions in advance (for example, with a 3D scan of the scene to be projected on) then you can augment the scene with an overlaid 3D form.

While installations like the video above rely on the observer's large focal distance and visual tricks (like drop shadows) for implying a depth offset, with a 3D projector and shutter glasses you can create genuine depth offsets.

Thursday, January 28, 2010

Precision CD Glitching

"Wounded" CDs have been prepared by artists like Yasunao Tone and Oval, encompassing the experimental and pop domains of music, respectively. In both cases, the music has to be re-recorded from the glitched CD to be heard (and in Oval's case, it is subject to further production). Why not use a laser cutter to make precision glitched CDs, allowing them to be distributed directly?

Thursday, January 21, 2010

Chocolate WTC

September 11th, 2001 memorial

This sculpture is a September 11th, 2001 memorial, designed by C. Boym. As best I can tell, it was cast in nickel. The color and texture gives me a wonderful, terrible idea: why not use chocolate? You know, the same way we have chocolate bunnies? The target market could be Al-Qaeda. Or, perhaps it would be cathartic for those who are still recovering to take a bite out of the past.

Wednesday, January 20, 2010

Connected Everything

Here are some things I'm going to be covering in my thesis.

Tuesday, January 19, 2010

I Am Sitting in a Google Ad

Set up simple web page with only the text of Alvin Lucier's famous composition, and Google text ads.

Visit the page, and take note of the Google text ads. Create a copy of the page, replacing Lucier's text with the text from the ads. Repeat this process indefinitely, or until Google starts repeating itself.