ARToolKit | Mailing List Archive |
![]() |
From: | "Luca Degli Esposti" <lucadegli@l ........> | Received: | Sep 8, 2003 |
To | "AR Mailing List" <artoolkit@h ..................> | ||
Subject: | marker.dat | ||
This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C37614.97EC5FE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all I'm trying to place 2 markers on two faces of a cube to use it with = multiWrml. How can tell artoolkit that the marker aren't on the same = plane? I'm trying to modify marker.dat but without success Thankyou Luca ------=_NextPart_000_002B_01C37614.97EC5FE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi all</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I'm trying to place 2 markers = on two=20 faces of a cube to use it with multiWrml. How can tell artoolkit that = the marker=20 aren't on the same plane? I'm trying to modify marker.dat but without=20 success</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thankyou</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> =20 Luca</FONT></DIV></BODY></HTML> ------=_NextPart_000_002B_01C37614.97EC5FE0-- |
From: | "Luca Degli Esposti" <rei_work@l ........> | Received: | Sep 8, 2003 |
To | "AR Mailing List" <artoolkit@h ..................> | ||
Subject: | marker.dat | ||
This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C37642.63016220 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi again I'm trying to place 2 markers on two faces of a cube to use it with = multiWrml. How can tell artoolkit that the marker aren't on the same = plane? I'm trying to modify marker.dat but without success Thankyou Luca ------=_NextPart_000_0032_01C37642.63016220 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2722.900" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi again</FONT></DIV> <DIV><FONT face=3DArial size=3D2>I'm trying to place 2 markers = on two=20 faces of a cube to use it with multiWrml. How can tell artoolkit that = the marker=20 aren't on the same plane? I'm trying to modify marker.dat but without=20 success</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thankyou</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> =20 Luca</FONT></DIV></BODY></HTML> ------=_NextPart_000_0032_01C37642.63016220-- |
From: | Volker Wiendl <Wiendl@g .....> | Received: | Sep 8, 2003 |
To | "Luca Degli Esposti" <rei_work@l ........> | ||
Subject: | Re: marker.dat | ||
LDE> Hi again LDE> I'm trying to place 2 markers on two faces of a cube to use it with multiWrml. LDE> How can tell artoolkit that the marker aren't on the same plane? LDE> I'm trying to modify marker.dat but without success But this should be the right place, look at the matrix in /bin/data/multi/marker.dat : #marker 1 Data/multi/patt.a 40.0 0.0 0.0 1.0000 0.0000 0.0000 -100.0000 0.0000 1.0000 0.0000 50.0000 0.0000 0.0000 1.0000 0.0000 in the fourth column is the translation in x, y, z axis. Change the z and it should be the possible to have different planes. See also the "relation" example in this artoolkit version http://www.ims.tuwien.ac.at/~thomas/files/ARVideoLib-0.0.5a-all.zip LDE> Luca -- Best regards, Volker mailto:Wiendl@g ..... |
From: | Mark Billinghurst <grof@h ..................> | Received: | Sep 8, 2003 |
To | Volker Wiendl <Wiendl@g .....> | ||
Subject: | Re: marker.dat | ||
In addition to changing the vlaues in the last column you'll also need to change the values in the first 3x3 matrix: 1.0000 0.0000 0.0000 -100.0000 0.0000 1.0000 0.0000 50.0000 0.0000 0.0000 1.0000 0.0000 The first three columns are a rotation matrix which represent the rotation of the marker with respect the the origin. This is the standard 3x3 rotation matirx used in computer graphics text books. So for example, if the marker was rotated by angle theta about the X axis then the matrix would change to: 1.0000 0.0000 0.0000 -100.0000 0.0000 cos(theta) -sin(theta) 50.0000 0.0000 sin(theta) cos(theta) 0.0000 Does that make sense? If you are putting markers on the faces of a cube then they will be rotated at 90 degress with respect to each other. Hope this helps, Mark On Mon, 8 Sep 2003, Volker Wiendl wrote: > Date: Mon, 8 Sep 2003 22:09:18 +0200 > From: Volker Wiendl <Wiendl@g .....> > To: Luca Degli Esposti <rei_work@l ........> > Cc: AR Mailing List <artoolkit@h ..................> > Subject: Re: marker.dat > > LDE> Hi again > LDE> I'm trying to place 2 markers on two faces of a cube to use it with multiWrml. > LDE> How can tell artoolkit that the marker aren't on the same plane? > LDE> I'm trying to modify marker.dat but without success > > But this should be the right place, look at the matrix in /bin/data/multi/marker.dat : > > #marker 1 > Data/multi/patt.a > 40.0 > 0.0 0.0 > 1.0000 0.0000 0.0000 -100.0000 > 0.0000 1.0000 0.0000 50.0000 > 0.0000 0.0000 1.0000 0.0000 > > in the fourth column is the translation in x, y, z axis. > Change the z and it should be the possible to have different planes. > See also the "relation" example in this artoolkit version > http://www.ims.tuwien.ac.at/~thomas/files/ARVideoLib-0.0.5a-all.zip > > LDE> Luca > > -- > Best regards, > Volker mailto:Wiendl@g ..... > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Mark Billinghurst | Human Interface Technology Laboratory grof@h .................. | University of Washington, Box 352-142 fax: +1-206-543-5380 | Seattle, WA 98195 |