View Single Post
  #4  
Old 02-18-2013, 09:30 AM
Frank Verberne Frank Verberne is offline
Member
 
Join Date: Mar 2008
Location: Netherlands
Posts: 148
I needed something similar, and my solution was to have one laptop running the program I wanted to show in Vizard. On another computer, I use a webcam to film the contents of that laptop, and show the videofeed of that webcam on a texture in Vizard. See the example code below. Something similar may be a solution for you as well.

Code:
viz.go()
screen = viz.addTexQuad(size=4)
#Create Video Camera extension
video = viz.add('VideoCamera.dle')
#Connect to next available generic video capture device
cam = video.addWebcam()
#Apply videofeed of webcam as a texture of the screen
screen.texture(cam)
See (this thread: http://forum.worldviz.com/showthread.php?t=4458) for another suggestion of using VLC to capture the desktop of a computer running the pygame and stream it out via directshow.

Last edited by Frank Verberne; 02-18-2013 at 09:38 AM.
Reply With Quote