A simple importer for Unity to load Autodesk Forge SVF models in runtime.
It has been developed using the Forge-Convert-Utils package. Most of this code is only Typescript to C# adaptation and the majority of the SVF reading logic is preserved.
This library only works with local SVF files.
-
Download or clone this repo
-
Download your SVF using Forge-Convert-Utils or Extract-Autodesk. Samples can downloaded from Forge-RCDB Gallery
-
Put SVF files into your Unity project (StreamingAssets folder for exemple)
-
Create an instance of the
ForgeSvfImporter
and load the model with theReadSvf
method
ForgeSvfImporter svfImporter = new ForgeSvfImporter();
svfImporter.ReadSvf(svf-model-path);
This project has been developed under Unity 2019.4.23f1. It should work on newer versions of Unity but not tested yet.
This project is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Unity is a registered trademark of Unity Technologies
Forge is a registered trademark of Autodesk
Alexandre Piro
Piro CIE