Hi,
I’ve uploaded a very early binary version of the upcoming AR plugin with a sample project.
Currently it works only in the UE editor (on Windows), and all of it’s features can be used with blueprints. No C++ coding required!
I’ve tried to keep everything as simple as possible.
Opinions / suggestion are welcomed!
How to test ?
===========
-
Download the file on the link below and unzip it’s contents to your UE4 project directory.
http://get.fitnect.hu/download.php?f=tools/ARSample.zip
-
Print the markers located in ARSample\Plugins\ARToolkitPlugin\Binaries\Win64\Data\pdf
- There are 4 markers here: Kanji , Hiro, Sample 1, Sample 2. (Print at least Hiro, to get started!)
- Make sure to print them in their original size, and there should be a white border around the marker.
-
Run Epic Games launcher, and install Unreal Engine 4.9.2
-
In Epic Games launcher open ARSample project
-
Connect your webcam, and press the play button inside the editor!
-
Video stream should appear, move the markers (Hiro / Kanji) in front of the camera
-
Default unreal 3D chairs should appear on the screen.
More info about marker tracking can be found on the following link:
http://artoolkit.org/documentation/doku.php?id=3_Marker_Training:marker_about
There are two main blueprints in the example:
ARToolkitBase blueprint
===================
- Default webcam init (640x480 default resolution)
- Initializes the video stream and creates a dynamic texture based on the baseFeed material
- Loading markers (Marker list can be edited in the Markers enumeration - Content browser: Contents/ARToolkit/Blueprints/Markers
- Cleaning up at the end.
Level blueprint
===================
- Transformation of the “chairs” based on marker positions / rotations.
CubeHiro, CubeKanji
===================
- Simple static meshes - Feel free to change them!
Cheers,
Adam