<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Faye Li on Medium]]></title>
        <description><![CDATA[Stories by Faye Li on Medium]]></description>
        <link>https://medium.com/@fayeli?source=rss-c7fa56683a30------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ik7GdXJn-MJu2rRD.</url>
            <title>Stories by Faye Li on Medium</title>
            <link>https://medium.com/@fayeli?source=rss-c7fa56683a30------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 16:55:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fayeli/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[High Fidelity Tutorial: Learn to Create a VR Tablet App]]></title>
            <link>https://medium.com/@fayeli/high-fidelity-tutorial-learn-to-create-a-vr-tablet-app-cf81af46ecfd?source=rss-c7fa56683a30------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf81af46ecfd</guid>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Faye Li]]></dc:creator>
            <pubDate>Wed, 08 Feb 2017 22:42:53 GMT</pubDate>
            <atom:updated>2017-02-08T22:42:53.265Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we’ll learn to create a tablet app for High Fidelity’s social VR platform. We’ll walk through the process of writing our sample tablet app “Gemstone Magic Maker”, which lets you spawn colorful little gemstones in VR to share with friends.</p><h4>What is a tablet app?</h4><p>Tablet apps are customizable programs running on the latest Tablet UI framework introduced to High Fidelity from <a href="https://forums.highfidelity.com/t/beta-release-33/12307">Beta Release 33</a>. While the tablet comes out-of-the-box for everyone with a couple of system apps such as Snapshot, People and Edit, the Tablet UI framework is designed to serve way beyond that. It allows developers and content creators alike to create their own apps and UI elements which can easily interact with the VR world in High Fidelity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_FXDARiL9jM4jKpAqpP2Q.jpeg" /><figcaption>We’ve moved the old HUD based UI into the tablet as apps. Following this tutorial, you’ll be able to create your own app for the tablet too.</figcaption></figure><p>And as an example to get you started, we’ll guide you through the process of writing this fun little app called “Gemstone Magic Maker”. The app gives you quick access to a collection of colorful gemstones made out of High Fidelity’s shape primitives. With a quick tap on the tablet, you can spawn out these precious stones for social VR. It’s just like magic!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88RJL5bFMG8IHvIDiqJ7sA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*_dYza8iOxRc0Y0m_wzgpKQ.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*9WYVqMzOs-7a-jFa2e4rFw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OGT9_-JcbmAxzppMrH92yA.jpeg" /><figcaption>Sharing gemstones with friend in Social VR</figcaption></figure><h4>What you’ll need</h4><ul><li>High Fidelity installed (available for free on the <a href="http://store.steampowered.com/app/390540/">Steam store</a>/<a href="https://highfidelity.io/download/">website</a>)</li><li>Basic web development experience (html/css/javascript)</li><li>Familiarly with scripting in High Fidelity is nice to have, but not required</li><li>~30 minutes to an hour depending how closely you follow along</li></ul><h4>Instructions</h4><h4><strong>Step 1: Create a JavaScript program for installing/uninstalling your app</strong></h4><p>Create a new JavaScript file with your text editor. You may name it something such as<strong> gemstoneApp.js</strong>. The example below contains all the functions you need to create an app that installs and uninstalls from the tablet. See the following comments for how each of the lines work together:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/becb11569ab158735d1825a5cfc6ce9c/href">https://medium.com/media/becb11569ab158735d1825a5cfc6ce9c/href</a></iframe><p>Note: gemstoneApp.js will be a <a href="https://wiki.highfidelity.com/wiki/Script_Types_Overview"><strong>client script</strong></a><strong> </strong>running on your High Fidelity Interface.</p><h4><strong>Step 2: Start designing your app’s UI in HTML/CSS</strong></h4><p>One of the greatest feature of the Tablet UI framework is that it allows you to design UI elements as if you are designing a web application. You can write html/css/js which will be interpreted by a web engine that works just like the Chrome browser.</p><p>The tablet screen dimension is <strong>480 x 720</strong>. So you probably want to design with that in mind (i.e. buttons sizes for small screen, text readability etc.) To help you get started, we’ve put together a <a href="https://hifi-content.s3.amazonaws.com/faye/tablet-sample-app/quick_start_template.html">quick start template</a> that you can reuse. It contains the same layout, styling and font as the main menu screen. It also has a “sticky” header bar for your app title. But of course, you can choose to make your own from scratch if you wish. High Fidelity does not prevent you from further customizing.</p><ul><li><strong>Modify from the quick start template</strong>: Here I simply changed the title and made a list of buttons for our gemstone collection.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*4wqdpwjQTVBLeWHbyBTHhQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*33KKZk2F7KQj_Fi6KTI9KA.png" /><figcaption>It only takes a few modifications in HTML going from the template to our Gemstone Magic Maker app.</figcaption></figure><ul><li><strong>Host your HTML file on the web</strong>: We’re using Amazon S3 here for the tutorial <a href="https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneMagicMaker.html">https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneMagicMaker.html</a>)</li></ul><p>Development Tips: I often like to test my UI on the browser with the Chrome Inspector tool. It’s helpful because you can live preview your app while making changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*WWKh0jRcvM6pceTiqtLYGQ.png" /><figcaption>After turning on the inspector tool, you can toggle the device tool bar (Ctrl + Shift + M). It emulates your app on a mobile device. You can set the dimension to 480 x 720 to get a sense of how it will look on the High Fidelity tablet.</figcaption></figure><h4><strong>Step 3: Load your web app on the High Fidelity tablet</strong></h4><p>In gemstoneApp.js, copy and paste a link to your web app.</p><pre>// Link to your app&#39;s HTML file<br>var APP_URL = &quot;<a href="https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneMagicMaker.html">https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneMagicMaker.html</a>&quot;;</pre><p>Type in the following function to load the app when the button is clicked.</p><pre>// When user click the app button, we&#39;ll display our app on the tablet screen<br>function onClicked() {<br>  tablet.gotoWebScreen(APP_URL);<br>}<br>button.clicked.connect(onClicked);</pre><p>Let’s see our progress so far…</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/753a37f114f8fe4abcc7133185c89f9b/href">https://medium.com/media/753a37f114f8fe4abcc7133185c89f9b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dQZ2o2LcowfRtgX3TltlYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*hypDk4Jc1ZV9XD9NrwC6Lw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*lGNri8JFhUMbPv1JEmQOIA.png" /><figcaption><strong>Running Scripts (Ctlr + J) -&gt; From Disk -&gt; Open </strong>gemstoneApp.js.<strong> </strong>After that, you can click on the Gemstone button from the tablet and load the app.</figcaption></figure><h4><strong>Step 4: Add an icon for your app</strong></h4><p>As you may have noticed, we never specified an icon for our app and the tablet defaults it to the “pencil &amp; wrench” icon that was also used for <strong>Edit</strong>. Let’s make something more appropriate for our Gemstone Magic Maker.</p><p>The recommended specs for tablet icon art is <strong>50 by 50, or square, white on transparent background in SVG file format</strong>. You may created your own from graphic design software or find online resources. This time, I went to <a href="https://thenounproject.com/">The Noun Project</a>, a site where designers create icons for everything and share under <a href="https://creativecommons.org/">Creative Commons</a>. I decided on this <a href="https://thenounproject.com/search/?q=gemstone&amp;i=9978">gemstone icon by Cengiz SARI from the Noun Project</a>. I then modified it so that the vector paths are in white and in the correct dimension.</p><p>Then, in gemstoneApp.js, we copy and paste path to the icon. Both local path or URL should work.</p><pre>// Path to the icon art for your app<br>var APP_ICON = &quot;<a href="https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneAppIcon.svg">https://hifi-content.s3.amazonaws.com/faye/gemstoneMagicMaker/gemstoneAppIcon.svg</a>&quot;;</pre><p>Reference the icon when you create the tablet button.</p><pre>var button = tablet.addButton({<br>   icon: APP_ICON,<br>   text: APP_NAME<br>});</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*SH78Q3DWnAkufSq2czU3gA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*ddZcggToXTLAoKIxXqUCKg.png" /><figcaption>Before and after we added an icon. Looking a lot better, doesn’t it?</figcaption></figure><h4><strong>Step 5: Handle the button click events via the EventBridge</strong></h4><p>Now, let’s make the gemstone buttons interact with the High Fidelity VR world. The Tablet UI framework provides a communication channel called <strong>EventBridge</strong>. It allows you to send and receive events between the client script (in our case, gemstoneApp.js) and the JavaScript in your web app (in our case, the code under the script tag of gemstoneMagicMaker.html).</p><p>Follow the example code below to see the EventBridge in action. We’re using it to handle the button clicks:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/58fad7efbb581c2a5aaa2fd02fe3b5a0/href">https://medium.com/media/58fad7efbb581c2a5aaa2fd02fe3b5a0/href</a></iframe><p>And in gemstoneApp.js, we can write the following lines to listen for the events.</p><pre>// Handle the events we&#39;re receiving from the web UI<br>function onWebEventReceived(event) {<br>   print(&quot;gemstoneApp.js received a web event: &quot; + event);<br>}<br>tablet.webEventReceived.connect(onWebEventReceived);</pre><p>Debugging Pro Tip: Use the method print(“your debug message”) to take a peek into your program’s behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*8rgdPFBvg0SZ5bTzzwggyw.png" /><figcaption>Open the script log (<strong>Developer &gt; Script Log</strong>) to see the debug messages.</figcaption></figure><h4><strong>Step 6: Make the magic happen. Create our precious little gemstones!</strong></h4><p>Finally, to the most fun part if this tutorial, we’ll create the gemstones with the <a href="https://wiki.highfidelity.com/wiki/Category:JavaScript_API">High Fidelity JS API</a>. The gemstones will be created as <strong>Entities</strong>, whose <a href="https://wiki.highfidelity.com/wiki/EntityItemProperties#Common_Properties"><strong>Properties</strong></a><strong> </strong>we can manipulate in gemstoneApp.js.</p><ul><li><strong>Calculate the position where we want to create the entity.</strong></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/13ef59c8fe066f1debe743d4d1da30ca/href">https://medium.com/media/13ef59c8fe066f1debe743d4d1da30ca/href</a></iframe><ul><li><strong>Provide more properties details (color, name, shape, etc.) for each kind of gemstones.</strong> The Entity will be created when gemstoneApp.js receives click events from each of the buttons.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5828be7362651289692cd6027df1ce13/href">https://medium.com/media/5828be7362651289692cd6027df1ce13/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*mIeH3T1BQLG8G0r6LBoihA.gif" /><figcaption>Congratulations! You made it to the end!</figcaption></figure><h3>We’re Done!</h3><p>And there we go - we’ve covered all the basics of writing a tablet app for High Fidelity. For your reference, the full example project is available below:</p><ul><li><a href="https://github.com/fayeli/hifi_scripts/blob/master/gemstoneMagicMaker/gemstoneApp.js"><strong>gemstoneApp.js</strong></a></li><li><a href="https://github.com/fayeli/hifi_scripts/blob/master/gemstoneMagicMaker/gemstoneMagicMaker.html"><strong>gemstoneMagicMaker.html</strong></a></li></ul><p>The Gemstone Magic Maker app will also be made available for download on the <a href="https://highfidelity.io/marketplace"><strong>Marketplace</strong></a> soon as well.</p><h3>Next Steps</h3><p>If you have any questions about this tutorial, please don’t hesitate to ask. We’re always happy to help! Excited to see what kind of tablet apps you will create!</p><p><strong><em>Some ideas for you to explore:</em></strong></p><ul><li>My Quick Spawner: An app that spawns your creations (<a href="https://medium.com/@fayeli/high-fidelity-tutorial-how-to-share-tilt-brush-artwork-in-social-vr-70b293b33093#.ne8jez8du">Tilt Brush art</a>, <a href="https://twitter.com/michellekenobi/status/829416153227292672">3D models</a>, or <a href="https://twitter.com/fayeliVR/status/826965961047678976">JSON of entities</a>) to share with friends in social VR</li><li>VR Helipoter Remote Controller: Build an app to fly <a href="https://clara.io/library?query=helicopter">helicopters</a> (or drones!) in VR.</li><li>HiFi Notepad: Note taking tablet app in HiFi so you can quickly write down important info (e.g. email of this cool person you meet, personal reminders, bug report, grocery list, link to adorable animal GIFs) while hanging out in VR.</li><li>Or just about anything your imagination takes you. Have fun with High Fidelity Javascript API and the tablet framework!</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf81af46ecfd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[High Fidelity Tutorial: How to Share Tilt Brush Artwork in Social VR]]></title>
            <link>https://medium.com/@fayeli/high-fidelity-tutorial-how-to-share-tilt-brush-artwork-in-social-vr-70b293b33093?source=rss-c7fa56683a30------2</link>
            <guid isPermaLink="false">https://medium.com/p/70b293b33093</guid>
            <category><![CDATA[htc-vive]]></category>
            <category><![CDATA[oculus-rift]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Faye Li]]></dc:creator>
            <pubDate>Thu, 12 Jan 2017 00:22:52 GMT</pubDate>
            <atom:updated>2017-03-07T00:24:32.533Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we’ll be walking through the process of sharing artwork created in Tilt Brush to the social VR platform of High Fidelity. You’ll learn to export a FBX model from the Tilt Brush app, import it into High Fidelity, and share with others in VR.</p><h4>Why share your artwork in Social VR?</h4><p>Because it is super fun! Sharing your VR artwork as a screenshot, GIF or video is cool and all, but sharing it in social VR takes the experience to a whole new level. Others will be able to directly interact with your piece in virtual reality. They can walk around it, play with it, and view it up close as if they are in the same room as you and your artwork. It’s a very fun and intuitive way to show off your VR creation.</p><h3>Michelle Osorio @ VR on Twitter</h3><p>Oooooh! @fayeliVR made a cupcake in @tiltbrush and imported it into @highfidelityinc just now. YUM! Hehe. #VR https://t.co/sP3opuVr1U</p><p>If you’re still not convinced, here’s a video of myself (the blue person) sharing my cupcake I drew in Tilt Brush with my friends while hanging out in VR. Fun times!</p><p>Now, let’s get into the details of how to make this happen.</p><h4>What you’ll need:</h4><ul><li>VR Setup with Vive Controllers</li><li>Tilt Brush installed (available on the <a href="http://store.steampowered.com/app/327140/">Steam store</a>) and doodling experience</li><li>High Fidelity installed (available for free on the <a href="http://store.steampowered.com/app/390540/">Steam store</a>/<a href="https://highfidelity.io/download/">website</a>)</li><li>15 - 20 minutes</li></ul><h3>Instructions</h3><p><strong>Step 1: Create your artwork in Tilt Brush</strong></p><p>Open the Tilt Brush app if you haven’t already. Start a new sketch as you normally would. Start with a outline sketch, or just go for free form doodling. Draw a lively creature, paint a terrain of rolling hills, or create anything your heart desires. The only limitation is your imagination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*5GRbN84xlejgUCadB2VLIA.gif" /><figcaption>Construction of my cupcake in Tilt Brush</figcaption></figure><p>There is, however, a catch here. <strong>You might want to stick with the more basic brushes.</strong> This is because Tilt Brush and High Fidelity, the social VR platform we’re exporting to, are two different applications running two different graphics rendering engines.</p><p>So, to save you some time, I did some palette swatch test and here’s my recommendations:</p><ul><li><strong>Avoid ember, smoke, snow or any particle brushes. </strong>Unfortunately, many of these special effects brushes just don’t port well into High Fidelity. However, High Fidelity does provide a built-in particle system. It is definitely a possibility to add in more graphics effects as a final touch after you import your artwork into High Fidelity.</li><li>If you’d like your artwork to look as similar as possible between two apps, I recommend using <strong>Wire brush for volume</strong>, and <strong>Marker brush for flat, simple strokes</strong>.</li><li>Instead of using the Highlighter brush or Light brush, <strong>use light colors (such as white) for highlights. </strong>Going back to basics is always a good idea. Emissive brushes are fun, but you’d be surprised how much you can do even without them.</li><li><strong>Play around with changing brush sizes and colors. </strong>Since we won’t be able to get much variations by switching brushes (see palette below), I find it most fun by simply switching color and brush sizes. Part of the fun is to experiment with what you’ve got, I suppose. (:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y74CUhIgQ64TnneEzdPylQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ed-jFghcAn-ZGTVoRpkp-A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YRv_yxzmzcbm6jA_OJ_Kjw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QnFSa75ioVLH8S5qEyAi-Q.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCXu3LTXYgUepZQQkBdSpA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e3elaY-aKGu17I1NVt43Vg.jpeg" /><figcaption>Palette Rendering Comparison (Left: taken in Tilt Brush, Right: taken in High Fidelity)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJDImYPFuJYyguZArd6sWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8oRhWU7GMms-noAfIY21pQ.jpeg" /><figcaption>My cupcake rendered in Tilt Brush (top) and in High Fidelity (bottom)</figcaption></figure><p>It’s unfortunate that some of these well-loved brushes aren’t readily available right now. On the bright side though, there is still a lot room for you to create just from the varying brush sizes and color combos! I drew my cupcake using the basic brushes from the first palette, and I was happy with the result. No doubt, there is a loss in details of the paint texture, but I’m still getting the entire geometry I created from Tilt Brush. As someone who isn’t very skilled in traditional 3D modelling software, this is a big step forward. It feels pretty awesome to be able to create my own 3D asset as easy as doodling!</p><p>Besides, due to the open source nature of High Fidelity’s software, I can totally see someone (maybe even myself, hehe) stepping in to extend the rendering capabilities if we gather enough interest.</p><p><strong>Step 2: Export as a FBX model</strong></p><p>Once you’re happy with your creation, you may export your sketch into a 3D model so that other 3D software can understand it. In our case here, this will be a .fbx file which Tilt Brush has export support for.</p><p>Tilt Brush’s export button is a bit hidden under its control (<strong>Tools &gt; More… &gt; Lab &gt; Export</strong>). To find it, you’ll need to first switch to the Tools panel (from your palette hand), click “More…”, which brings up a dialog window. On the top left, you’ll find a “Lab” icon that looks like a flask. Click on that, and you’ll see another dialog window pop up. On there, click “Export” which has an icon of a computer screen and arrow. After that, in a few seconds, you should get a prompt saying export successful. Now, your job in Tilt Brush is done and you may take your headset off.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZwE5EGEQ0cQ8juXfIQjyvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WNV53G9DMne9qBjMdkCH7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DuSXyaF4NFyJxfIMaYC6lg.png" /><figcaption>Exporting in Tilt Brush: Tools &gt; More… &gt; Lab &gt; Export</figcaption></figure><p>At this point, Tilt Brush should have automatically created a folder for your artwork in <strong>Documents/Tilt Brush/Exports</strong>. It contains a bunch of files including a JSON file, some brushes textures, and the FBX file which we’ll use to carry on with this tutorial.</p><p><strong>Step 3: Host the FBX model</strong></p><p>The next thing we’ll do is to host this FBX model on a publicly accessible server. Personally, I serve my files on the Amazon S3 server I get from work which really makes hosting super stress-free. It’s a nice slice of the cloud and I don’t have to worry about it.</p><p>If your work or school do not provide any hosting, you may also explore other hosting service or run your own server. As long as you get a link to the FBX file, you may carry on to the next step. For the sake of this tutorial, I’ll be proceeding with my little cupcake (available here: <a href="https://hifi-content.s3.amazonaws.com/faye/tiltbrush-exports/Cupcake.fbx">https://hifi-content.s3.amazonaws.com/faye/tiltbrush-exports/Cupcake.fbx</a>).</p><p>Note: this might be a good time to rename your untitled FBX model to something that makes human sense (:</p><p><strong>Step 4: Import to High Fidelity</strong></p><p>There are a couple ways to import a model into High Fidelity, depending if you meant to have your creation out and shared for long term or short term in the social VR space. For now, I’ll be outlining the workflow that I find the quickest and easiest, sort of an instant share process.</p><p>The place that we’ll be sharing our artwork is the “Welcome” area in High Fidelity. In case you are not familiar with High Fidelity, High Fidelity (or HiFi for short) is an open source software building the foundation of a multi-user social VR platform. You can share your 3D creations, explore VR content, and interact with other technology enthusiasts. The “Welcome” area is the common shared space that all users pass through, making it the perfect place to showcase your VR artwork!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QAgH-DL9WuswwPKrPPrR9A.png" /><figcaption>Some screenshots of the High Fidelity Welcome area</figcaption></figure><p>After launching the High Fidelity main app (aka Interface), you will be guided through a tutorial if this is your first time logging in. After learning the basic controls, you should be directed to the Welcome area where you might meet other users or greeters who are always super friendly and enthused to help you if you ever get stuck on anything.</p><p>Now, to bring in your Tilt Brush art in Welcome you’ll first need to turn on “Advanced Menu”. Don’t be alarmed by the word “advanced”. This is actually a very simple step that’ll let you do so much with High Fidelity. Simply click (on the top task bar)<strong> Settings &gt; Advanced Menus.</strong> Make sure it is checked and you’re good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*0z-4ShSzaZUkGzL00OEN7A.png" /><figcaption>Check “Advanced Menus” under Settings on the top task bar</figcaption></figure><p>Next, we’ll import the model by running a few quick lines of JavaScripts. Again, don’t be afraid even if you don’t have any previous coding experience. This is going to be as simple as copying-pasting some texts.</p><p>Open the scripting console by clicking <strong>Edit &gt; Console… </strong>This will bring up a blank window with a flickering input cursor which allows you to run JavaScript commands. (Try typing <strong><em>print(“Hello World!”); </em></strong>and hit enter. It’ll “echo” back at you like a command line tool, or a echoing cave if you’d like to put it that way.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*02zSjParKZoXgm0NG91pUw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*_R82KBGO1dEV4HuAQ1tuVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*W265ZTmZUv6EvJyUC0wC6w.png" /><figcaption>Open Scripting Console and try running some JavaScript in it. It doesn’t bite.</figcaption></figure><p>When you’re comfortable with using the scripting console, you can run the following lines to import the FBX model. Replace the modelURL with the URL you got from Step 3 and you’d be importing your own Tilt Brush artwork instead of my cupcake!</p><pre><strong>var</strong> position = Vec3.sum(MyAvatar.position, Quat.getFront(MyAvatar.orientation));</pre><pre><strong>var</strong> properties = {<br>   type: &quot;Model&quot;,<br>   position: position,<br>   modelURL: &quot;https://hifi-content.s3.amazonaws.com/faye/tiltbrush-exports/Cupcake.fbx&quot;<br>};</pre><pre><strong>var </strong>entityID = Entities.addEntity(properties);</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*4RhslLk0QQ7xyQemYNJ0vg.gif" /><figcaption>Success! We brought our cupcake made in Tilt Brush into High Fideliy for social VR!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*M4L-8eycYQpyojIpLe7X0A.gif" /><figcaption>Our friends in High Fidelity love it! Yay!</figcaption></figure><p>Always a good idea to clean up after yourself - you can delete your artwork from the Welcome area by running the following line.</p><pre>Entities.deleteEntity(entityID);</pre><p>If you don’t delete it yourself, the Welcome area has a resetting mechanism and anything you imported will be cleaned up about every 2 hours. It is just so that this common hang out doesn’t get too cluttered. You will get an alert before it happens. Meanwhile though, you can invite friends to come hang out and check out your Tilt Brush art at hifi://welcome!</p><h3>Final Words</h3><p>As it was mentioned earlier, there are some constraints as for the rendering of brushes right now, but I definitely still think it is very fun to be able to share Tilt Brush artwork in a social VR setting. I hope you enjoy this tutorial and find it helpful to your VR creative process. If you run into any trouble following this tutorial, have any questions in general, or just want to share your success following this tutorial, feel free to leave a comment here or message me on Twitter @fayeliVR. I’d be more than happy to help. Can’t wait to see what you will create in VR!</p><h3>Further Discovery</h3><ul><li><a href="https://blog.google/products/google-vr/introducing-tilt-brush-artist-residence-program/">Google Launches Tilt Brush Artist In Residence Program</a> — Get inspired by these talented artists and their amazing Tilt Brush artwork.</li><li><a href="https://blog.highfidelity.com/blog/2016/4/8/hosting-content-for-high-fidelity">High Fidelity Blog: Hosting Content for High Fidelity</a> — Learn about the many approaches to hosting and sharing your VR creations.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70b293b33093" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>