a tiny specification for (viewing) 3D models (metadata) as linkable AR/VR websites. Address and Control anything inside a 3D model with W3C Media Fragments and URI Templates. Simply SURF a 3D file-verse and design for a Spatial Open Internet with the highest degree of interoperability. https://xrfragment.org
Leon van Kammen 4d68b50ede | ||
---|---|---|
.github/workflows | ||
dist | ||
doc | ||
example | ||
src | ||
test | ||
.domains | ||
.gitignore | ||
.gitmodules | ||
.vimrc | ||
LICENSE | ||
README.md | ||
build.hxml | ||
index.glb | ||
index.html | ||
make | ||
other.glb | ||
shell.nix |
README.md
A tiny specification for viewing 3D models as linkable AR/VR websites.
Address and Control anything inside a 3D model with W3C Media Fragments and URI Templates.
Simply SURF a 3D file-verse and design for a Spatial Open Internet with the highest degree of interoperability ❤
Documentation / Website
Getting started
available parser-implementations
- javascript (+example)
- javascript module
- python (+example)
- lua (+example)
- haXe (allows exporting to various programming languages)
- Godot exports to all platforms
See documentation for more info
development
Pre-build libraries can be found in /dist folder
If you really want to build from source:
$ nix-shell # nix-users: drops you into a dev-ready shell
$ ./make install # debian-users: install deps via apt-get
$ ./make build && ./make tests
NOTE #1: to rebundle the THREE/AFRAME javascripts during dev run
./make build js
NOTE #2: to regenerate the parser in various languages (via haxe), run./make build parser
Godot (>=v4.3.1)
$ ./make install godot # this installs the godot-xr-tools addon
NOTE: the godot project is in src/xrfragment/godot (open the folder in godot)