Procedure to enable FBX output(en)
Notice
- This document has been translated from the Japanese version
- There may be errors in the text.
- Original /TiltBrush/Tips_how_to_support_fbx_ja
- The contents of this document are subject to no support and no warranty.
Prep.
Advance to the point where you can run open-brush on Unity.
Get the source code for com.autodesk.fbx
- https://github.com/Unity-Technologies/com.autodesk.fbx/releases/tag/3.0.1-preview.1 external_link
- Confirmed to work with
3.0.1-preview.1.
- Confirmed to work with
- Put it in an obvious path.
- Use
C:\Tools\src\com-autodesk-fbxas an example
- Use
Install Visual Studio 2017 (Community)
-
https://visualstudio.microsoft.com/ja/vs/older-downloads/ external_link
-
Requires
C# SDK,C++ SDK, andUniversal Windows App Development Tools.
Install Cmake.
- https://cmake.org/download/ external_link
- No problem with the latest Windows installer.
- Confirmed to work with
cmake-3.19.4-win64-x64.msi. - Make sure to add PATH during installation (Current User or System Wide).
Install swigwin-3.0.12
-
http://www.swig.org/download.html external_link
swigwin-3.0.12.zip.- You need to use
3.0.12.
-
After downloading, move the file to an understandable path and pass the PATH
- Use
C:\Tools\swigwinas an example - No problem with user environment variables
- https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/ external_link
- Use
Install Python
- https://www.python.org/downloads/ external_link
- Check
Add Python 3.9 to PATH.
- Check
Install FBX SDK.
- https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-0 external_link
- Use
FBX SDK 2020.0.1 VS2015.
- Use
Install git.
- https://git-scm.com/ external_link
- Check
Git from the command line and also from 3rd-party software.
- Check
TiltBrush compatible corrections.
- Copy
Support/fbx/tilt_brush.ifrom the TiltBrush repository into theSourcesdirectory ofcom.autodesk.fbx. - Open
Sources/fbxsdk.iand add%include "tilt_brush.i"under the line%include "fbxtemplates.i".
Build
- Open a command prompt and navigate to the directory containing the
com.autodesk.fbxsource code. - run
python build.py.
Enable FBX support on TiltBrush
- Copy
com.autodesk.fbxfrombuild/installtoPackagesin TiltBrush.
- add
;FBX_SUPPORTED;FBXSDK_RUNTIMEto `Scripting Define Symbols
- run
Tilt/Build/Do Build