Displaying live video in Vizard?
Hi!
I'm interested in displaying a live video feed in Vizard (coming from either a camcorder or webcam attached to the computer). I haven't been able to find anything about doing such a thing in the Vizard tutorials, so I am hoping someone here might be able to help. Assuming this is possible; I also wish to be able to add a custom delay (200 -1000 ms) between the live feed and what is displayed on screen. To do this I would need to buffer a couple of seconds of the live video and play it back, but once again, I am unsure about how I would do such a thing in Vizard. :confused: -Deltcho |
Here is some sample code that will connect to a webcam, add a delay of 30 frames to the live feed, and apply the texture to a quad:
Code:
import viz |
Great! This is just what I was looking for.
|
All times are GMT -7. The time now is 05:10 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC