Project

General

Profile

How do you create scenes?

Added by Scott Szretter almost 3 years ago

I see that you can use the vr craft world to lay things out, can this be saved to a gltf file or how can I create my scene files?


Replies (1)

RE: How do you create scenes? - Added by Josip Almasi almost 3 years ago

Note save button in world editor, this will save the entire world you just made into a JSON file, locally. Then there's a load button, that loads this JSON back into the scene. Classroom world shows how to use this JSON in your scenes: https://github.com/jalmasi/vrspace/blob/master/content/worlds/classroom/world.js

Generally, you can create your scene in any tool that exports GLTF.
Easiest way to start with this approach is using the template world: https://github.com/jalmasi/vrspace/tree/master/content/worlds/template
Comments are supposed to be explanatory enough.

    (1-1/1)