Links

Exporting video

The Camera Tool

The standard way to export video is using the Camera Tool within Open Brush itself.

Settings that affect video render

There are several useful settings you can change in the config file.

Rendering ‘Offline’ videos

When you create a video from inside Open Brush using the Camera tool and you've set "SaveCameraPath" to True in the Open Brush config file - Open Brush will create a Windows batch file alongside the video (In Documents\Open Brush\Videos) that you can run to re-render the video at a higher resolution. For example:
Untitled_13_00.mp4
Untitled_13_00.HQ_Render.bat
Double-clicking the ".bat" batch file will give you several options for re-rendering your video:
Press the number corresponding to the format you prefer. It will then launch Open Brush, which will reload your sketch and render the video. Once it is done, Open Brush will exit. As rendering at higher quality tends to affect the framerate, it is suggested that you do not wear your headset until this process completes.
“No Quick Load” option (#6) will forego quick loading of the sketch and will force it to load at normal speed. It is recommended that the time spent recording should exceed the normal loading time of the sketch or else the video may end before the sketch completes loading.

Video Camera Paths

Rendering offline videos is achieved by saving off the path the camera took when the video was taken, and then re-using that to recreate the video. The camera path is saved off in ASCII USD (Universal Scene Description) format, so if you have an application that can read and write USD, you may be able to use it to edit camera paths. Camera paths can also be combined with USD exports from Open Brush, to exactly recreate how the camera moved through the scene.
If you want to render a camera path from the command line directly, rather than using the batch file detailed above, you can use the following:
Openbrush.exe --renderCameraPath <path/to/camerpath.usda> <path/to/sketchfile.tilt>

Changing Eye Scale on ODS 360 videos

When you render an ODS video, you may find things like the floor is missing, or parts of your objects get clipped off.
The reason this happens is that it’s often easier to scale down your sketch to make it easy to move the camera when you take your original video, but when you render out an ODS file, the objects are too close to the camera.
To fix this, you can change a value in the .usda file. Open it up in your favorite text editor and look at around line 30 for:
uniform float eyeScale = 1
If you reduce this value, the render will feel bigger, and the camera is less likely to clip with parts of your sketch. A good value to try out is:
uniform float eyeScale = 0.1
Then you can just try re-rendering with the batch file.

Exporting 360 videos / Offline Video Rendering

Videos can be rendered ‘offline’ faster and at a much higher resolution and framerate than using the internal Multicam tool
  1. 1.
    Editing Open Brush cfg file
  2. 2.
    Go to C:\Documents\Open Brush\Open Brush.cfg
  3. 3.
    Under "Video" add the flag "SaveCameraPath": true,
  4. 4.
    Save Open Brush.cfg
  5. 5.
    Camera Setup
  6. 6.
    Load the sketch you would like to render
  7. 7.
    Find a good spot from which you would like to capture your 360 video
  8. 8.
    Be sure to look around in all directions to make sure no objects are too close to the point of capture
  9. 9.
    Save your sketch
  10. 10.
    Record your video by moving camera or keeping camera stationary
  11. 11.
    After saving, exit Open Brush
  12. 12.
    Rendering ****Note: When you create a video from inside Open Brush using the Camera tool with configuration "SaveCameraPath" flag set to true, Tilt Brush will create a Windows batch file alongside the video (In Documents\Open Brush\Videos) that you can run to re-render the video at a higher resolution
  13. 13.
    Go to C:\Documents\Open Brush\Videos . There should be .usda, .bat and video file which corresponds to the .tilt file
  14. 14.
    Double click on .bat file
  15. 15.
    If you run that batch file a command window will appear giving you several options for re-rendering your video:
    Press a number to get whichever format you prefer. It will then launch Open Brush, which will reload your sketch, and re-render the video. Once it is done, Open Brush will exit. As rendering at higher quality tends to affect the framerate, it is suggested that you do not wear your headset while this process completes.
  16. 16.
    Once the render is complete, it will pop open the “VRVideos” folder which should contain an video file with your stereo render.
  17. 17.
    Converting into 360 video 1. Download the 360° Video Metadata app for Mac or Windows. The dialog should look like this:
    2. Un-zip the file, then open the 360 Video Metadata app. If you're on a Mac, you may need to right-click the app and then click Open. 3. Select the video file. 4. Select the checkbox for My Video is stereoscopic 3D (top/bottom layout) 5. Click Inject Metadata 6. Enter a name for the file that will be created. 7. Save the file. A new file will be created automatically in the same location as the original file.
  18. 18.
    Uploading to Youtube
    1. 1.
      Upload the new “injected” video file to YouTube
    2. 2.
      Note that it takes YouTube some additional time to process 360 videos, until this process is finished, you may see the raw over/under and the “View in Cardboard” option will not be available.
    3. 3.
      Once processing is done, you should see this icon when viewing the video on your phone, indicating that it’s ready to be viewed in VR: