-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructur and start dedicated pages for user tutorials (#7)
* rename filenames to reflect order * introduce editorconfig * Restructur and start dedicated pages for terminology and user tutorials * update docusaurus and add mermaidjs support * Add simplified architecture as diagram for now * finish
- Loading branch information
Showing
20 changed files
with
4,519 additions
and
4,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
indent_size = 1 | ||
|
||
[*.{css,js,json}] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
|
||
GIT_USER=$1 USE_SSH=true yarn deploy | ||
GIT_USER=$1 USE_SSH=true yarn deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Overview | ||
|
||
Stardust XR _(formerly known as Stardust)_ is an XR [display server](https://itsfoss.com/display-server) designed for Linux-based systems<!-- (possibly most unix-based too, but untested)-->.<br/> | ||
Unlike traditional display servers that focus on 2D screens, Stardust XR introduces new conventions to utilize unbounded 3D space in virtual or real environments. | ||
|
||
## Priorities | ||
|
||
- **3D Environment Focus**: While supporting 2D clients through the Wayland protocol, Stardust XR primarily aims to create and manage 3D environments. | ||
|
||
- **Standard Interfaces**: Utilizes Wayland and OpenXR for 2D and XR app integration. | ||
|
||
- **Stardust Protocol**: Implements a special protocol for: | ||
- Creating virtual objects | ||
- Developing 3D UIs around 2D apps (Panel Shells) | ||
- Handling data as Items that can represent files, Wayland surfaces, etc. | ||
|
||
- **Personal Device Interaction**: Focuses on individual user interactions rather than collaborative 3D spaces. | ||
|
||
- **Flexible Object Interaction**: Users can choose objects that best suit their current scenario, with easy setup for default configurations. | ||
|
||
## Architecture | ||
|
||
 | ||
|
||
## Projects & Components | ||
|
||
- [**telescope**](https://github.com/StardustXR/telescope): bundle most used components to have a demo environment set up | ||
- ... | ||
|
||
<!-- TODO: add more core components and projects! --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Tutorial | ||
|
||
## Setup OpenXR | ||
|
||
:::note | ||
if you have no headset or other OpenXR device, you can skip this step and start with [installing nix](#install-nix). | ||
::: | ||
|
||
### SteamVR | ||
|
||
#### Archlinux | ||
|
||
TODO | ||
|
||
#### NixOS | ||
|
||
TODO | ||
|
||
#### Others | ||
|
||
TODO: collect links for setup on different distrons | ||
|
||
### [Monado](https://monado.dev/) | ||
|
||
#### Archlinux | ||
|
||
TODO | ||
|
||
#### NixOS | ||
|
||
TODO | ||
|
||
#### Others | ||
|
||
TODO: collect links for setup on different distrons | ||
|
||
## Install nix | ||
|
||
For easy development and distribution this project uses the [nix package manager](https://nix.dev/).<br/> | ||
This allows to ensure all dependency requirements are met. | ||
|
||
:::info | ||
Make sure to have [flakes enabled](https://nixos.wiki/wiki/flakes). | ||
::: | ||
|
||
You can install nix on all common linux systems: | ||
|
||
#### Archlinux | ||
|
||
```shell | ||
# install git and nix | ||
sudo pacman -Sy git nix | ||
# enable flakes | ||
echo 'experimental-features = nix-command flakes' | sudo tee -a /etc/nix/nix.conf | ||
# enable nix daemon service | ||
sudo systemctl enable nix-daemon.service | ||
# add the current user to nix-users group | ||
sudo usermod -aG nix-users $(id -un) | ||
# reboot to apply user and service changes | ||
sudo systemctl reboot | ||
``` | ||
|
||
#### NixOS | ||
|
||
TODO | ||
|
||
#### Others | ||
|
||
TODO: collect links for setup on different distrons | ||
|
||
## Run Demo | ||
|
||
1. clone https://github.com/StardustXR/telescope | ||
2. make sure your OpenXR device works (if 2D mode is not used) | ||
3. run `nix run .` | ||
|
||
## Run wayland client | ||
|
||
```shell | ||
# run demo.mp4 video in a loop within Stardust | ||
WAYLAND_DISPLAY=wayland-0 DISPLAY= mpv Downloads/demo.mp4 --loop | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/getting-started/_category_.json → docs/02-getting-started/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"label": "Getting Started", | ||
"position": 1 | ||
"position": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Glossary | ||
|
||
- **Item**: a virtual object that represents data | ||
- **Panel Shells**: 3D UIs around 2D apps | ||
- ... |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,4 +43,4 @@ li.task-list-item > input[type="checkbox"] { | |
.gallery { | ||
margin: 0 auto; | ||
max-width: 1250px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,4 +70,4 @@ title: Roadmap | |
- [ ] Panel Item UI | ||
- [ ] Flatland | ||
|
||
More to come! | ||
More to come! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
stardustxr.org | ||
stardustxr.org |
Oops, something went wrong.