Stream video to texture/update texture

BlitzMax Modules Forums/MiniB3D/Stream video to texture/update texture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I want to build a small game in 3D over network, sort of shuffle puck/pong like game where you push the ball/puck back to the other side of the gamefield where you can see your opponent by making use of a webcam.

The game itself won't be much of a problem and I'll be using the Escapi.dll for the webcam and UDP as connection. I'm using MiniB3D 0.51 at this moment.

The only thing I don't know is how to update a texture using a pixmap or plain data without making it too slow or using tons of videomem.
A small example would be nice.
the webcam image received will be 320x240 or 640x480 depending on the speed.

The reason behind this is all to make internet games a bit more personal. You can see your friends on the other side of the world while playing a game against them in fullscreen.