SolarFramework / SolARUnityPlugin

DEPRECATED - A Unity plugin allowing to load SolAR pipelines
Apache License 2.0
6 stars 1 forks source link
deprecated

DEPRECATED - This repo is no longer maintained


SolARUnityPlugin

License

A Unity plugin allowing to load SolAR pipelines.
:warning: We recommend to use Unity Version 2019.3.3f1 (LTS)

Currently available pipelines are :

Samples Description
Pipeline Fiducial The SolAR Fiducial Image Marker sample shows a SolAR pipeline for augmented reality based on a fiducials markers image.
Pipeline Natural Image The SolAR Natural Image Marker sample shows a SolAR pipeline for augmented reality based on a natural image.
Pipeline SLAM Show a SolAR pipeline for augmented reality based on a SLAM (Simultaneous Localization And Mapping).

You can find SolAR Unity Sample application built (*.exe/*.app/*.apk) in SolarFramework/SolARUnitySamples.

SolARUnityPlugin offer two mods :

More details on http://solarframework.org/use/unity.

How to run

:information_source: You can find all of this workflow in video, watch SolAR Framework Overview (timecode 2min20).

How to build with pre-compiled

1° Build xpcf & SolARFramework.

2° Execute the file ./core/SolARFramework/SolARWrapper/_build.bat.

3° Build SolARWrapper & SolARPipelineManager.

4° Build necessary module (OpenCV, Tools, FBOW... depending on pipelines you want to use).

5° Build Pipelines (Fiducial, Natural Image, SLAM ...) :exclamation: as plugin :exclamation:.

6° Execute Bundle.bat to import libraries and modules in your ./Assets/Plugins and C# wrapped in your Unity project ./Assets/SolAR/Swig.

7° For SLAM add the fbow vocabularies unzip this archive and put the akaze.fbow in your ./Assets/StreamingAssets/SolAR/FBOW.

We follow this hierarchy (Unity) (only folders)

Assets
==> Objects                (3D models)

==> Plugins                (Our DLLs)

==> Scenes                 (Samples Scenes)

==> SolAR                  (everything else)
    --> Editor             (scripts User Interface in Editor)

    --> Materials          (our Unity Materials)

    --> Pipelines          (our pipelines descriptions - Novice version only)

    --> Scripts            (all our scripts Novice and Expert version)

        *NoviceVersion

        *ExpertVersion

    --> Shaders             (our shaders)

==> StreamingAssets
    -->Android              (files relative to Android support)
    -->CameraCalibration    (our calibration files)
    -->FBOW                 (include .fbow)
    -->Markers              (our markers)
    -->Pipelines            (our .xml files to configure our pipelines)

Contact

Website https://solarframework.github.io/

Contact framework.solar@b-com.com