![]() |
|
|
|
#1
|
|||
|
|||
|
Video Background
Hello, I am new to this forum and to Vizard. Does anyone have an example of displaying live video from a camera behind all 3d graphics. The video should take up the full screen and never move.
The reason I'm trying to set this up is for augmented reality purposes. I would actually use the artoolkit extension but I am unable to get sensor tracking working with the artoolkit extension. |
|
#2
|
|||
|
|||
|
The following article from our knowledge base describes how to accomplish this:
http://kb.worldviz.com/articles/813 |
|
#3
|
|||
|
|||
|
Could you possibly provide an example of how to use this with input from a webcam? I am still unable to get this working with a camera feed...
|
|
#4
|
|||
|
|||
|
The article shows how to apply a static texture to the background. Just replace the static texture object with your camera texture object. Are you using the VideoCamera plugin to connect to a webcam?
|
|
#5
|
|||
|
|||
|
Yes, I'm using the following code to connect to the webcam:
#Create Video Camera extension video = viz.add('VideoCamera.dle') #Connect to next available generic video capture device cam = video.addWebcam() |
|
#6
|
|||
|
|||
|
Now apply the camera texture to the background:
Code:
background.texture(cam) |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| video help | nasr | Vizard | 2 | 05-26-2009 12:42 PM |
| lat long mapped video | Brett Lindberg | Vizard | 3 | 02-25-2009 08:41 PM |
| Video Texturing | cheezus69 | Vizard | 2 | 04-14-2008 04:26 AM |
| How to synchronize play/pause of 2 video streams in stereo | Gilliard | Vizard | 1 | 09-01-2005 09:58 AM |
| video | jebber | Vizard | 1 | 09-28-2004 06:20 PM |