Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 3.26 KB

README.md

File metadata and controls

58 lines (34 loc) · 3.26 KB

ARDraw-MM4ME

This Project is about AR Draw + Measure Experience in UNITY 3D with the below-mentioned features and Adding that to the MM4ME android project as a library:

  • Drawing over the recognized plane (Horizontal or Vertical Plane).
  • Line width adjuster.
  • Video Recording while drawing.
  • Multicolor options for lines.
  • One or multiple fingers touch draw ability.

Video Samples:

Video Folder: https://drive.google.com/drive/folders/1s6zhEX3iMFHdTDHKqXPMzgBqAieI8OBt

Video Recorded with self made screen recording feature : Link

MM4ME_ARDraw.mp4

About Project:

Scenes:

There are major 2 scenes in the project:

  • ARDraw-ScreenRecording&ColorPicker : With ScreenRecording & Color picker feature.

  • ARDraw : Basic ARDraw Feature.

    Screenshot 2021-08-21 235907

Scripts:

There are 5 Major Scripts written for the project and other from helping Plugin/Library:

  • ARDrawManager : Responsible for drawing the lines when eligible to draw on one or multi touch.
  • ARExperienceManager : Responsible for interactiong between multiple scripts about when ios eligible to draw and when not.
  • ARLine : Carry the property and role to add & remove point to draw line when touching the screen to the line renderer.
  • ColorPicking : Responsible for the color picker feature adn update the color to the line material.
  • UIController : Responsible for Screen Recording for click event on start and stop Recording button and calls AndroidUtils class functions.

How to setup the project on your local machine:

  • Make sure you have UNITY 3D and Android Studio installed on your machine.

  • Clone this and Mapmint4ME Repository at your desired same folder.

    Screenshot 2021-08-18 134911

  • Now you can open the UNITY project and make sure Android pletform is selected and as we are building this project as library make sure the Export project is selected and Project setting> Player > Other Setting > Configuration > Scripting Backend is IL2CPP.

    Screenshot 2021-08-18 135250

  • After you Export the project in ARDraw-MM4ME > ARDraw > AndroidBuild folder open the MM4ME Android project with Android Studio and Sync the project with Gradle files.

Note: In the Android Build folder in UNITY project you can see one folder name as unityLibrary and that is the folder we are using as library in our MM4ME project. Make sure the folder are at the right places and below given link is valid in your project to sync the project with gradle files.

Capture

Happy Coding :)