[artoolkit-commits] artoolkit/examples/simpleVRML simpleVRML.c, 1.11, 1.12
Optical marker tracking and overlay for augmented reality.
Brought to you by:
philip_lamb
From: Philip L. <phi...@us...> - 2006-05-31 22:09:58
|
Update of /cvsroot/artoolkit/artoolkit/examples/simpleVRML In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6503 Modified Files: simpleVRML.c Log Message: Fix bug which prevented marker position filtering being used. Index: simpleVRML.c =================================================================== RCS file: /cvsroot/artoolkit/artoolkit/examples/simpleVRML/simpleVRML.c,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** simpleVRML.c 29 May 2006 03:59:40 -0000 1.11 --- simpleVRML.c 31 May 2006 22:09:55 -0000 1.12 *************** *** 276,282 **** for (i = 0; i < gObjectDataCount; i++) { ! ! gObjectData[i].visible = 0; ! // Check through the marker_info array for highest confidence // visible marker matching our object's pattern. --- 276,280 ---- for (i = 0; i < gObjectDataCount; i++) { ! // Check through the marker_info array for highest confidence // visible marker matching our object's pattern. *************** *** 303,306 **** --- 301,306 ---- gObjectData[i].visible = 1; gPatt_found = TRUE; + } else { + gObjectData[i].visible = 0; } } |