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.