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
  #1  
Old 06-05-2014, 06:25 AM
pwsnow pwsnow is offline
Member
 
Join Date: Apr 2012
Posts: 23
AR Marker Camera Matrix Transform Problem.

Dear Forum,

Has anyone had any experience with the ARToolKit plug in with Vizard? I have a question I need to ask about the camera matrix transform. We are currently using the trial version to ensure we can sort this problem out before purchasing the full version.

We have a scenario in which we want to track markers on cubes on a table that can be moved. Currently we have 2 cameras, but we will be using 3 in total. The user sits at the table and the two cameras are located just in front of the user to the left (facing the user’s left side) and just in front of the user above pointing down (facing the table). The setup works find and all the markers can be picked up by the cameras. However the reported eulers of the markers are incorrect.

I have experimented by breaking it down to one camera (the second one, looking down facing the table) and playing around with the camera matrix transform (as per the Vizard 4.0 Documentation on ARToolKit) using the <camera>.setMatrix(matrix) function. But with no luck. The eulers being reported are incorrect.

I understand that the marker positions are relative to the camera matrix transform. Just trying to work it out.

For example when I have the camera looking directly down at the marker I should get an euler of [0,0,0] reported from the marker. After applying a 90 degree pitch rotation vector to a matrix and applying that to the camera matrix I get [-1.48,-4.76,-47.86] which is nearly there bar the roll value.

Thanks for any help,

Peter
Reply With Quote
 

Tags
artoolkit

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
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 06:22 AM.


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