hi all,
davide morelli did almost a working bridge of artoolkitplus and pure data - gem. i think it would bring many new possibilities to AR like opengl dataflow, sound, sensors, open sound control, video, physical modeling, importation of model (.obj) etc...
please have a look at this url: http://www.davidemorelli.it/dokuwiki/doku.php?id=ar:augmented_reality_and_in...
right now, the external is detecting the correct id of the marker and also follows each marker if we rotate it until the angle is below 90°...
that would be fantastic if we can do this bridge. i cc artoolkit forum, many some people would be willing to help.
pat
Hello,
I've already built the ARToolKit external for GEM for Max/MSP. # I had a chance to demonstrate it for Miller Puckette in June.
The name of external is "pix_artoolkit", which uses old version of artoolkit (not artoolkitplus). Please have a look at following urls.
http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_running.png http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_help.png http://www.kyoto-su.ac.jp/~hirai/max/particle1.png http://www.kyoto-su.ac.jp/~hirai/max/particle2.png http://www.kyoto-su.ac.jp/~hirai/max/particle3.png
I haven't released it yet, because of a few issue, managing gem images, using latest version, ... If my sourcecode of pix_artoolkit is useful for the artoolkitplus external, I will joint the davide morell's work for pd-gem.
Sincerely,
Shigeyuki Hirai
On 2006/10/22, at 5:36, patrick wrote:
hi all,
davide morelli did almost a working bridge of artoolkitplus and pure data - gem. i think it would bring many new possibilities to AR like opengl dataflow, sound, sensors, open sound control, video, physical modeling, importation of model (.obj) etc...
please have a look at this url: http://www.davidemorelli.it/dokuwiki/doku.php? id=ar:augmented_reality_and_interfaces
right now, the external is detecting the correct id of the marker and also follows each marker if we rotate it until the angle is below 90°...
that would be fantastic if we can do this bridge. i cc artoolkit forum, many some people would be willing to help.
pat
http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_running.png http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_help.png http://www.kyoto-su.ac.jp/~hirai/max/particle1.png http://www.kyoto-su.ac.jp/~hirai/max/particle2.png http://www.kyoto-su.ac.jp/~hirai/max/particle3.png
that's just cool! ...bravo!
I haven't released it yet, because of a few issue, managing gem images, using latest version, ...
what problems are you having? will you release the external as GPL?
If my sourcecode of pix_artoolkit is useful for the artoolkitplus external, I will joint the davide morell's work for pd-gem.
well, I don't see why we should restart an already done job! looks like your external is working fine, no?
ciao, Davide.
On Oct 22, 2006, at 12:41 PM, Shigeyuki Hirai wrote:
I've already built the ARToolKit external for GEM for Max/MSP.
...egad, hadn't thought about that project in awhile! Actually was instrumental in getting me to work on GEM for pd...
# I had a chance to demonstrate it for Miller Puckette in June.
The name of external is "pix_artoolkit", which uses old version of artoolkit (not artoolkitplus). Please have a look at following urls.
http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_running.png http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit_help.png http://www.kyoto-su.ac.jp/~hirai/max/particle1.png http://www.kyoto-su.ac.jp/~hirai/max/particle2.png http://www.kyoto-su.ac.jp/~hirai/max/particle3.png
...nice pictures, would be even better to see it in motion (as always)...
I haven't released it yet, because of a few issue, managing gem images, using latest version, ...
...hehe, we've all written code that has a "few issue"'s, so don't let that hold you back...plus ya never know, maybe someone else can more easily solve problems you are seeing...
If my sourcecode of pix_artoolkit is useful for the artoolkitplus external, I will joint the davide morell's work for pd-gem.
...maybe make your source available from cvs somewhere? There definitely is a vocal desire for this package to get into pd!
tanx, jamie
hello,
i was waiting to see if more people would show an interest in this project. i can't believe how much the traffic is low for a technology that will be everywhere in a near future (forums on ar).
anyway the good news is that james tittle is interested in this project and davide morelli already did a big part. we just need the source of pix_artoolkit write by shigeyuki for max/msp. we will port it to pd and then we will try to use artoolkitplus!
shigeyuki can you share your source?
maybe other developers will be interested in joining this effort to bring augmented reality to a dataflow environment. that's why i still cc gem-dev and artoolkit forums.
patrick
Hi,
I'm currently in the way of porting ARToolkitPlus in Drone, an open-source heterogenous computing environment (with dataflow, FSM, and others) (see http://trac.drone.ws). The code will be in Java and will integrate with a library for 3d graphics in Java, that will be coded this winter. I don't know yet wether I'll try to port GEM into Drone (with a JNI bridge) or code another library in JOGL. But in any case, that will be yet another port of AR into a visual programming environment. I'll be following closely Morelli's work and altough right now I didn't really put any of my code available, I'll do it pbly in january when it is a bit more advanced.
Cheers,
patrick wrote:
hello,
i was waiting to see if more people would show an interest in this project. i can't believe how much the traffic is low for a technology that will be everywhere in a near future (forums on ar).
anyway the good news is that james tittle is interested in this project and davide morelli already did a big part. we just need the source of pix_artoolkit write by shigeyuki for max/msp. we will port it to pd and then we will try to use artoolkitplus!
shigeyuki can you share your source?
maybe other developers will be interested in joining this effort to bring augmented reality to a dataflow environment. that's why i still cc gem-dev and artoolkit forums.
patrick
I'll be following closely Morelli's work and altough right now I didn't really put any of my code available, I'll do it pbly in january when it is a bit more advanced.
I didn't write anything really useful, it was just a dummy gem external that should use the GEM chain to feed the artoolkitplus markers detection function. it doesn't output any position matrix, any marker list.. I hope I can find some time to try to use latest artoolkit release..
ciao, davide.
hello,
i apologize to respond late. my machine i develop gem4max has a trouble to access sourceforge.net. i uploaded the source of pix_artoolkit
http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit.zip
and also upload an archive file including code warrior project and examples.
http://www.kyoto-su.ac.jp/~hirai/max/pix_artoolkit.dmg
please download them.
thanks,
shigeyuki
On 2006/11/10, at 23:30, patrick wrote:
hello,
i was waiting to see if more people would show an interest in this project. i can't believe how much the traffic is low for a technology that will be everywhere in a near future (forums on ar).
anyway the good news is that james tittle is interested in this project and davide morelli already did a big part. we just need the source of pix_artoolkit write by shigeyuki for max/msp. we will port it to pd and then we will try to use artoolkitplus!
shigeyuki can you share your source?
maybe other developers will be interested in joining this effort to bring augmented reality to a dataflow environment. that's why i still cc gem-dev and artoolkit forums.
patrick
Shigeyuki Hirai wrote:
hello,
i apologize to respond late. my machine i develop gem4max has a trouble to access sourceforge.net. i uploaded the source of pix_artoolkit
thanks, i've added the object to the regular Gem.
and also upload an archive file including code warrior project and examples.
unfortunately i don't know how to use this here (on linux) so i have no idea, whether the code works or not (at least it does not crash).
i removed the calls to argInit() (which removed the dependency to ARgsub (and glut)). so know, Gem only needs to link against libAR.a
ah yes, [pix_artoolkit] will only be available if configure can find the ARToolKit libs.
mfg.adr IOhannes
please download them.
thanks,
shigeyuki
On 2006/11/10, at 23:30, patrick wrote:
hello,
i was waiting to see if more people would show an interest in this project. i can't believe how much the traffic is low for a technology that will be everywhere in a near future (forums on ar).
anyway the good news is that james tittle is interested in this project and davide morelli already did a big part. we just need the source of pix_artoolkit write by shigeyuki for max/msp. we will port it to pd and then we will try to use artoolkitplus!
shigeyuki can you share your source?
maybe other developers will be interested in joining this effort to bring augmented reality to a dataflow environment. that's why i still cc gem-dev and artoolkit forums.
patrick
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
neat! thank you shigeyuki, thank you very much for sharing your work! also big up to IOhannes for putting pix_artoolkit in cvs of gem. it compile fine and can loadcpara:
[pix_artoolkit]: ARToolKit support by Shigeyuki Hirai [pix_artoolkit]: loaded camera parameter file:(/me/camera_para.dat)
the only thing is not working is loading a marker: error: [pix_artoolkit]: can't set marker number 0
MAX_OBJECTS is define in pix_artoolkit.h to 16
void pix_artoolkit :: loadmarkerMess(t_int n, t_symbol *marker_filename) { if (n > MAX_OBJECTS || n <= 0) { error("can't set marker number %d", n); return; } if ((m_object[n - 1].patt_id = ::arLoadPatt(marker_filename->s_name)) < 0) { error("ARToolKit: pattern load error (%d) !!", m_object[n - 1].patt_id); return; } post("loaded a marker file (%s) as %d...", marker_filename->s_name, n); m_object[n].patt_name = marker_filename; }
is there an error here? we are close! pat
patrick wrote:
neat! thank you shigeyuki, thank you very much for sharing your work! also big up to IOhannes for putting pix_artoolkit in cvs of gem. it compile fine and can loadcpara:
[pix_artoolkit]: ARToolKit support by Shigeyuki Hirai [pix_artoolkit]: loaded camera parameter file:(/me/camera_para.dat)
the only thing is not working is loading a marker: error: [pix_artoolkit]: can't set marker number 0
MAX_OBJECTS is define in pix_artoolkit.h to 16
void pix_artoolkit :: loadmarkerMess(t_int n, t_symbol *marker_filename) { if (n > MAX_OBJECTS || n <= 0) { error("can't set marker number %d", n); return; } if ((m_object[n - 1].patt_id = ::arLoadPatt(marker_filename->s_name)) < 0) { error("ARToolKit: pattern load error (%d) !!", m_object[n - 1].patt_id); return; } post("loaded a marker file (%s) as %d...", marker_filename->s_name, n); m_object[n].patt_name = marker_filename; }
is there an error here?
no the error is in class_addmethod(): pd does not allow to have messages of with arguments "<float> <symbol>" automatically typechecked (the reverse "<symbol> <float>" works fine). i have changed that to use A_GIMME but have forgotten to check it in...should be fixed now. it should appear in the anonymous CVS soon (in the meantime, just download it from the webCVS interface)
we are close!
we'll see...
mfg.asdr IOhannes
hi!
it's working: i can load a marker: [pix_artoolkit]: loaded a marker file (/me/patt.hiro) as 1...
now i think that gem for max/msp is working with pixels? take a look at the output of the second outlet of pix_artoolkit:
draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285 draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285 draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285
am i wrong? will make further test, i am already late for work. patrick
patrick wrote:
hi!
it's working: i can load a marker: [pix_artoolkit]: loaded a marker file (/me/patt.hiro) as 1...
now i think that gem for max/msp is working with pixels? take a look at the output of the second outlet of pix_artoolkit:
draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285 draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285 draw_particles1: -208.106 -143.641 961.829 0.644829 0.131227 0.140218 42.285
am i wrong?
afaics, the values you get are directly taken from ARToolKit. probably they are normalized to fit within their glsub-rendering system (for easy use). it should have nothing to do with pixels.
btw, where does "draw_particles1" come from? is this just your [print] or some memory corruption?
mfg.adsr IOhannes