Tuesday, October 11, 2005

C++, C--

Took another stab at re-writing the “mk_patt.c” code to run on the Mac. Was able to get the code to work again and established that it was identifying markers but still couldn’t get it to draw the “marker ID square”. The functions associated with these are complex and part of the obsolete “gsub.h” set; re-writing it looked to be the last ugly option before us. However, Song suggested a checking to see if a new version of ARToolkit were available. It was, and the notes indicated it was more stable across platforms and had more updated routines that didn’t rely on “gsub.h” function sets. We compiled this, trained the system to use our own custom markers, and defined marker panels allowing us to utilize them in DART. We tested this by successfully taking our P-38 3D aircraft and augmenting our mousepad markers with it. Turns out that the re-written code we made was working fine minus the “marker ID square”. The square was just an indication a marker had been found and was functionally replaced by a printed feedback statement I entered saying “marker found”. The square was not required as an alignment template as originally interpreted from the code and instructions. Gavin reported that we would need to discuss with Scott if we could work with just one platform installation of Director for the time being. We wrote back noting that to keep on track with our project’s Milestones we’d have to have the software running on both PC AND Mac platforms at the same time since we would be testing communication features we would utilize heavily later on in the project.

0 Comments:

Post a Comment

<< Home