Simple distance measuring project that draws a line between two markers using OpenGLES 2.0. Demonstrates how the correlation between two markers works. Demonstrates how one can measure the distance between two markers.
Preparation:
- Go to your root directory for the artoolkit5 git repository.
- Open the android directory
- Run build.sh —-> ./build.sh (Mac and Linux) -- This builds and copies all necessary libraries into the project
- Open the project in AndroidStudio and enable Android project nature and gradle build.
- Run the project with a connected Android mobile
- Print the two included markers and hold your mobile in a way that both markers are visible. —> A line is drawn between the centre of the markers