Foldy Video
Last week in GL ART the topic was textures… you know those images that wrap themselves around 3D models and video games… neato-keen.
There is much more to textures than I expected, and that mostly has to do with performance issues, i.e. allocating memory for the textures on the the GPU. So, because I really wanted to understand that aspect of openGL, I figured I would try making a texture from live video, since I would have to change the memory out often and such.
I used the JMyron library to get the video in, and then turned that into a byte array that I created a texture from. It is fast, but eventually something weird happens with the memory and the texture turns white…. hmm.


nice screenshot….messing with the texture is fun. i tinkered a bit a while ago, but in processing where things were a bit more tame (sorry for the gross url):
http://robertcarlsen.net/projects/player.php?title=Malleable Matrix&video=../experiments/malleableMatrix/malleableMatrix.flv
http://robertcarlsen.net/experiments/malleableMatrix/malleableMatrix1.pde
i didn’t get a chance to run your code…is the surface static or animated?
The surface is static, but you can rotate it around… it would be nice if it actually folded though.