Giter VIP home page Giter VIP logo

janusweb's People

Contributors

alfa256 avatar avaer avatar bioid avatar dependabot[bot] avatar foxlet avatar jbaicoianu avatar madjin avatar spyduck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

janusweb's Issues

Room editing support

Admin mode could be used to provide room editing functionality. Need to fix up some bugs to make it usable before enabling it.

Sites which support CORS should be loaded directly

AugmentedPerception.com has a mapping of which rooms and resources send CORS headers and which don't. We'll always need to proxy some amount of content to get around CORS restrictions, but we could save bandwidth and improve speed by accessing supported resources directly from the server they're hosted on.

UX issues

-need a turn on xhair option, and or a switch to free cursor mode (i.e. not locked to head). the 2d interface need to be rock solid.
-need a floor for walking and rt click to teleport like in janus native. or maybe just hotspots/anchors/vistas to click to teleport.

Add splash screen to orient first-time users

Currently we just dump the user directly into a full 3d interactive world and let them figure it out. A splash screen would be a good way to explain to the user what they're looking at, tell them which features are supported but may require some input or a choice from them (gamepads, VR, 3D sound), and cover for some of the jankiness during the first-time load.

Videos not rendering

Videos seem to be loading and playing, but are just showing up as black, maybe some needsUpdate problem?

lighting=false not working

User alu mentioned that objects with lighting=false are still being light dynamically, need to fix this

Embedding janusweb in remote pages is too picky

It's a bit too difficult to embed JanusWeb into an existing remotely-hosted JanusVR site right now. Common problems:

  • elation.janusweb.init() assumes the page has a <head> and a <body>, should handle gracefully when they're not present
  • elation.janusweb.init() should attach to onload handlers if called from <head>
  • When loading a FireBoxRoom directly from the embedded page, it only works if the markup is enclosed in a <!-- HTML comment -->

Add capsule-mesh collisions for player

Currently the player is being represented by a single sphere, and only primitives like cubes, spheres, and cylinders are supported by the physics engine. Work has begun to add capsule and mesh-triangle colliders, when it's done we can start parsing and using the collision_id parameter for objects and enable gravity for the player.

Support text chat

Native client is sending us chat packets, should be pretty easy for us to handle

Need portal rendering support

Portals currently act like hrefs on the web, click to visit. They should act like portals in JanusVR, where clicking a portal opens the new room and lets you walk back and forth between them.

URL bar should be smarter

The URL bar should be more lenient about accepting input. At the very least, if the user leaves off the http:// we should add it.

In the future we could also get fancy and search your history and auto-complete based on rooms you'd visited before, or once we get the room DB up and running we can provide suggestions from the corpus of all known Janus rooms.

Chat window on mobile

The chat window takes up quite a bit of space on mobile, could we have an option to have that hidden?

How can use Janusweb ?

Hello ;D
I have clone the source to my server and have install node.js, but how I can start the webclient in my browser ?

Greetings
Bogus

Portals can't be activated by gamepad

Clicks are currently implemented using mouse events, portals should use the object activation system instead so they can be interacted with using any supported controller type

JanusWeb is more sensitive to invalid XML than native

The XML parsing libraries browsers use for DOMParser is a lot more picky about XML validity than the one the JanusVR native client uses. Specifically, one error that frequently causes problems is duplicate attributes on objects, for example:

<Object scale="1 1 1" id="class3" pos="0 0 0" scale="1.1 1.1 1.1" />

Since "scale" is duplicated, strictly speaking this XML is invalid, but it would be nice if we could handle this gracefully.

At the very least we should detect xml parse errors and show a message to the user, rather than dumping them into an empty or partially-complete room. There's also the option of switching to a pure-js XML parser, but this would make XML parsing slower across the board.

Another option worth considering is the idea of running the XML through an XSLT transform before trying to parse it. It may be possible to write an XSLT rule which will strip these duplicates - or it's possible that it will just fail to run because the XML is invalid.

404 page doesn't render on the first error

The first time you encounter a 404, you end up seeing a black empty room instead of the default 404 error page. Subsequent 404s in the same session work, so it seems this is probably a race condition with the error translator.

Ghost support

Ghosts are unimplemented, and would be useful for adding life to rooms

Skyboxes often load incorrectly

The way skyboxes are handled now is currently pretty flaky. There's a race condition which sometimes causes the default skybox to be loaded even when the room specifies one to be used.

While we're fixing this, skyboxes should be per-room anyway, so they'll work better when we implement portal renderig (issue #5)

URLs need more permanent structure

Current url structure is bad for linking and SEO. We shouldn't be using #janus.url=... to set the current room url, we should be using fully-qualified paths. Some examples:

https://web.janusvr.com/sites/http://www.janusvr.com/index.html
https://web.janusvr.com/sites/https://www.metacade.com/
https://web.janusvr.com/sites/ipfs://QmbuyH9yDL5RfSTQPdEtGFKrFdTmNDKFosxfaF1uUjPAEK/

Transparent objects are opaque

It looks like transparency is broken for loaded models, we probably need to set the transparent: true flag somewhere while loading. This worked at some point, and regressed when the threaded asset loader was added.

Script support

JanusVR rooms can specify AssetScript which defines logic for the world, and exposes a basic API for interacting with objects. Need to build a translation layer between that and Elation Engine's objects.

Objects with material color + texture behave differently from native

Models exported with both a texture and a material color are rendered differently in JanusWeb than in JanusVR Native client. This is because JanusWeb multiplies the color by the texture, whereas JanusVR overrides material color and just uses the texture.

It's debatable which method is better, being able to set material color to blend with the texture color gives you a range of effects that you'd need to use a shader for otherwise. But people often export bakes, etc. with the default material diffuse color, which in Blender is rgb(0.8, 0.8, 0.8) intensity 0.8, which leads to everything looking dull.

We should at least be consistent with Native, but maybe it makes sense to have an option for this?

Re-enable drag-drop asset loading

Elation Engine used to have support for dragging and dropping textures and 3d models into the world from your desktop/other sites. Need to brush off this code and tie this in with Janusweb's editing system.

Support voice chat

Native app is sending us voice chat packets, it should be possible to support this but it will take some experimentation

Need to add in Reddit, imgur, and other room translators

We have basic support for running non-JanusVR worlds through a translator and presenting the default web room with the web content inside. We have the model files and other resources for Flickr, gfycat, imgur, reddit, vrsites, and youtube - just need to write the translator scripts.

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.