ARToolKit module for Blender + Game Engine

Thursday , 3, November 2016 13 Comments

After a very long time I got back to Blender and ARToolKit. I threw out old python module (it didn’t work with Blender 2.5 and later) and considered several approaches how to build new one. After several experiments I decided to go straight and make ARTKBlender module from scratch using standard python C interface.

Currently I implemented minimal feature set to make old demo running. ARTKBlender module has no dependencies, it just runs out of the box on recent Blender versions (tested on 2.77 and 2.78). Updated demo contains 64-bit version of module.

There is current state documentation of ARTKBlender module API.

Module sources are published on Github as open source. It’s implemented in C++ using MS Visual Studio 2015. I’m able to build Windows binaries for 64 a 32 bit versions, so I would welcome help with build setup for linux and Macs.

ARToolKit has much larger potential than it had before. So I encourage anybody to bring ideas how to use new possibilities in this little module.

This article is subject to change. I’ll update it when new information arise. I’m preparing module’s API documentation, too.

Zdieľajte tento článok...
Share on Facebook
Tweet about this on Twitter
Share on LinkedIn
13 thoughts on “ : ARToolKit module for Blender + Game Engine”
  • Jacob Merrill says:

    Very Nice work!

    do you plan to push it to upbge or master?

    • Ash says:

      It’s not necessary to include this module in Blender itself. It can stay standalone and be usable even outside the Blender.

  • Olm-e says:

    Hey Ash, long time we discussed this ! I talked about you in my conf at the Blender conference this year, about the video texture integration ! 😉
    great you have this working again !! will see if I can (find some) help to compile this for linux, it’s a great tool to implement in the BGE !

  • Lostcause says:

    Is there a tutorial on how to use this?

    • Ash says:

      Hello, there is downloadable demo available (linked in article). It should run on current Blender and provide insight how to use this module.
      If there would be interest I can make a video tutorial, but I’m quite busy, so it’ll take some time.

  • Jonáš says:

    Ahoj, co dělám špatně když mi konzole hlasí: ImportError: No module named ‘ARTKBlender’?

    • Ash says:


      súbor ARTKBlender.pyd má byť v rovnakom adresári ako .blend súbor, ktorý ho používa. To by malo stačiť.

      Záleží na tom, či modul používaš v BGE alebo v Blenderi samotnom. Počas behu hry v BGE je do sys.path pridaný aj samotný adresár hry, pri spustení skriptu v Blenderi to tak nie je.

      Treba si v skripte vypísať obsah sys.path, a buď uložiť ARTKBlender.pyd do niektorého z vypísaných adresárov, alebo do sys.path pridať adresár, kde je ARTKBlender.pyd (ešte pred príkazom import ARTKBlender).

      Prajem zdar!

  • Jonáš says:

    v bge i v blenderu (i po přidání adresáře do sys.path) to pořád nefunguje..console píše DLL load failed: Zvedeny modul nebyl nalezen(

  • Jonáš says:

    je otřeba ještě nějaká knihovna nebo něco ninstalovat?

  • Jonáš says:

    Už jsem na to přišel…projel sem modul programkem na detekci zavyslosti na dllkach a vyhodilo mi to msvcp140.dll…stahnul jsem hodil do adresáře a jede to!!! děkuju moc

    • Ash says:

      Super, to ma teší. Práve som ti šiel napísať nejaké rady, ktoré by ti asi aj tak nepomohli.

      Veľa zdaru!

  • Jonáš says:

    Ještě posledni dotaz) zapoměl jsem co se muselo napsat dou live stream z cam 0,1?

  • Please give us your valuable comment

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.