Introduction: Augmented Reality Tutorials (8 Tutorial Pack)

In these tutorials I won't give any background in theory it is oriented to the result how to achieve it! After accomplishing all 8 tutorials shown BELOW (view all steps) and experimenting with it, you will be able to do something like in the 3 DEMOS shown ABOVE.

The content of the tutorials looks like that:

  1. Augmented Reality Tutorial No. 1: Marker-Based Primitive Object Augmentation
  2. Augmented Reality Tutorial No. 2: Marker-Based 3D Object With Textures Augmentation
  3. Augmented Reality Tutorial No. 3: Putting Textures On 3D Objects For Proper Augmentation
  4. Augmented Reality Tutorial No. 4: Interaction using Arduino and Photoresistor
  5. Augmented Reality Tutorial No. 5: Interaction using Arduino and Ultrasonic Sensor
  6. Augmented Reality Tutorial No. 6: TCRT5000 Optical Sensor Information for Interaction with Virtual Content
  7. Augmented Reality Tutorial No. 7: Website-based Augmented Reality Example
  8. Augmented Reality Tutorial No. 8: Interaction using Leap Motion

Some of the tutorials requires additional hardware:

  • Arduino microcontroller
  • Optical sensors TCRT5000
  • Photoresistor
  • HC-SR04 Ultrasonic sensor
  • Leap Motion controller

Software used for tutorials:

  • Mostly Processing
  • Mostly Arduino
  • 3D Studio Max
  • FlashDevelop
  • Various libraries

In this collection of tutorials I am demonstrating how to make various Augmented Reality applications just in a few minutes. This is not only for developers, but for all people that wants to play around with Augmented Reality and get more familiar with this technology.

Before you start Download "Hiro" black-white square marker from here.

Step 1: Augmented Reality Tutorial No. 1: Marker-Based Primitive Object Augmentation

For this tutorial you will need to:

Download: Processing

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

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

Have Fun!

Step 2: Augmented Reality Tutorial No. 2: Marker-Based 3D Object With Texture Augmentation

For this tutorial you will need to:
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)

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!

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

Have Fun!

Step 3: Augmented Reality Tutorial No. 3: Putting Textures on 3D Objects for Proper Augmentation

For this tutorial you will need to:

Download:3Ds Max Box Model (*.max file) (3D Studio Max 2014 was used)

Download:Don’t Forget Box Models’ Texture! (*.jpg file)

Download:Finally Augmented Reality Result using Processing Programming Language (*.rar file)

Have Fun!

Step 4: Augmented Reality Tutorial No. 4: Interaction Using Arduino and Photoresistor

For this tutorial you will need to:

Download:Arduino Code (*.ino file)

Download:Processing Code (*.pde file)

Have Fun!

Step 5: Augmented Reality Tutorial No. 5: Interaction Using Arduino and Ultrasonic Sensor

What you'll need:

Download:Arduino Code (*.ino file)

Download:Processing Code (*.pde file)

Have Fun!

Step 6: Augmented Reality Tutorial No. 6: Multiple TCRT5000 Optical Sensor Information for Interaction With Virtual Content

What you'll need:

Download:Arduino Code (*.ino file)
Download:Processing Code (*.pde file)

Have Fun!

Step 7: Augmented Reality Tutorial No. 7: Website-based Augmented Reality Example

SUPER MARIO!

I strongly suggest to use everything of the given versions and if it works correctly, try out newer versions.

What you'll need:

Download: FlashDevelop 4.7.1 (*.exe file – newest version might be available from here)

Download: FLARManager 1.1.0 (*.zip file – newest version might be available from here)

Download: Flex SDK 4.6 (*.zip file – newest version might be available from here)

Download: Final Result (*.zip file)

Download: Marker to Preview Augmented Reality Over the Website Below (*.pdf file)

You can try out the result here: www.himix.lt

Have Fun!

Step 8: Augmented Reality Tutorial No. 8: Interaction Using Leap Motion

What you'll need:

Download:Processing Code (*.rar file)

Have Fun!

Comments

author
MichaelV200 (author)2016-11-13

Is there any chance this would work for Processing 3.2.1?

author
MatthewG82 (author)MichaelV2002016-12-24

Yes it will work just make sure download the lastest nyarpsg https://github.com/nyatla/NyARToolkit-for-Processing/blob/master/README.EN.md

author
ZavliJ (author)2015-10-05

I've alreadt put NyARpsg in processing library dir (D:\Oprek\processing-3.0b5\modes\java\libraries).. but still has an error Cannot find "jp.nyatla.nyar4psg". Help me please...

author
hypnotistas (author)ZavliJ2015-10-05

Hi, use Processing version 2.2.1. With the newer one some errors occurs.

author
praveenm3 (author)2015-04-12

show me tutorial for raspberry pi also....

author
hypnotistas (author)praveenm32015-04-12

You mean you want to use raspberry pi instead of Arduino?

author
praveenm3 (author)hypnotistas2015-04-13

exactly yes!

author
hypnotistas (author)praveenm32015-04-13

Didn't planned to do so, but I'll keep in mind. I have Raspberry PI, but didn't had a chance to play with it yet.

author
praveenm3 (author)hypnotistas2015-04-16

plz try for me !....................

author
praveenm3 (author)praveenm32015-04-16

and also i want know coneection between raspberry pi and laptop(pc)

give me some tutorials please

author
jules972 (author)2015-04-01

Good

author
seamster (author)2015-03-26

Hey, this is really neat!

Welcome to instructables! I think people will really dig your stuff.

You could add your second video to this instructable as step 2, and so on. It might be nice to compile everything into one tidy spot for people :)

author
hypnotistas (author)seamster2015-03-26

Thanks :) and thanks for the suggestion. Currently I have at least 8 augmented reality tutorials, but I am still thinking to put it all in seperate instructables just to avoid confusion with downloadable content. Hmmm...