Open Brush File Format
The .tilt file format can also be parsed by the Open Brush Toolkit.
A .tilt is a zip-format file with a prepended header:
Inside the zip, the strokes are stored in a custom binary format in a file, "data.sketch":
The orientation is that of the controller. Curve and surface frames must be reconstructed.
Stroke extensions:
0
uint32 bitfield. Bit 0: IsGroupContinue
Control point extensions:
1
uint32 timestamp, in milliseconds
Also inside the zip is "metadata.json", the metadata for the sketch in json format. Here are some of the fields that can be found there:
"Authors": an array of author names.
"SceneTransformInRoomSpace": the transform of the scene relative to the room.
"ThumbnailCameraTransformInRoomSpace": the transform used to generate the sketch as an array of:
translation (array of 3 floats)
rotation quaternion (array of 4 floats)
scale (single float)
"ModelIndex": an array of models imported into the sketch. Each model can have the following:
"FilePath": location of the model
"PinStates": an array to indicate whether each instance of the model should initially be pinned.
"RawTransforms": an array of transforms for each instance of the model.
Last updated