I am very new with OF and been looking for some codes to do the following.
I want to grab the video feed and display it on a 3d plane which I can rotate with the mouse.
I have been on nehe but the code I got from there does not seem to be working. I think the issue lies with the way I use ofTexture and glEnable, glBindTexture.
Can anyone help? With code snippet or related thread?
in OF it’s actually very easy; assuming that ‘cam’ is the camera frame (ofImage, ofxCvColorImage, or whatever) you can do so something like:
ok thanks, i will give this a go.
Actually, I have another question.
If I want to load an image with ofImage and display this image in a plane and then move it in the z axis when i move my mouse up and down. How ca n i do this?
Again I am struggling with with displaying the image in the 3d plane…
Any help welcome.
i got it working with some code I lifted from ofTexture.