3D pixels from realtime video

Craft & Design


MAKE pal Steve sent in this amazing realtime 3D pixel video (and source) for making your own, he writes – “I’ve been digging into processing the past month or so. I’m starting to assemble my army of programs, but check out a video capture movie of the newest thing I built.”Link.

6 thoughts on “3D pixels from realtime video

  1. enamore22 says:

    VERY cool! But what’s up with the framerate? Why is it so slow? Your webcam, program, or video card?

  2. aplumb says:

    If it’s real-time then it’s almost certainly a number-crunching limitation.

  3. stevecooley says:

    It’s running in realtime on my 17″ powerbook. I should probably try it again on my g5. :)

    So, yeah, think about the crunching going on. This is a java program taking in an iSight’s video feed, 640 x 480, 30fps, doing a calculation as fast as possible to determine the color on the size of the grid I tell it to calculate to, then evaluate the brightness of that pixel and draw a 3d box to that height. The grid size on this demo is on the higher end of the limit my machine will reasonably do in realtime. If I made the grid chunkier, aka, less 3d boxes, then it runs faster.

    The code is posted, try running it yourself :)
    http://processing.org/discourse/yabb_beta/YaBB.cgi?board=VideoCamera;action=display;num=1147046594

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK