Auto-Hosted XR Fragment-compatible XR viewer
- download
index.glb
- edit in your favorite 3D editor (blender e.g.), and play with the embedded properties of objects (
custom property
-tab in blender)
- familiarize yourself with XR Fragments using these youtube video's and the documentation
- create/update/add gltf/fbx/stl/uszd) models (and link them using
href
orsrc
, see below)
To test modifications quickly, click the 'load 3D asset'-button in the sandbox after pressing the XRF-button:
- Press the fork button, and it will automatically host an experience at your own URL
- in the github 'Actions'-tab figure out the url(
https://yourusername.github.io/xrfragment-helloworld
e.g.) and visit it - profit!
now upload more
.glb
or.gltf
files (new.glb
e.g.):
In another scene (index.glb
e.g.) link to that asset (new.glb
) by selecting an object in blender, and add a custom href
property to it:
Or if you want to embed a scene into another, use src
instead of href
Profit! now you can click/teleport from one scene to another! (see the docs at xrfragment.org for more features)
If you don't like free hosting, then you can selfhost as well:
- https://github.com/coderofsalvation/xrfragment-aframe-helloworld
- https://github.com/coderofsalvation/xrfragment-three-helloworld
More info