This is the Volograms SDK for Unity, in the form of a plugin. You can use this plugin to create an app that plays volograms.
Support is planned for M1 macOS and GNU/Linux builds.
The libraries are exported into the VologramsToolkit
folder. The VologramsToolkit
folder can be imported directly into Unity.
After importing the plugin into Unity, ensure that the Unity settings for each plugin are correct. For example, we don't want to use the iOS plugin in a macOS build.
There is a utility script included in the Unity package that re-imports all the libraries into Unity with the correct settings.
This can be invoked in Unity through the toolbar: Volograms > Utils > Reimport Plugins > All
.
Each platform supported has a separate project, and each project contains a README
that documents how to build its respective plugin.
When a plugin is built, it is copied to the UnityVol
folder, which can be dragged and dropped into Unity.
To build the volplayer library for iOS and macOS, you must have the Xcode Command Line Tools installed. Xcode itself is NOT necessary.
To build the volplayer library for Android, you must have the Android SDK Command Line Tools installed. Android Studio is NOT necessary.
The volplayer Windows build is a Visual Studio project, and so you must be able to build such a project, for example, through Visual Studio.
The Volograms Unity SDK uses builds of FFmpeg created from the ffmpeg-kit repo.
To start developing on the Volograms Unity SDK, clone the ffmpeg-kit
repository and follow the instructions to build FFmpeg for the platforms you want.
Next, open your terminal and add an environment variable FFMPEG_KIT
which should point to the root folder of your local ffmpeg-kit repository.
For example:
export FFMPEG_KIT="/path/to/ffmpeg-kit"
Then, all you have to do is run the build_plugin.sh
script in any of the platform folders.
Note there is currently no build_plugin.sh
script for Windows.
Copyright 2022, Volograms.
LICENSE
file for details).