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:
- Janus native, download here for windows/linux
- Vesta account, sign up here
- Some 3D models such as (.dae, .obj, .gltf, .fbx)
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.
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.
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
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/