|
HowToUseYourOwnMarkers
This page describes, how you can use your very own AR markers.
IntroductionThis page describes, how you can use your very own AR markers. (for developers) DetailsFor each marker there is a marker file. This file contains information, about how the marker looks. This information is used by the ARToolkit in order to distinguish different markers. All marker file have to be placed in the assets folder of the eclipse project. The name of this file has to be passed to the ARObject's constructor. The tool, that allows you to create those mentioned files, is called mk_patt. It is part of the ARToolkit. You can download the windows binaries from here. The source code (e.g. for linux systems) can be downloaded here.
|
► Sign in to add a comment
AndAR seems to only consider the patterns inside the AndAR library project assets. Is there a workaround this?
seems to be working to me, when you train the pattern and put it in the assets folder as explained here.
I did as mentioned for a window's system (Vista), but whenever I click on mk_patt.exe and press enter, the application hangs.
I already made some markers. also i inserted my marker file in assert folder.but I have no idea how to adjust my markers. if i make 3 markers. i wanna show different 3d object. is that possible? and somebody can help me how to fix the source.plz help me.
sure, that's possible. have a look at the constructor of the ARObject. you have to specify the filename there. so you could create three different classes that inherit from ARObject. hope that helps.
Dear tdomhan I have download the http://sourceforge.net/projects/artoolkit/files/artoolkit/2.72.1/ARToolKit-2.72.1-bin-win32.zip/download
I'm using WindowsXP
When I ran the mk_patt the app was hanged
How can I fixed it, it seems error on camera_para.dat
Thank you very much
Dear tdomhan, Now I can run the RToolKit-2.72.1-bin-win32.zip with editing source code. I have to place camera_para.dat & WDM_camera_flipV.xml in c:\ the set default config. It run smoothly. Hope this also help others.
Thank you for your code.:)
Hi, there is also another way to create your markers : http://flash.tarotaro.org/blog/2008/12/14/artoolkit-marker-generator-online-released/ Anyway, I've tried to make my own, but it works better when starting with the blankPatt.gif given with the ARToolkit. If you have any time, it would be nice to have a sample on how you retrieve the informations from an Object file. Thanks for your work!
Hello,
awesome project, but I have some troubles defining my own markers. I do not understand how you get the "markerWidth" for the markers.
hi Tdomhan,sorry to bother u. could you like to say detail about how to do about " Refer to this file through the ARObject's constructor. (ARObject is abstract, so have a look at the class extending it, like the Model class in the AndAR Model Viewer) "
Dear tdomhan,you mentioned that we can place the markers out of the AndAR library project assets,so we can change our markers dynamically, but How can i do that? thank you very much! my email is Qingpoli@gmail.com
How I can load direct a model, without the list? Thanks
Hi Tdomhan I have an issue here, the mk_patt.exe gives an error and cannot execute. it says that my computer doesn't have glut.dll. I did everything as was written above, can you please tell what my problem might be? I am using Windows 7, 64bit. I know this question may be stupid, cause I am totally noob. Thank you!
can who make a video to guiding a simple project andar for everyone.thanks
Hi! Tdomhan I have an issue regarding showing different objects when different markers are used. Can you lead me a way that I can follow and achieve this anyway. Thank you.
i am using win xp , and installed eclopse , and put the file in assets folder , how can i do "Refer to this file through the ARObject's constructor. (ARObject is abstract, so have a look at the class extending it, like the Model class in the AndAR Model Viewer) "
PLZ can any one help me
According to api, the custom marker should be placed in res/raw folder. After creating your custom marker (xxxx.pat), place it into your Android project's res/raw folder. Not Eclipse asset folder. Please update description above. And thank you for this project