ARToolKit | Mailing List Archive |
![]() |
From: | Yohan Baillot <baillot@a ...............> | Received: | Feb 7, 2003 |
To | artoolkit@h .................. | ||
Subject: | ARToolkit DX + 3COM HomeConnect | ||
I finally got a DX version of ARTK compiling! I had problem with binaries from 2.52 (HITL) and 2.65 (Juergen Zauner) with a 3COM HomeConnect USB and here is what I learned today:) -The directories order for the include and lib matters a lot when using visual and here is what works for 2.52: Include Microsoft SDK Include Visual Studio Include ARToolkit Include Visual Studio ATL Include Lib Microsoft SDK Lib Visual Studio Lib ARToolkit Lib -you also need to replace strmbase.lib with strmiids.lib if using DX8.1 instead of 8.0 (tips from http://www.cs.unc.edu/~ryang/Miscellaneous/DShow/README.htm) -when 2.52 DX finally compiled, I could apply the fix given by "Dirk Harms" <dirk.harms@g .....> last year: instead of pSampleGrabber->SetBufferSamples(TRUE); pSampleGrabber->SetOneShot(TRUE); use pSampleGrabber->SetBufferSamples(FALSE); pSampleGrabber->SetOneShot(FALSE); and remove pMediaEvent->WaitForCompletion(INFINITE, &evCode); but it did not work when I did that, the screen was black. I had to back to TRUE for the SetBufferSample for it to work. Now next problem. Running exview.exe shows 100% processing time on a Dell M40 PIII 1.2Ghz 512 Mb. Is this normal? thanks Yohan _______________________________________________________________________ Yohan BAILLOT Virtual Reality Laboratory, Advanced Information Technology (Code 5580), Naval Research Laboratory, 4555 Overlook Avenue SW, Washington, DC 20375-5337 Email : baillot@a ............... Work : (202) 404 7801 Home : (202) 518 3960 Cell : (703) 732 5679 Fax : (202) 767 1122 Web : http://ait.nrl.navy.mil/vrlab/projects/BARS/BARS.html _______________________________________________________________________ |
From: | Yohan Baillot <baillot@a ...............> | Received: | Feb 7, 2003 |
To | artoolkit@h .................. | ||
Subject: | ARToolkit DX + 3COM HomeConnect | ||
I finally got a DX version of ARTK compiling! I had problem with binaries from 2.52 (HITL) and 2.65 (Juergen Zauner) with a 3COM HomeConnect USB and here is what I learned today:) -The directories order for the include and lib matters a lot when using visual and here is what works for 2.52: Include Microsoft SDK Include Visual Studio Include ARToolkit Include Visual Studio ATL Include Lib Microsoft SDK Lib Visual Studio Lib ARToolkit Lib -you also need to replace strmbase.lib with strmiids.lib if using DX8.1 instead of 8.0 (tips from http://www.cs.unc.edu/~ryang/Miscellaneous/DShow/README.htm) -when 2.52 DX finally compiled, I could apply the fix given by "Dirk Harms" <dirk.harms@g .....> last year: instead of pSampleGrabber->SetBufferSamples(TRUE); pSampleGrabber->SetOneShot(TRUE); use pSampleGrabber->SetBufferSamples(FALSE); pSampleGrabber->SetOneShot(FALSE); and remove pMediaEvent->WaitForCompletion(INFINITE, &evCode); but it did not work when I did that, the screen was black. I had to back to TRUE for the SetBufferSample for it to work. Now next problem. Running exview.exe shows 100% processing time on a Dell M40 PIII 1.2Ghz 512 Mb. Is this normal? thanks Yohan _______________________________________________________________________ Yohan BAILLOT Virtual Reality Laboratory, Advanced Information Technology (Code 5580), Naval Research Laboratory, 4555 Overlook Avenue SW, Washington, DC 20375-5337 Email : baillot@a ............... Work : (202) 404 7801 Home : (202) 518 3960 Cell : (703) 732 5679 Fax : (202) 767 1122 Web : http://ait.nrl.navy.mil/vrlab/projects/BARS/BARS.html _______________________________________________________________________ |