Giter VIP home page Giter VIP logo

aframe-xr's People

Contributors

arturitu avatar blairmacintyre avatar mozilla-github-standards avatar rspace avatar utopiah 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aframe-xr's Issues

animations do not work

The most basic example works great on desktop, Safari... but somehow not on the XR Viewer. I checked the console (using VorlonJS) and no new error or warning.

<!DOCTYPE html>
<html>
  <head>
    <title>Animation on XR Viewer</title>
    <!-- aframe-xr with dependencies and utils -->
    <script src="https://rawgit.com/mozilla/aframe-xr/master/vendor/aframe-master.js"></script>
    <script src="https://rawgit.com/mozilla/aframe-xr/master/vendor/three.xr.js"></script>
    <script src="https://rawgit.com/mozilla/aframe-xr/master/dist/aframe-xr.js"></script>
  </head>
  <body>

    <a-scene hit-test>
        <a-sphere color="red" radius="0.1" position="5 0 -1">
                <a-animation attribute="radius" dur="1000" fill="forwards" to="0.0001" repeat="indefinite">
                </a-animation>
        </a-sphere>
      
    </a-scene>
  </body>
</html>

Same issue using the dedicated animation component. Is the tick handler behaving as expected?

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

Warning component for non supported browser

Assuming that this there will still be a transition period for main browsers to include the WebXR API proper and that no polyfill will be sufficient (unlike for WebVR and A-frame) having a warning message to suggest XR Viewer, WebARonARKit or WebARonARCore would be useful.

More projects relying aframe-xr at such an early stage will most likely always have to educate and explain those steps to the users (arguably testers at this point), having a shared component for this would be useful to most.

xr component shouldn't search for a-scene

aframe components should not search for the a-scene dom element, they should use their own sceneEl.

instead of registering for a "loaded" message, and then in that searching for the a-scene, why not just register for the "realityChanged" event in init?

aframe-xr won't load in WebXR-Viewer w/ aframe v0.8.2

Hey everyone,

Ever since upgrading our app from aframe v0.8.1 to v0.8.2, we are experiencing issues with running aframe-xr.
With further debugging we found out that the "enterAR" method won't load the scene correctly and will eventually crash it.
I suspect that it might be caused by an event emitter, but I'm still trying to find out what might cause that.

(note that the app works fine on the WebARonARCore browser)

Tested on iPhone 7, iOS v. 11.3.1 (15E302).
Latest https://github.com/mozilla-mobile/webxr-ios build.

Any ideas where to start looking?

Wiki changes

FYI: The following changes were made to this repository's wiki:

These were made as the result of a recent automated defacement of publically writeable wikis.

hit-test does not make the position of the added entity instantly available

As briefly discussed with @arturitu , not necessarily a bug but when in https://github.com/mozilla/aframe-xr/blob/master/examples/ar/hit_test/index.html#L35 I try to access the position of the added entity I get 0 0 0 even after a hit.

Results of some naive tests:

//displayCoord(entity); // not OK, getting 0 0 0
// scene.flushToDOM(); displayCoord(entity); // not OK
// entity.flushToDOM(); displayCoord(entity); // not OK
// entity.components.position.flushToDOM(); displayCoord(entity); // not OK

setTimeout( () => { displayCoord(entity); } , 100 ); // always OK
//setTimeout( () => { displayCoord(entity); } , 10 ); // OK the vast majority of the time BUT not always!

This wasn't necessarily the expected usage but the behavior might be surprising for some so suggestions welcomed.

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.