Академический Документы
Профессиональный Документы
Культура Документы
Contents
Compile simpleVRML with OpenVRML How does ARToolkit work?
Tutorials
References
Download jpeg-6b-4.exe
Delete OpenVRML\dependencies\lib\libjpeg.lib Install jpeg-6b-4.exe Copy C:\Program Files\GnuWin32\lib\jpeg.lib to OpenVRML\dependencies\lib Rename it from jpeg.lib to libjpeg.lib Copy jpeg62.dll, and libpng13.dll, and zlib1.dll from C:\Program Files\GnuWin32\bin to {ARToolKit}\bin
simpleVRML Project > Properties > Configuration Properties > Debugging > Working
Directory /bin Rebuild Only simpleVRML
Directories OpenVRML/include/openvrml
Project > Properties > Configuration Properties > VC++ Directories > Include Directories OpenVRML/dependencies/include Project > Properties > Configuration Properties > VC++ Directories > Library Directories OpenVRML/lib Project > Properties > Configuration Properties > VC++ Directories > Library Directories OpenVRML/dependencies/lib
Project > Properties > Configuration Properties > Linker > Input > Additional Dependencies (Debug mode)
2.75 3.50
4.25 7.37
16 25
34 50
This range is also affected somewhat by pattern complexity Tracking is also affected by the marker orientation relative to the camera The tracking results are also affected by lighting conditions
/* grab a vide frame */ if( (dataPtr = (ARUint8 *)arVideoGetImage()) == NULL ) { arUtilSleep(2); return; } if( count == 0 ) arUtilTimerReset(); count++;
argDrawMode2D(); argDispImage( dataPtr, 0,0 );
/* detect the markers in the video frame */ if( arDetectMarker(dataPtr, thresh, &marker_info, &marker_num) < 0 ) { cleanup(); exit(0); } arVideoCapNext();
.....
.... /* check for object visibility */ .... /* get the transformation between the marker and the real camera */ arGetTransMat(&marker_info[k], patt_center, patt_width, patt_trans); draw(); argSwapBuffers(); }
glEnable(GL_LIGHTING); glEnable(GL_LIGHT0); glLightfv(GL_LIGHT0, GL_POSITION, light_position); glLightfv(GL_LIGHT0, GL_AMBIENT, ambi); glLightfv(GL_LIGHT0, GL_DIFFUSE, lightZeroColor); glMaterialfv(GL_FRONT, GL_SPECULAR, mat_flash); glMaterialfv(GL_FRONT, GL_SHININESS, mat_flash_shiny); glMaterialfv(GL_FRONT, GL_AMBIENT, mat_ambient); glMatrixMode(GL_MODELVIEW); //glTranslatef( 0.0, 0.0, 25.0 ); glTranslatef( 0, 0, 25.0 ); glutSolidCube(50.0); glDisable( GL_LIGHTING );
glDisable( GL_DEPTH_TEST );
ARToolkit Tutorials
Tutorial 1 : Tracking Stability http://www.hitl.washington.edu/artoolkit/documentation/tutorialhistory.htm Tutorial 2 : Camera and Marker Relationships http://www.hitl.washington.edu/artoolkit/documentation/tutorialcamera.htm Tutorial 3 : Multi-Marker Tracking http://www.hitl.washington.edu/artoolkit/documentation/tutorialmulti.htm Tutorial 4 : simpleLite http://www.hitl.washington.edu/artoolkit/documentation/devstartup.htm Tutorial 5 : simpleTest2 http://www.hitl.washington.edu/artoolkit/documentation/tutorialhistory.htm Tutorial 6 : Recognized Multiple Patterns http://www.hitl.washington.edu/artoolkit/documentation/devmulti.htm Build Notes : ARToolkit & OpenVRML Build Notes for running ARTOOLKIT integrated with OpenVRML on windows platform with Visual Studio 2005 ARToolkit for Dummies http://isa.umh.es/vr2/euron06/doc/labs/ARToolkit_for_Dummies.pdf
Tutorial : simpleLite
http://www.artoolworks.com/support/library/ARToolKit_tutorial_1:_First_simple_ ARToolKit_scene http://www.hitl.washington.edu/artoolkit/documentation/devstartup.htm ARToolkit/examples/simpleLite/
Tutorial : simpleTest2
http://www.hitl.washington.edu/artoolkit/documentation/tutorialhistory.htm ARToolkit/examples/simple2/ ARToolkit/bin/simpleTest2.exe
References
http://www.hitl.washington.edu/artoolkit/documentation/ http://isa.umh.es/vr2/euron06/doc/labs/ARToolkit_for_Dummies.pdf http://www.hitl.washington.edu/artoolkit/Papers http://gekko.tistory.com/45 http://www.artoolworks.com/ARToolKit_Professional.html http://www.pragprog.com/titles/cfar/augmented-reality http://jpyun56.wordpress.com/2010/01/18/augmented-realityapplication%EB%93%A4/ http://www.se.rit.edu/~jrv/research/ar/ http://cafe.naver.com/opencv http://calmarea.net/?p=167 http://blog.naver.com/PostView.nhn?blogId=piccoro77&logNo=100064267687&vi ewDate=¤tPage=1&listtype=0&userTopListOpen=false&userTopListCount =5&userTopListManageOpen=false&userTopListCurrentPage=undefined http://shine10e.tistory.com/59 http://augmentedrealityindia.org/2011/10/09/artoolkit-n-openvrml/