webxr-polyfill | example code for building augmented reality | Augmented Reality library

 by   mozilla JavaScript Version: v1.10 License: MPL-2.0

kandi X-RAY | webxr-polyfill Summary

kandi X-RAY | webxr-polyfill Summary

webxr-polyfill is a JavaScript library typically used in Virtual Reality, Augmented Reality, Three.js applications. webxr-polyfill has no bugs, it has no vulnerabilities, it has a Weak Copyleft License and it has low support. You can download it from GitHub.

The API for "WebXR" implemented in this repository is based on a proposed draft proposal for WebXR we created as a starting point for discussing WebXR in the fall of 2017, to explore what it might mean to expand WebVR to include AR/MR capabilities. We initially created this polyfill when the community group was calling the specification "WebVR", so using "WebXR" was not confusing. Now that the community group is working towards changing the name of the spec, this repo may be confusing to newcomers. We're working to bring this repo's master branch in line with the community group's draft spec. But that work is not yet complete. The WebVR community has shifted WebVR in this direction. The group is now called the Immersive Web Community Group and the WebVR specification has now become the WebXR Device API. You should consider that spec as ground-truth for WebXR, and it is what you will likely see appearing in browsers through the rest of 2018 and into 2019. We will continue to experiment with extensions to, and new ideas for, WebXR in this library. Soon, we expect it to be integrated directly in our WebXR Viewer iOS app and no longer be included directly in any web pages.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              webxr-polyfill has a low active ecosystem.
              It has 255 star(s) with 75 fork(s). There are 42 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 31 open issues and 24 have been closed. On average issues are closed in 26 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of webxr-polyfill is v1.10

            kandi-Quality Quality

              webxr-polyfill has 0 bugs and 0 code smells.

            kandi-Security Security

              webxr-polyfill has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              webxr-polyfill code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              webxr-polyfill is licensed under the MPL-2.0 License. This license is Weak Copyleft.
              Weak Copyleft licenses have some restrictions, but you can use them in commercial projects.

            kandi-Reuse Reuse

              webxr-polyfill releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.
              webxr-polyfill saves you 70155 person hours of effort in developing the same functionality from scratch.
              It has 78690 lines of code, 0 functions and 99 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed webxr-polyfill and discovered the below as its top functions. This is intended to give you an instant insight into webxr-polyfill implemented functionality, and help decide if they suit your requirements.
            • The WebGL Renderer object
            • Constructs a new WebGL state .
            • Constructs a WebGL texture
            • WebGL program .
            • Creates a shadow map .
            • Creates a new mesh .
            • Create a sprite bundle .
            • setProgram s state property
            • Extends the PBRSpinessExtensionExtender .
            • Parses a JSON model .
            Get all kandi verified functions for this library.

            webxr-polyfill Key Features

            No Key Features are available at this moment for webxr-polyfill.

            webxr-polyfill Examples and Code Snippets

            No Code Snippets are available at this moment for webxr-polyfill.

            Community Discussions

            Trending Discussions on webxr-polyfill

            QUESTION

            Flickering when viewing WebXR content
            Asked 2020-Apr-14 at 14:03

            In android Chrome 80, when the WebXR device API flag is disabled, I expect the Webxr polyfill should play the VR output. But the content is flickering and I am not able to hit any object in VR world. Any idea why this is happening?

            If the WebXR device API flag is enabled, I am getting the output correctly. I included the webxr polyfill (https://github.com/immersive-web/webxr-polyfill) , but not sure whether it is working or not. How to check whether polyfill is giving the correct output? Do we need to build the WebXR Polyfill separately to support chrome 80?

            ...

            ANSWER

            Answered 2020-Apr-14 at 14:03

            I fixed this issue by setting the preserverDrawingBuffer flag to true while creating the renderer https://threejs.org/docs/#api/en/renderers/WebGLRenderer.preserveDrawingBuffer

            Source https://stackoverflow.com/questions/61129794

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install webxr-polyfill

            You can download it from GitHub.

            Support

            Flat Display (AR only, needs VR)WebVR 1.1 HMD (VR only, needs AR)Cardboard (NOT YET)Hololens (NOT YET)
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mozilla/webxr-polyfill.git

          • CLI

            gh repo clone mozilla/webxr-polyfill

          • sshUrl

            git@github.com:mozilla/webxr-polyfill.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Reuse Pre-built Kits with webxr-polyfill

            Consider Popular Augmented Reality Libraries

            AR.js

            by jeromeetienne

            ar-cutpaste

            by cyrildiagne

            aframe

            by aframevr

            engine

            by playcanvas

            Awesome-ARKit

            by olucurious

            Try Top Libraries by mozilla

            pdf.js

            by mozillaJavaScript

            DeepSpeech

            by mozillaC++

            send

            by mozillaJavaScript

            sops

            by mozillaGo

            BrowserQuest

            by mozillaJavaScript