I’m working on a project for a larp (a live action roleplaying game). At a moment in the game (which is IRL), players will have to monitor a bot that is supposed to be in a remote location. They will control it with a computer. I’m trying to do that with the BGE.
To enhance the feeling of reality, we’d like to put the the bot (that will be a prop) in the hands of the players before it began its journey (then we will drop it in a tube supposedly linked to the remote room). My plan was to put a webcam on the prop and link it to the computer. The BGE would already be on and would play the video from the webcam. But of course after we dropped the bot, we will replace the videotexture from the webcam by the 3d environment (and basically it becomes a FPS game).
I hope i’m clear enough (english is not my mother tongue).
So my question is how can i use a webcam to play video in realtime in the BGE. I’ve found the code for an AVI video stored on the computer (on the blender wiki) but not for a webcam feed. I’m also interested by doing the same thing with a video from the internet.
I’m using Blender 2.49 on Windows XP.