xrfragment/README.md

67 lines
2.2 KiB
Markdown
Raw Normal View History

2023-03-31 19:53:23 +02:00
<link rel="stylesheet" href="doc/style.css"/>
2023-03-31 19:21:31 +02:00
<link href="https://fonts.cdnfonts.com/css/montserrat" rel="stylesheet"/>
2023-03-31 19:18:48 +02:00
2023-03-31 17:49:08 +02:00
[![Actions Status](https://github.com/coderofsalvation/xrfragment/workflows/test/badge.svg)](https://github.com/coderofsalvation/xrfragment/actions)
2023-08-08 15:14:23 +02:00
<img src="https://xrfragment.org/example/assets/logo.png" width="200"/>
2024-04-16 17:27:11 +02:00
A tiny specification for viewing 3D models as linkable AR/VR websites.<br>
Address and Control anything inside a 3D model with [W3C Media Fragments](https://www.w3.org/TR/media-frags/) and [URI Templates](https://www.rfc-editor.org/rfc/rfc6570).<br>
<br>
![](https://coderofsalvation.github.io/xrfragment.media/images/metadata.jpg)
<br>
Simply SURF a 3D file-verse and design for a Spatial Open Internet with the highest degree of interoperability ❤
# Documentation / Website
2023-05-23 11:30:39 +02:00
2023-08-08 13:21:22 +02:00
https://xrfragment.org
2023-03-09 19:58:08 +01:00
2024-04-16 17:27:11 +02:00
![](https://coderofsalvation.github.io/xrfragment.media/images/nocode.jpg)
2023-08-08 15:14:23 +02:00
2024-04-16 17:27:11 +02:00
# Getting started
2023-08-08 15:14:23 +02:00
2024-04-16 17:27:11 +02:00
![](https://coderofsalvation.github.io/xrfragment.media/gettingstarted2024.mp4)
2023-08-08 15:14:23 +02:00
2024-04-16 17:27:11 +02:00
https://xrfragmenorg
2023-08-08 15:14:23 +02:00
# available parser-implementations
2023-03-31 13:25:53 +02:00
2023-05-23 11:30:39 +02:00
* [javascript](dist/xrfragment.js) [(+example)](test/test.js)
2024-04-16 17:27:11 +02:00
* [javascript module](dist/xrfragment.module.js)
2023-05-23 11:30:39 +02:00
* [python](dist/xrfragment.py) [(+example)](test/test.py)
* [lua](dist/xrfragment.lua) [(+example)](test/test.lua)
2023-08-08 15:14:23 +02:00
* [haXe](src/xrfragment) (allows exporting to various programming languages)
2023-05-23 11:30:39 +02:00
See documentation for more info
2023-03-09 19:58:08 +01:00
# development
2023-05-23 11:30:39 +02:00
Pre-build libraries can be found in [/dist folder](dist)<br>
If you really want to build from source:
2023-03-09 19:58:08 +01:00
```
2023-11-09 11:24:30 +01:00
$ nix-shell # nix-users: drops you into a dev-ready shell
$ ./make install # debian-users: install deps via apt-get
$ ./make build && ./make tests
2023-03-09 19:58:08 +01:00
```
2023-11-09 11:24:30 +01:00
> 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`
2023-12-07 16:05:42 +01:00
2024-05-08 09:40:09 +02:00
# Godot (>=v4.3.1)
```
$ ./make install godot # this installs the godot-xr-tools addon
```
> NOTE: the godot project is in [src/xrfragment/godot](./src/xrfragment/godot) (open the folder in godot)
2023-12-07 19:53:09 +01:00
# Credits
2023-12-07 16:05:42 +01:00
<br>
<a href="https://nlnet.nl" target="_blank">
2023-12-07 19:52:21 +01:00
<img src="https://nlnet.nl/image/logo_nlnet.svg" width="100"/>
2023-12-07 16:05:42 +01:00
</a>