Wow Fac 3D by alexminichino - 1

VR & AR

My first application with Unity and ARCore (Information Visualization Project)

Unity 2019.3.2f1Unknown LicenseUpdated 35 days agoCreated on February 26th, 2020
Go to source

WowFac3D

About

The project

Augmented and virtual reality application based on AugmentedFace subsystem of ARCore.

This app is a proposal of university project as a team work for the course in Information Visualization of Pof. Andrea Abate.

(Sorry for any beginner erros, but this is my first application with Unity and ARCore.)

Contributors

This project has been development with contribute of:

Alexander Minichino

Attilio Della Greca

Aniello Florido

Installation

(This is a part of official guide of Google Developers)

Requirements

Hardware
  • An ARCore supported device
  • A USB cable to connect your device to your development machine
Software
  • Unity 2017.4.34f1 or later
    • Make sure to include Android Build Support during installation
    • The Universal Render Pipeline (formerly known as Ligthweight Render Pipeline or LWRP) is not supported by the ARCore SDK for Unity
    • When using Unity 2019, the following Unity packages are required:
      1. Multiplayer HLAPI
      2. XR Legacy Input Helper
  • ARCore SDK for Unity 1.15.0 or later (already present in the project) Android SDK 7.0 (API Level 24) or later, installed using the SDK Manager in Android Studio

Project configuration

After cloning, you need to configure Unity to use ARCore, then, follow this steps:

  1. Go to File > Build Settings to open the Build Settings window.
  2. Select Android and click Switch Platform.
  3. In the Build Settings window, click Player Settings.
  4. In the Settings window, configure the following:
Setting Value
Player Settings > Other Settings > Rendering Uncheck Auto Graphics APIIf Vulkan is listed under Graphics APIs, remove it.
Player Settings > Other Settings > Package Name Create a unique app ID using a Java package name format.For example, use com.example.helloAR
Player Settings > Other Settings > Minimum API Level Android 7.0 ‘Nougat’ (API Level 24) or higher(For AR Optional apps, the Minimum API level is 14.)
Player Settings > XR Settings > ARCore Supported Enable

For more info please read here.

Build and run the app

  1. Enable developer options and USB debugging on your device.

  2. Connect your device to your development machine.

  3. In the Unity Build Settings window, click Build and Run. Unity builds your project into an Android APK, installs it on your device, and launches it.

  4. (Optional) Use Android logcat to view log messages or Android Device Monitor to analyze the device more comprehensively.

Usage

If you want you can download working apk.

Augmented reality and virtual reality mode

The app allow to change both face attachment and background:

You can easily take a picture and it will be saved in gallery, where the pictures can be shown andmanaged:

Also you can share and delete them.

Little demo

Thanks to

Prof. Andrea Abate and Dipartimento di Informatica of University Of Salerno.

Show all projects by alexminichino