Exporting Open Brush sketches to other apps
Open Brush sketches can be exported by clicking the ‘Export’ button found on the Labs panel. The Labs panel can be found under ‘More…’ on the Tools panel.
Each sketch exported from Open Brush creates a separate folder in Documents/Open Brush/Exports which contains the geometry in the following formats:
  • .glb (Standalone and PC)
  • .fbx (PC only)
  • .usd (PC only)
  • .json (PC only)
  • .latk (Standalone and PC)
  • .wrl (PC only)
(.glb is closely related to .gltf and most software will support both. We output binary glTF version 2)
.latk is an interchange format for 3d brush strokes: https://lightningartist.org/
The .json is a “raw” format which you can use if you need a different file format. See the Open Brush Toolkit for sample Python 2.7 scripts that convert the raw .json to .obj.
python convert_to_fbx.py "c:\Users\username\Documents\Open Brush\Exports\Untitled_1.json"
Each script has a set of command-line options that fine-tune the generated file.
The USD contains both geometry and curve information. If your DCC tool doesn’t support USD, the Open Brush Toolkit contains a Python 2.7 script that can convert the .tilt file to a Collada .dae containing the curves.

Maya

After importing the FBX file into Maya you will need to turn off the Alpha is Luminance attribute in the Color Balance section for each texture node. To see the brush colors in the viewport turn on the Display Colors attribute and set Material Blend to Multiply in the Mesh Component Display section on each mesh shape node.
To render with the vertex colors you can use the mentalrayVertexColors shader node to access the stroke color in your material.

Sketchfab

To post to Sketchfab you will need to upload the FBX file and the textures.
We are working with Sketchfab to have Open Brush import correctly, but if the strokes look wrong you can try opening the 3D Settings Editor in Sketchfab and under the Materials tab set the material properties manually.

Unity

We recommend using the Open Brush Toolkit and the .glb format. Open Brush Toolkit also understands the .fbx format.

Unity WebGL

You'll need to delete the following 2 scripts if you want to build for Unity WebGL targets: GenericAudioInputEditor.cs and GenericAudioInput.cs

Styly

To upload your work to Styly, you'll need to remove all traces of the audio-reactivity scripts in the Open Brush toolkit.
  1. 1.
    Follow the instructions for setting up Styly in Unity here: https://styly.cc/manual/unity-asset-uploader/ but stop when you get to the section about half-way through headed "Upload from Unity to STYLY"
  2. 2.
    Download the Open Brush Unity SDK unitypackage as described here: https://docs.openbrush.app/user-guide/open-brush-unity-sdk
  3. 3.
    Delete the following folders from your Unity project window:
    1. 1.
      ThirdParty/CSCore
    2. 2.
      ThirdParty/Reaktion
  4. 4.
    Delete the following files from you Unity project window:
    1. 1.
      TiltBrush/Scripts:/VisualizerAudioInput
    2. 2.
      TiltBrush/Scripts:/VisualizerManager
    3. 3.
      TiltBrush/Scripts/Editor/VisualizerManagerEditor
  5. 5.
    Also in the project window, drag the entire TiltBrush/Scripts/Gltf folder so it's inside TiltBrush/Scripts/Editor
  6. 6.
    Carry on where you left off with the Styly docs.

Command-line Exporting

To export sketches from the command line, use the --export option to specify a file or set of files to export. --export supports wildcards, and multiple files can be specified with a single --export flag. Filenames without a path are assumed to be found in the Open Brush Sketches directory.
You can override the destination folder of exports using the --exportPath flag.
We suggest you also specify the -batchmode option if you don’t want the Open Brush window to appear.
1
OpenBrush.exe --export Untitled_15.tilt Untitled_2*.tilt C:\Downloads\downloaded.tilt --exportPath C:\Temp -batchmode
Copied!
Export as PDF
Copy link
Edit on GitHub