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
Go to file
Leon van Kammen f3f2e9c75e fixed threejs compatibility + renamed threejs->three to help './make repos' generate repos from single source 2023-12-06 15:20:58 +01:00
.github/workflows
dist fixed threejs compatibility + renamed threejs->three to help './make repos' generate repos from single source 2023-12-06 15:20:58 +01:00
doc stable: new filters work + separated scenes + pos=world1 works 2023-11-24 17:32:53 +01:00
example fixed threejs compatibility + renamed threejs->three to help './make repos' generate repos from single source 2023-12-06 15:20:58 +01:00
src fixed threejs compatibility + renamed threejs->three to help './make repos' generate repos from single source 2023-12-06 15:20:58 +01:00
test build 2023-12-06 12:55:08 +01:00
.gitignore ignore index.blend 2023-11-21 17:40:04 +01:00
.vimrc updated vimrc 2023-11-16 14:58:51 +01:00
LICENSE
README.md tidy up make/build process 2023-11-09 11:24:30 +01:00
build.hxml
index.html updated threejs->three rename 2023-12-06 15:20:07 +01:00
make fixed threejs compatibility + renamed threejs->three to help './make repos' generate repos from single source 2023-12-06 15:20:58 +01:00
shell.nix

README.md

Actions Status

Documentation / Website

https://xrfragment.org

Getting started

Here are various ways to enhance your 3D assets/scenes with XR Fragments:

difficulty how notes
1 easiest the xrfragment.org Sandbox open 3D file (fbx/gltf) in Blender, add custom properties, and load exported files into the sandbox
2 easy hosted sandbox by forking xrfragment-helloworld Basically #1 but it will be hosted for free at your own github URL
3 developer fork xfragment-aframe-helloworld requires javascript- and aframe.io developer-knowledge
4 developer fork xfragment-three-helloworld requires javascript- and threejs developer-knowledge
5 developer++ use a parser-library below lowlevel approach, more suitable for other scenarios

available parser-implementations

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