![]() |
#1
|
|||
|
|||
![]()
Hello. I have a project that involves a projector. The goal is use a web camera for tracking markers' position and orientation, but I want the projector to display the virtual 3D model only. Thus far I have everything working with the web camera, I just need to know if this is possible?
Thanks, Stephanie |
#2
|
|||
|
|||
If you don't want to render the camera image set the window argument to None:
Code:
camera = ar.addWebCamera(window=None) |
#3
|
|||
|
|||
Still having issues!!!
Hello, Jeff. I tried the camera function but I'm still not receiving my desired output. That line of coding removes gives a black screen. To help you get a better understanding I've attached a word document with the output I want, the screen shots of the output I'm receiving, and my source code. Thanks in advance for all your assistance.
Design: Virtual Assembly Program Equipment/ Software: Web Camera, Epson Projector, and ARtoolkit markers Goal: I need the web camera for tracking purposes only. I want the projector to render the virtual 3D Model without video feedback from the web camera (NOT THE WEB CAMERA). Output: I’m getting feedback from both the web camera and projector. Paths: I tried replacing camera = ar.addWebCamera() with camera = ar.addWebCamera(window=None) and I receive a black screen and feedback. |
#4
|
|||
|
|||
Can you post a simple example script that shows the issue you are having?
|
#5
|
|||
|
|||
Sample Source Code
Attached sample code and screen shots of my output thus far. Thanks
|
#6
|
|||
|
|||
Can you start with a simple example and verify that you get the correct output?
Code:
import viz viz.go() #Add ARToolkit extension ar = viz.add('artoolkit.dle') #Create camera using first available webcam camera = ar.addWebCamera(window=None) #Create a matrix marker with the specified id marker = camera.addMatrixMarker(0,width=1000) #Add logo model logo = viz.add('logo.ive') #Link logo model to marker sensor viz.link(marker,logo) |
#7
|
|||
|
|||
Yes, I get the correct output. Now, how do I bring a projector into the connection and use it to only output my "logo" in an augmented environmnet.
Thanks |
#8
|
|||
|
|||
Does your projector work in stereo or mono? If stereo, which kind of stereo input does it require?
If the test application works but your application does not, you'll need to find out where your application is breaking. To do that, start with a simple script, and add code until you see where the problem begins. |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
shadows in mirror | chris_user | Vizard | 0 | 02-17-2011 04:37 AM |
Use Projector from room.wrl | jassel41 | Vizard | 1 | 11-18-2010 03:38 PM |
multiple shadows using projector | theuberk | Vizard | 13 | 02-24-2009 03:56 AM |
3d projector | Vinicius Lima | Vizard | 21 | 03-05-2008 04:51 PM |
3D Projector | Vinicius Lima | Vizard | 1 | 08-20-2007 06:52 PM |