WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 06-30-2014, 04:48 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Each camera will display the model correctly according to it's own point of view. Viewing the models in 2 windows, each with a different camera view will look correct:

Code:
import viz
import vizshape
viz.go()

ar = viz.add('artoolkit.dle')

viz.MainWindow.setSize(0.5,1)
subWindow = viz.addWindow(size=[0.5,1],pos=[0.5,1])

camera = ar.addWebCamera()
camera2 = ar.addWebCamera(window=subWindow)

marker1 = camera.addMarker('ar/patt.hiro',width=1000)
marker2 = camera2.addMarker('ar/patt.hiro',width=1000)

m1Axes = vizshape.addAxes()
axesLink1 = viz.link( marker1, m1Axes )
m2Axes = vizshape.addAxes()
axesLink2 = viz.link( marker2, m2Axes )
To increase the tracking space and use a single display with the data from multiple cameras it's necessary to calculate the relative pose between cameras and define a single coordinate system using that information.
Reply With Quote
 

Tags
artoolkit


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
the difference between transform matrix and setEuler,setPosition,setScale arscarsc Vizard 1 08-24-2010 09:17 AM
Camera distance problem CRI Vizard 0 07-28-2010 10:58 AM
Be a Marker for Camera Tracking CRI Vizard 2 05-31-2010 01:09 PM
Matrix Transform and Bumpmap GiudiceLab Vizard 0 11-27-2009 12:42 PM
transform deprecation problem cade_mccall Vizard 7 11-16-2007 02:59 PM


All times are GMT -7. The time now is 02:02 PM.


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