ARToolKit | Mailing List Archive |
![]() |
From: | "Emmanuel Dubois (IRIT)" <Emmanuel.Dubois@i ......> | Received: | Jun 10, 2003 |
To | artoolkit@h .................. | ||
Subject: | linking ARtoolkit with MFC | ||
Hi, I'm trying to link the ARtoolkit with an MFC-based application. In this application, I'm just trying to get the ARtoolkit-localisation running. I don't need to display the video, I don't need to draw any graphics. I think I just need to load the camera parameters and the desciription of the patterns I'd like to track. But, in the simple.exe example, the initialisation calls the ArgInit() method, which calls the argInit2() method, that causes the initialisation of GLUT windows. Previous mails mentioned that I just have to reomve the call to ArgInit2(). But do I need to recompile the ARtoolkit lib so to get a GLUT-FREE version of the AR toolkit ? Or can I just create a argInitLight() method inside my own application with inside this light version of the method, all the code of the initial ArgInit method (except the last one : argInit2(...) ) ? Is it possible to do so, or not ? (potential global variables ???)) Thanks for your help, and if anyone has already re-compiled a GLUT-FREE version of the AR toolkit, I would be happy to receive it. Thanks, E.D. Emmanuel DUBOIS ! Emmanuel.Dubois@i ...... UPS - IRIT - LIIHS ! www.irit.fr/recherches/LIIHS/dubois 118, route de Narbonne ! Phone: +33 (0)5 61 55 63 59 F - 31 062 Toulouse Cedex 4 ! Fax: +33 (0)5 61 55 62 58 |
From: | "Emmanuel Dubois (IRIT)" <Emmanuel.Dubois@i ......> | Received: | Jun 17, 2003 |
To | Rainer Maguhn <mail@r ...............>, artoolkit@h .................. | ||
Subject: | Re: linking ARtoolkit with MFC | ||
Hi, I was just trying to follow your indications and I realised that those functions are the one used if VisionSDK is intalled. Am I completely wrong ? If not, would you recommend to use the Vision SDK settings rather than the DirectShow setting ? Could you explain me shortly the differences ? Thanks a lot for your help. E.D. >initialize ARtoolkit functionality: >===================== >arVideoOpen >arVideoInqSize >arParamLoad >arParamChangeSize >arInitCparam >arLoadPatt >arVideoCapStart > >tracking loop: >===== >arVideoGetImage >arDetectMarker >arVideoCapNext >arGetTransMatCont >arUtilMatInv > > >Hope this helps! > > >regards >Rainer Maguhn > Emmanuel DUBOIS ! Emmanuel.Dubois@i ...... UPS - IRIT - LIIHS ! www.irit.fr/recherches/LIIHS/dubois 118, route de Narbonne ! Phone: +33 (0)5 61 55 63 59 F - 31 062 Toulouse Cedex 4 ! Fax: +33 (0)5 61 55 62 58 |
From: | Rainer Maguhn <mail@r ...............> | Received: | Jun 18, 2003 |
To | artoolkit@h .................. | ||
Subject: | Re: linking ARtoolkit with MFC | ||
Emmanuel Dubois (IRIT) wrote: > I was just trying to follow your indications and I realised that those > functions are the one used if VisionSDK is intalled. > Am I completely wrong ? > > If not, would you recommend to use the Vision SDK settings rather than > the DirectShow setting ? > Could you explain me shortly the differences ? I am using DSVideoLib by Thomas Pintaric which uses DirectShow. There is a ARToolkit distribution which uses DSVideoLib here: http://www.ims.tuwien.ac.at/~thomas/artoolkit.php ** Try it out! It works with almost ANY webcam or video card and needs just one additional .dll to run. Of cause we are talking about Windows here. Rainer |