Augmented Reality Tutorial No. 2: Marker-Based Textured 3D Object Augmentation

posted in: Augmented Reality | 6

Little by little we’re moving to

In this Augmented Reality tutorial textured 3D model will appear on the marker. This is a simple Marker-Based example, but critical when we talk about textures.

Download # Processing

Download # Newest nyar4psg 2.0.0 library for Augmented Reality (*.rar file)

Download # The Result of This Tutorial (OBJLoader_Sample_SAITO folder) (*.rar file)

Download # The Result of This Tutorial (SimpleLite folder) (*.rar file)

Download # Hiro Marker (*.pdf file)

Download # OBJLoader library to add 3D models in Augmented Reality (*.rar file). You can also install this library while using Processing.

NOTE: Extract library and put nyar4psg folder to Processing libraries location as you can see in example here: “C:\Users\EdgarasArt\Documents\Processing\libraries”. If there are no libraries folder in Processing folder (in My Documents) – create it!

6 Responses

    • admin

      Well, actually there is, but it would be more or less a “workaround” that I would not suggest to use. Now what do I mean? basically, you would need to export your model animation for every frame. So most likely you would end up having lots of *.obj files, where you would need to load these models frame by frame in void draw() part.
      Option 2: search for a library that would be able to import animation file (*.fbx file extension). I couldn’t find for a better solution back in these days, but maybe it is available now. Who knows…some research is needed.
      Option 3: Try doing AR tutorial No 14 that involves Unity3D and Vuforia, you can add animations there quite easily.

  1. Neel

    Thanx for your advice, actually i went through all your videos and the unity ones are quite cool . But actually i am newbie for unity and coding any logic into it is becoming difficult.
    But i will try on the fbx part you told.

  2. Marcos

    Does anyone know how i can change the marker ? i just need to exchange hiro for MM.

  3. Marcos

    admin can you tell me in what folder is the fille patt.hiro? it would help me a lot because i cant fin it and i need to change the marker.

Leave a Reply

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