Hello! I have mainly done porting the ARMokeyKit to jME3. But there are several problems that I cannot solve.
If you want to have the project, here is the archive with my test project and the lib: [url=http://www.fileserve.com/file/qW4GpN4/AR.rar][b]File name: AR.rar File size: 13.17 MB[/b][/url]
This is the link for the WinVDIG middleware that allows QTJava to work with camera: http://www.vdig.com/WinVDIG/WinVDIG_101.exe there are greater versions but they did not work for me. If all is fine the QTCap application that is installed with WinVDIG should not show any error (although it does not either show any image from the cam %/ )
Also be sure to have C:Program FilesJavajre6libextQTJava.jar in your project dependencies. I think my project setup does it but your path might be different.
The Hiro and Kanji markers pdfs are in the ardata folder inside the project, you should print them to work with the app.
The ARTest.jave should be run as the project’s main class.
The questions are:
1) After I run the project and then close it via closing the window, some thread is apparently still running in the background and I have to manually press the ‘Stop’ button in the jME SDK Netbeans shell. Otherwise the previously run applications keep the camera busy and the error message about that comes up. It is pretty annoying to keep closing application via the STOP button instead of just closing it’s window. How can I fix it? Maybe add some shutdown hooks? What is the correct way with jME3?
2) The marker is tracked very loosely. Most of the time is is not tracked at all or the software often loses it and positions incorrectly. It also does not catch it all the times it should. The guys on the youtube videos have a better performance. The behavior changes if I toggle the matrix smoothing on/off on the line 54 of the ARTest.java but it is strange!
3) The software sometimes misinterprets Kanji for Hiro and vice versa!!! This is totally unacceptable.
If anyone has any suggestions on how to fix these problems, It would be nice to hear..