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”
Comments are closed.
ADVERTISEMENT
Support Make:
Join Make: Community Today
Join Make: Community Today
VERY cool! But what’s up with the framerate? Why is it so slow? Your webcam, program, or video card?
If it’s real-time then it’s almost certainly a number-crunching limitation.
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