Giter Club home page Giter Club logo

Comments (3)

jagenjo avatar jagenjo commented on May 17, 2024 2

not in the roadplan but it shouldnt be hard, most of the features are already there.

maybe I give it a try next months

from webglstudio.js.

coderofsalvation avatar coderofsalvation commented on May 17, 2024 1

This could be a good barebones starting point:

https://immersive-web.github.io/webxr-samples/

particularly:

image

Testing

Concerning testing it, I noticed that firefox is quite serious about webXR these days, their firefox dev-edition has enabled all webxr features by default, and they have a simulator for devs without vr headsets:

https://addons.mozilla.org/en-US/firefox/addon/webxr-api-emulator/

Another option: I've tested firefox webxr with trinus which works well, however I've had to fiddle with the settings a bit.
I also had to install steamVR in order to trick firefox into thinking I have real vr headset.
This setup works, but I wouldn't recommend it for developing.

Brainstorm: next step

The demo-code above simply enables viewing 3d-scenes on browsers which support webxr (devices, like gyroscope controlled smartphone, or an oculus e.g.).
afaik this could just be a 'webxr'-component for webglstudio which detects and forwards the gl-context to webxr.
The next step would be controlling the camera and triggering events, which could be done in various ways:

  • a 'webxr controller'-component (which controls active camera e.g.)
  • some webxr litegraph nodes, so the user can wire values themselves

Let me know if I can help, by brainstorming more or by help writing code.

Why is webglstudio+webxr exciting?

Because the metaverse is here :)

from webglstudio.js.

TheBricktop avatar TheBricktop commented on May 17, 2024

Im very happy to hear that, im very eager to use webGl studio in my following projects.

from webglstudio.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.