WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-27-2009, 09:49 PM
vvortex3 vvortex3 is offline
Member
 
Join Date: May 2009
Posts: 3
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.
Reply With Quote
  #2  
Old 05-28-2009, 09:56 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following article from our knowledge base describes how to accomplish this:

http://kb.worldviz.com/articles/813
Reply With Quote
  #3  
Old 05-28-2009, 08:05 PM
vvortex3 vvortex3 is offline
Member
 
Join Date: May 2009
Posts: 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...
Reply With Quote
  #4  
Old 05-28-2009, 09:05 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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?
Reply With Quote
  #5  
Old 05-29-2009, 04:41 PM
vvortex3 vvortex3 is offline
Member
 
Join Date: May 2009
Posts: 3
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()
Reply With Quote
  #6  
Old 05-29-2009, 04:46 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Now apply the camera texture to the background:
Code:
background.texture(cam)
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
video help nasr Vizard 2 05-26-2009 11:42 AM
lat long mapped video Brett Lindberg Vizard 3 02-25-2009 07:41 PM
Video Texturing cheezus69 Vizard 2 04-14-2008 03:26 AM
How to synchronize play/pause of 2 video streams in stereo Gilliard Vizard 1 09-01-2005 08:58 AM
video jebber Vizard 1 09-28-2004 05:20 PM


All times are GMT -7. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC