Procedure to enable FBX output(en)

Notice

  • This document has been translated from the Japanese version
  • 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

Install Visual Studio 2017 (Community)

Install Cmake.

  • https://cmake.org/download/ 
    • 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

Install Python

Install FBX SDK.

Install git.

TiltBrush compatible corrections.

  • Copy Support/fbx/tilt_brush.i from the TiltBrush repository into the Sources directory of com.autodesk.fbx.
  • Open Sources/fbxsdk.i and add %include "tilt_brush.i" under the line %include "fbxtemplates.i".

Build

  1. Open a command prompt and navigate to the directory containing the com.autodesk.fbx source code.
  2. run python build.py.

Enable FBX support on TiltBrush

  1. Copy com.autodesk.fbx from build/install to Packages in TiltBrush.

image.png

image.png

image.png

  1. add ;FBX_SUPPORTED;FBXSDK_RUNTIME to `Scripting Define Symbols

image.png

  1. run Tilt/Build/Do Build

image.png