Giter Site home page Giter Site logo

superfishingman / tiltbrushdisplay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thijsvb/tiltbrushdisplay

0.0 1.0 0.0 12.88 MB

Ways to display Tilt Brush sketches outside of the HTC Vive

License: GNU General Public License v3.0

GLSL 35.04% Processing 64.96%

tiltbrushdisplay's Introduction

TiltBrushDisplay

Ways to display Tilt Brush sketches outside of the HTC Vive

##Exporting from Tilt Brush Google has some documentation and some more indepth release notes on how to export files from Tilt Brush. The file types are:

  • Video's
  • GIF's
  • 2D pictures
  • .fbx files
  • .obj files
  • Tilt Brush's own JSON format file

Google's documentation doesn't say anything about the amount of information stored in these files. But I found that there is no .mtl campanion file with the .obj file. However, when exporting it does also export textures in the form of .png files for every brush (that has texture) used.

##Importing elsewhere Video's, GIF's and pictures are fairly easy to display in a lot of environments. However, they don't capture te full experience of Tilt Brush art, because you can't interact with them in 3D. So I will try to give a better representation in the following ways.

###Importing in Sketchfab Sketchfab is a website for sharing 3D models. It has a great viewer for exploring 3D models and embed code to display models on other websites. There are two options for uploading:

  • Just the .fbx file
  • The .fbx file together with .png textures in a zip folder

The latter will render your model with textures. However it applies one texture to everything, so it only really works for models that use one brush.

Here is an example I made, trying out all the different Tilt Brush brushes.

###Importing in Processing Importing an .obj file is fairly simple, but it doesn't have a texture. According to the OBJ Wikipedia page it stores UV mapping information, so it should be able to get a texture when we add one. However, there's a problem in Processing; you can't apply textures to loaded shapes. Forum thread about the problem that might be useful.

There's also the option of using the shaders Google provides in their release notes.

However, I don't think figuring more out for Processing will be usefull, as I imagine using Unity or 3D modeling software like Blender will be more practicle for most cases.

###Importing in Blender Blender will take either the .obj or the .fbx file. But the .fbx file has to be converted to binary FBX (Google's python script create ASCII FBX). Luckily there is some free Autodesk software for doing just that. I haven't tried adding textures yet.

###Importing in Unity As mentioned in the release notes, you can import the .fbx file in Unity. Adding the shader and the textures created on export is also possible. Appearently a good way to do it is to first import the files in Houdini, see this tutorial.

Google recently released their Tilt Brush Unity SDK! Following their documentation, you can import sketches into Unity and they'll look just like they did in Tilt Brush!

tiltbrushdisplay's People

Contributors

thijsvb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.