Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (25 sloc) 2.92 KB

Vesta Tutorial: Decentraland

Decentraland is a VR platform powered by Ethereum blockchain and in this guide you will learn an alternative way to build content for it that takes advantage of the powerful collaboration and real-time editing features of JanusVR.

This tutorial follows after the Vesta Basics guide. It is recommended to read the entire tutorial before you start!

You will need:


Step 1: Clone the Template

Login to Vesta and clone the single parcel template here: https://vesta.janusvr.com/guide/dcl-template

Then launch that site with JanusVR and start building on it by drag n' dropping links into janusvr (can be anything: Obj, Collada, GLTF, mp3, images) into your scene either collaboratively with others or solo. Make sure edit mode is enabled in your settings first! You can view the Vesta Basics guide for more help with this part.

Scene constructed in Janus within the red line boundaries


Step 2: Optimize in Blender

This step is potentially optional but a good step to learn nontheless. If you go over triangle limit or are using non-GLTF files, use FireVR to import a scene from the URL into Blender to optimize and convert the models to GLTF.

FireVR import of the sample, you can also upload to IPFS or locally

Once your scene is compatible with the scene limitations of DCL, export the files to gltf with the option Format: glTF Embedded. Upload this model somewhere (such as Vesta inventory), clone this url, and put the link to the gltf in the custom settings on the right.


Step 3: Convert to DCL

If you have a paid membership on Vesta you are given early access to the DCL converter. To use it, first go to the Vesta site for the scene you wish to convert and press the hamburger icon on top left

Preview of the new convert to DCL which downloads typescript


Step 4: Preview in DCL

This step is straight forward if you already have the SDK installed. Move the game.ts you downloaded from Vesta into the src folder in your working directory (can overwrite the current file if there is one) then hit dcl start -b. For more info see here: https://docs.decentraland.org/getting-started/preview-scene/

Decentraland preview