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

posted in: Augmented Reality | 6

Little by little we’re moving to https://www.ourtechart.com/augmented-reality/augmented-reality-marker-tracking/

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!

Follow me:

6 Responses

  1. Is dere anyway to add animated 3d models in this ???

    • 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.

  2. 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.

  3. Marcos

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

  4. 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