#1
|
|||
|
|||
Showing another program in a virtual world
Hi all,
I would like for participants to see a 2D object in a 3D virtual world on which another program is shown. This program is dynamical, and should act like that in the virtual world. I think I have to use a rendernode for that, but I'm not sure how I could use a rendernode to show the content of another program. Essentially, I would like to run 2 program simultaneously (namely Vizard and Authorware) and I want the content of the Authorware program to be visible in the Vizard environment while participants are wearing our HMD. Any tips on how I could achieve something like that would be greatly appreciated! Furthermore, it would be neat if the Authorware program could get focus, so that that program will respond to key-presses, and not Vizard. Regards, Frank |
#2
|
|||
|
|||
I haven't done it, but if you look in vizard help for Generic Capture Devices you'll find:
"This VideoCamera implementation provides an interface to connect to any standard DirectShow capture device. This commonly includes web cameras and DV cameras." You might be able to use some video capture software like VLC to capture the desktop and stream it out via directshow. http://www.videolan.org/vlc/streaming.html You can open your screen from vlc by opening "screen://" |
#3
|
|||
|
|||
Thanks for the suggestion jpriede! I'm going to look into this further and see if we can get this to work like this.
|
#4
|
|||
|
|||
The eventual solution I have chosen is to use the VideoCamera.dle to get the feed from a webcam connected to the computer running Vizard. That feed is projected on a texquad in Vizard. The camera is pointed to another computer, on which the Authorware program runs. Simple, but it works.
While working on the VLC screen capture capabilities, we were thinking about how to send that live feed over a network to the computer running Vizard. Furthermore, we were not sure how to 'catch' that feed in Vizard. I guess using sockets would be a solution (although I have never used sockets before to receive video). If anyone has a sample script on how to get a live screen capture from VLC (or from a webcam or whatever), I'm still very interested. Always good to learn more! |
Tags |
rendernode |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
3-D image in Powerwall using OpenGL c++ program | blessonisaac | Plug-in development | 0 | 02-01-2012 09:22 AM |
why is time faster in my virtual world? | billjarrold | Vizard | 1 | 11-24-2009 05:33 PM |
Question about input from virtual keyboard. | yyang | Vizard | 4 | 12-23-2008 12:25 PM |
Vizard as a social virtual world engine | Gerard | Vizard | 3 | 02-14-2008 02:22 PM |
General Questions about Vizard: World Viz | dav | Vizard | 5 | 08-28-2006 03:44 PM |