From 4596030769bfa8426b24a05ebd07e54f41856f95 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 16 Dec 2022 17:45:56 +0000 Subject: [PATCH] deploy: befa3b5179856274718aea390329f8d323b8407f --- 404.html | 4 ++-- assets/js/{c4f5d8e4.78ce0b79.js => c4f5d8e4.5ce337e7.js} | 2 +- .../{runtime~main.a6e8bf83.js => runtime~main.77d8f7a6.js} | 2 +- docs/getting-started/install.html | 4 ++-- docs/getting-started/making-clients.html | 4 ++-- docs/getting-started/overview.html | 4 ++-- docs/getting-started/starting.html | 4 ++-- docs/getting-started/tech-overview.html | 4 ++-- index.html | 6 +++--- roadmap.html | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) rename assets/js/{c4f5d8e4.78ce0b79.js => c4f5d8e4.5ce337e7.js} (74%) rename assets/js/{runtime~main.a6e8bf83.js => runtime~main.77d8f7a6.js} (85%) diff --git a/404.html b/404.html index ee1e41fa..89eed1e1 100644 --- a/404.html +++ b/404.html @@ -5,13 +5,13 @@ Page Not Found | Stardust XR - +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- + \ No newline at end of file diff --git a/assets/js/c4f5d8e4.78ce0b79.js b/assets/js/c4f5d8e4.5ce337e7.js similarity index 74% rename from assets/js/c4f5d8e4.78ce0b79.js rename to assets/js/c4f5d8e4.5ce337e7.js index 57328f30..ff45792e 100644 --- a/assets/js/c4f5d8e4.78ce0b79.js +++ b/assets/js/c4f5d8e4.5ce337e7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[195],{6414:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});var n=a(7294),r=a(6010),i=a(6016),l=a(6742),s=a(2263),o="heroBanner_etFc",c="buttons_+YzY",m=a(7462),u="features_n4mZ",d="featureImg_G7DY",g=[{title:"Flexible",image:"/img/icon.gif",description:n.createElement(n.Fragment,null,"Stardust allows developers to make XR widgets or interfaces and run them among others. You don't have to make a whole system UI, just a few pieces.")},{title:"Streamlined",image:"https://stereokit.net/img/StereoKitLogoLight.svg",description:n.createElement(n.Fragment,null,"Stardust is made using ",n.createElement("a",{href:"https://stereokit.net"},"StereoKit"),", an XR application/rendering toolkit allowing for a fast and lightweight display server.")}];function p(e){var t=e.image,a=e.title,i=e.description;return n.createElement("div",{className:(0,r.Z)("col col--6")},n.createElement("div",{className:"text--center"},n.createElement("img",{src:t,className:d,alt:a})),n.createElement("div",{className:"text--center padding-horiz--md"},n.createElement("h3",null,a),n.createElement("p",null,i)))}function h(){return n.createElement("section",{className:u},n.createElement("div",{className:"container"},n.createElement("div",{className:"row"},g.map((function(e,t){return n.createElement(p,(0,m.Z)({key:t},e))})))))}var f=a(615),E=[{image:"img/carousel/multipleclients.jpg",alt:"A scene showing multiple widgets, including sliders like an equalizer and a virtual touchscreen.",caption:"Multiple objects working independently all at once."},{image:"img/carousel/spatialcode.png",alt:"To the left, a code editor showing Stardust Fusion creating several models and transforming them on the logicStep. To the right is the program running in Stardust.",caption:"Code vs output of the Spatial Fusion demo."},{image:"img/carousel/panels.png",alt:"A series of application windows as 3D panels similar to small wooden boards in proportions with a Panasonic CRT TV model in the center showing Agregore (the browser).",caption:"Panels for wayland apps and a CRT panel shell for XR UI."}];function v(e){var t=e.image,a=e.alt,r=e.caption;return n.createElement("div",null,n.createElement("img",{alt:a,src:t}),n.createElement("p",{className:"legend"},r))}var w=function(){return n.createElement(f.lr,{autoPlay:!0,infiniteLoop:!0,showThumbs:!1,className:"gallery"},E.map((function(e,t){return n.createElement(v,(0,m.Z)({key:t},e))})))};function N(){var e=(0,s.Z)().siteConfig;return n.createElement("header",{className:(0,r.Z)("hero hero--primary",o)},n.createElement("div",{className:"container"},n.createElement("h1",{className:"hero__title"},e.title),n.createElement("p",{className:"hero__subtitle"},e.tagline),n.createElement("div",{className:c},n.createElement(l.Z,{className:"button button--secondary button--lg",to:"/docs/getting-started/overview"},"Get Started"))))}function b(){(0,s.Z)().siteConfig;return n.createElement(i.Z,{image:"img/icon.gif",description:"XR Display Server"},n.createElement(N,null),n.createElement("main",null,n.createElement(h,null),n.createElement(w,null)))}}}]); \ No newline at end of file +"use strict";(self.webpackChunkstardust_website=self.webpackChunkstardust_website||[]).push([[195],{6414:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});var n=a(7294),r=a(6010),l=a(6016),i=a(6742),s=a(2263),o="heroBanner_etFc",c="buttons_+YzY",m=a(7462),u="features_n4mZ",d="featureImg_G7DY",g=[{title:"Flexible",image:"/img/icon.gif",description:n.createElement(n.Fragment,null,"Stardust allows developers to make XR widgets or interfaces and run them among others. You don't have to make a whole system UI, just a few pieces.")},{title:"Streamlined",image:"https://stereokit.net/img/StereoKitLogoLight.svg",description:n.createElement(n.Fragment,null,"Stardust is made using ",n.createElement("a",{href:"https://stereokit.net"},"StereoKit"),", an XR application/rendering toolkit allowing for a fast and lightweight display server.")}];function p(e){var t=e.image,a=e.title,l=e.description;return n.createElement("div",{className:(0,r.Z)("col col--6")},n.createElement("div",{className:"text--center"},n.createElement("img",{src:t,className:d,alt:a})),n.createElement("div",{className:"text--center padding-horiz--md"},n.createElement("h3",null,a),n.createElement("p",null,l)))}function h(){return n.createElement("section",{className:u},n.createElement("div",{className:"container"},n.createElement("div",{className:"row"},g.map((function(e,t){return n.createElement(p,(0,m.Z)({key:t},e))})))))}var f=a(615),E=[{image:"img/carousel/multipleclients.jpg",alt:"A scene showing multiple widgets, including sliders like an equalizer and a virtual touchscreen.",caption:"Multiple objects working independently all at once."},{image:"img/carousel/spatialcode.png",alt:"To the left, a code editor showing Stardust Fusion creating several models and transforming them on the logicStep. To the right is the program running in Stardust.",caption:"Code vs output of the Spatial Fusion demo."},{image:"img/carousel/panels.png",alt:"A series of application windows as 3D panels similar to small wooden boards in proportions with a Panasonic CRT TV model in the center showing Agregore (the browser).",caption:"Panels for wayland apps and a CRT panel shell for XR UI."}];function v(e){var t=e.image,a=e.alt,r=e.caption;return n.createElement("div",null,n.createElement("img",{alt:a,src:t}),n.createElement("p",{className:"legend"},r))}var w=function(){return n.createElement(f.lr,{autoPlay:!0,infiniteLoop:!0,showThumbs:!1,className:"gallery"},E.map((function(e,t){return n.createElement(v,(0,m.Z)({key:t},e))})))};function N(){var e=(0,s.Z)().siteConfig;return n.createElement("header",{className:(0,r.Z)("hero hero--primary",o)},n.createElement("div",{className:"container"},n.createElement("link",{rel:"me",href:"https://fosstodon.org/@stardustxr"}),n.createElement("h1",{className:"hero__title"},e.title),n.createElement("p",{className:"hero__subtitle"},e.tagline),n.createElement("div",{className:c},n.createElement(i.Z,{className:"button button--secondary button--lg",to:"/docs/getting-started/overview"},"Get Started"))))}function b(){(0,s.Z)().siteConfig;return n.createElement(l.Z,{image:"img/icon.gif",description:"XR Display Server"},n.createElement(N,null),n.createElement("main",null,n.createElement(h,null),n.createElement(w,null)))}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.a6e8bf83.js b/assets/js/runtime~main.77d8f7a6.js similarity index 85% rename from assets/js/runtime~main.a6e8bf83.js rename to assets/js/runtime~main.77d8f7a6.js index 94315895..98b5d341 100644 --- a/assets/js/runtime~main.a6e8bf83.js +++ b/assets/js/runtime~main.77d8f7a6.js @@ -1 +1 @@ -!function(){"use strict";var e,t,n,r,o,u={},f={};function i(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={id:e,loaded:!1,exports:{}};return u[e].call(n.exports,n,n.exports,i),n.loaded=!0,n.exports}i.m=u,i.c=f,e=[],i.O=function(t,n,r,o){if(!n){var u=1/0;for(s=0;s=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[a])}))?n.splice(a--,1):(f=!1,o0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=n(f))Object.getOwnPropertyNames(f).forEach((function(t){u[t]=function(){return e[t]}}));return u.default=function(){return e},i.d(o,u),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",85:"1f391b9e",152:"b6ec42fc",195:"c4f5d8e4",300:"b4e94af8",514:"1be78505",533:"92e9139d",592:"common",697:"2a2a0c40",835:"7a96ca3d",888:"e6f3b050",918:"17896441"}[e]||e)+"."+{53:"a81bd7ed",85:"85330a5e",152:"2baa89f8",195:"78ce0b79",300:"c39e93b0",514:"5c39bbd5",533:"40e1576c",592:"a910c564",608:"7cf15b72",615:"e381939a",697:"7c41ff99",835:"75956791",888:"4c24e269",918:"14c4c675",933:"af1f825e"}[e]+".js"},i.miniCssF=function(e){return"assets/css/styles.8598596e.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="stardust-website:",i.l=function(e,t,n,u){if(r[e])r[e].push(t);else{var f,a;if(void 0!==n)for(var c=document.getElementsByTagName("script"),s=0;s=o)&&Object.keys(i.O).every((function(e){return i.O[e](n[c])}))?n.splice(c--,1):(f=!1,o0&&e[s-1][2]>o;s--)e[s]=e[s-1];e[s]=[n,r,o]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);i.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var f=2&r&&e;"object"==typeof f&&!~t.indexOf(f);f=n(f))Object.getOwnPropertyNames(f).forEach((function(t){u[t]=function(){return e[t]}}));return u.default=function(){return e},i.d(o,u),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"assets/js/"+({53:"935f2afb",85:"1f391b9e",152:"b6ec42fc",195:"c4f5d8e4",300:"b4e94af8",514:"1be78505",533:"92e9139d",592:"common",697:"2a2a0c40",835:"7a96ca3d",888:"e6f3b050",918:"17896441"}[e]||e)+"."+{53:"a81bd7ed",85:"85330a5e",152:"2baa89f8",195:"5ce337e7",300:"c39e93b0",514:"5c39bbd5",533:"40e1576c",592:"a910c564",608:"7cf15b72",615:"e381939a",697:"7c41ff99",835:"75956791",888:"4c24e269",918:"14c4c675",933:"af1f825e"}[e]+".js"},i.miniCssF=function(e){return"assets/css/styles.8598596e.css"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="stardust-website:",i.l=function(e,t,n,u){if(r[e])r[e].push(t);else{var f,c;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s Installation | Stardust XR - +

Installation

As Stardust is a display server, it is split into multiple parts. Don't be afraid to ask questions in the Matrix or Discord servers!

stardust-xr (reference server)#

Build system#

  1. Cargo

Build dependencies#

  1. Flatbuffers >= 2.0.8
  2. EGL+GLES 3.2
  3. GLX+Xlib
  4. fontconfig
  5. dlopen
  6. libseat (such as seatd)
  7. wayland
  8. OpenXR Loader (required even if run in flatscreen mode, generally just named openxr)

Download#

git clone https://github.com/StardustXR/stardust-xr-server.gitcd stardust-xr-server

Build#

cargo build

Install#

(this step isn't required. Using cargo run while developing is just fine)

cargo install --path .

Flatland (Simple simula-like panel UI client for 2D app interaction)#

Build system#

  1. Cargo

Build dependencies#

  1. Flatbuffers >= 2.0.8

Install#

cargo install flatland
- + \ No newline at end of file diff --git a/docs/getting-started/making-clients.html b/docs/getting-started/making-clients.html index a9a2efbc..5126ce16 100644 --- a/docs/getting-started/making-clients.html +++ b/docs/getting-started/making-clients.html @@ -5,13 +5,13 @@ Making Clients | Stardust XR - +

Making Clients

A Stardust client is at its core an executable that connects to a stardust server instance at $XDG_RUNTIME_DIR/stardust-[0-32], sends and receives messages according to the Stardust protocol.

Rust#

Stardust uses Rust due to its speed and reliability in build and runtime, so you will need to install cargo (preferably through rustup). If you're unsure how to use Rust then a great guide is at https://doc.rust-lang.org/book/.

stardust-xr#

stardust-xr is a connecting library for servers and clients that deals with the lowest level of connecting to ensure basic compatibility is ensured. As a client developer you most likely won't need it, but it's good to know about it.

Fusion#

stardust-xr-fusion is the high level library you'll probably be using to create your clients. It features structs for all Stardust objects and trait-based + async systems for handling events from the server.

To get started, create a new Rust project using

cargo new

and include the stardust-xr-fusion dependency in your cargo.toml. Documentation will be available at https://docs.rs/crate/stardust-xr-fusion/latest.

Molecules#

stardust-xr-molecules is an even higher level widget library built on Fusion similar to MRTK to get your clients up and running faster. Documentation will be available at https://docs.rs/crate/stardust-xr-molecules/latest.

- + \ No newline at end of file diff --git a/docs/getting-started/overview.html b/docs/getting-started/overview.html index 19fb2f40..5687c170 100644 --- a/docs/getting-started/overview.html +++ b/docs/getting-started/overview.html @@ -5,13 +5,13 @@ Overview | Stardust XR - +

Overview

Description#

Stardust XR (informally known as Stardust) is an XR display server for Linux-based distros (possibly most unix-based too, but untested). Unlike display servers of the past that were run on bounded 2D screens, Stardust has to break convention in order to account for unbounded 3D space in any potential virtual or real environment.

Unlike many display servers, Stardust is not trying to reinvent how applications interface with the system. Stardust uses Wayland and will use OpenXR for 2D/XR app integration. Stardust however has a special protocol for creation of virtual objects such as 3D UIs around 2D apps (called Panel Shells) and handling of data as objects (called Items, can represent files or Wayland surfaces or such). Stardust is not a collaborative 3D space, instead focusing on your own personal device and interactions with it.

Put simply, Stardust is a system UI framework where multiple different clients (programs that connect to Stardust directly) can create objects for the user to interact with their apps and device. The user can choose to use the objects that work best for their current scenario, and default setups can easily be created so users start out with all the essentials.

- + \ No newline at end of file diff --git a/docs/getting-started/starting.html b/docs/getting-started/starting.html index 401cbd04..d2e9b58a 100644 --- a/docs/getting-started/starting.html +++ b/docs/getting-started/starting.html @@ -5,7 +5,7 @@ Starting | Stardust XR - + @@ -16,7 +16,7 @@ A pitch black window representing Stardust in flatscreen mode

Help screen#

stardust-xr-server 0.10.0Nova King <technobaboo@proton.me>Stardust XR reference display server
 USAGE:    stardust-xr-server [OPTIONS]
 OPTIONS:    -f, --flatscreen            Force flatscreen mode and use the mouse pointer as a 3D pointer    -h, --help                  Print help information    -o, --overlay <PRIORITY>    Run Stardust XR as an overlay with given priority    -V, --version               Print version information
- + \ No newline at end of file diff --git a/docs/getting-started/tech-overview.html b/docs/getting-started/tech-overview.html index 95611715..c0654801 100644 --- a/docs/getting-started/tech-overview.html +++ b/docs/getting-started/tech-overview.html @@ -5,13 +5,13 @@ Technical Overview | Stardust XR - +

Technical Overview

Server#

The server is what renders all the meshes of each client, takes in input from input methods, and spits out input to input handlers according to the SUIS (Spatial Universal Interaction System). As well, the server is going to be part Wayland compositor and OpenXR runtime so all 2D and XR applications can be used together at once (if the hardware allows). It is the glue of Stardust, allowing any number of clients and apps to work in harmony while allowing the user full control in an intuitive way.

As new technologies come out, keeping the same server and trying to progressively upgrade it may lead to bloat and issues, so the protocol is designed to make creating new servers possible without too much hassle or to make servers modular. Old interfaces can be deprecated without breaking the overall system, and new interfaces can be added if needed due to the object-oriented design. The design is highly inspired by game engines, however the reference server is made in StereoKit due to it being more optimal.

Reference Server#

Stardust has a reference server, but unlike other display servers this reference server is just as functional as any other Stardust server would be, because all the functionality is implemented in the clients. The server is just the glue.

The reference server uses StereoKit as its backend for many reasons:

  • Much more lightweight than any other framework/other engine
    • It was originally designed to run AR apps on HoloLens, and now it works on Quest
    • It's able to render thousands of objects on a HoloLens without breaking a sweat
  • Does not include unnecessary features that slow down performance
    • Physics and UI are not needed for Stardust, but those do not actively run and can always have an option to not be compiled at all.
  • Uses C-style C++ meaning not bytecode or interpreted (however has a C# API that is not used by Stardust)
  • Uses immediate mode rendering meaning the logic is many times easier to implement
  • Exposes its rendering insides whenever needed
    • Very needed for Wayland when it needs to display EGL Wayland surface textures on meshes
    • Overriding the depthbuffer per-pixel in fragment shader is useful for XR depth compositing
  • Is constantly getting new updates faster than most engines
    • World semantics for OpenXR was implemented ~1 week after the official OpenXR extension release
  • Is optimized to load resources JIT
    • Many game engines are best at caching their assets, but this is not practical in a display server
  • Uses OpenXR as its backend out of the box

IPC#

The Stardust XR IPC uses Unix domain sockets for communication and a protocol based on flatbuffers/flexbuffers.

Protocol#

The Stardust XR protocol is object-oriented, depending on a scenegraph on the server end and scenegraph or functionally equivalent structure on the client end. This allows easier implementation of the protocol while still remaining fast, reliable, and extensible.

Clients#

The clients tell the server what models to draw, where they would like to accept input in, etc. Stardust clients are much more suited to widgets or user interfaces to 2D/XR apps.

- + \ No newline at end of file diff --git a/index.html b/index.html index 4d284f4a..7d04713f 100644 --- a/index.html +++ b/index.html @@ -5,13 +5,13 @@ Stardust XR - +
-

Stardust XR

We Fight for the Users!

Flexible

Flexible

Stardust allows developers to make XR widgets or interfaces and run them among others. You don't have to make a whole system UI, just a few pieces.

Streamlined

Streamlined

Stardust is made using StereoKit, an XR application/rendering toolkit allowing for a fast and lightweight display server.

- +

Stardust XR

We Fight for the Users!

Flexible

Flexible

Stardust allows developers to make XR widgets or interfaces and run them among others. You don't have to make a whole system UI, just a few pieces.

Streamlined

Streamlined

Stardust is made using StereoKit, an XR application/rendering toolkit allowing for a fast and lightweight display server.

+ \ No newline at end of file diff --git a/roadmap.html b/roadmap.html index d7714e98..27280c5f 100644 --- a/roadmap.html +++ b/roadmap.html @@ -5,13 +5,13 @@ Roadmap | Stardust XR - +

Roadmap

1.0 (Minimum Viable Product)#

  • Core functionality
    • IPC+RPC
  • Client
    • Fusion
      • Initial connection
      • Node type creation/destruction
      • Interface interaction
      • Callbacks
      • Documentation
  • Server
    • Per-client scenegraph
    • Statically link StereoKit
    • Basic features
      • Logic step
      • Spatial transforms
        • Absolute movement
        • Relative movement
        • Spatial parenting
      • Models
        • Loading
        • Setting material parameters
      • Fields (SDFs for interaction)
        • Box field
        • Rounded box field
        • Sphere field
      • Input
        • Input methods
          • Hand input
            • Creation from OpenXR
            • Creation from StereoKit (flatscreen)
            • Interaction with clients
          • Pointer input
            • Creation from StereoKit (flatscreen, mouse cursor ray)
            • Interaction with clients
        • Input handler
          • Async input propagation through distance
      • Environment
        • Set skytex
        • Set skylight
      • Items
        • Base item class
        • Base item accepter class
        • Environment equirectangular item
        • Environment equirectangular accepter
      • 2D integration
        • Panels
          • Panel item
          • smithay (for Wayland)
            • Rendering
            • Input seats
        • Panel shells
          • Accept panel items
          • Put surface on model material's texture
          • Feed input through to panel
          • Release panel items
- + \ No newline at end of file