Hi,
i'm trying to put the webcam video into the scene, first as a material
bitmap like this:
wcamera = Camera.getCamera();
if (wcamera)
{
wcamera.setMode(this.width,this.height,30,true);
video.attachCamera(wcamera);
capture.bitmapData.draw(video);
}
then i pass capture.bitmap as a texture to a plane but that didn't
work (of course in every frame i update capture.bitmapdata.draw
(video) ).
Do you have a suggestion to add the webcam video to the scene in any
way? Currently i added the bitmap to the view and it work, but i can't
see the scene.