Breaking News

Ricoh announces GR IV Monochrome Acer ProDesigner PE320QX monitor excels at tests! MSI announces Roamii BE Pro Mesh WiFi 7 System Samsung Mobile Gaming Hub Reshapes Personalized Play Viltrox Brings AI Autofocus to Manual Lenses with NexusFocus F1

logo

  • Share Us
    • Facebook
    • Twitter
  • Home
  • Home
  • News
  • Reviews
  • Essays
  • Forum
  • Legacy
  • About
    • Submit News

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

    • RSS Feed
    • Site Map

Search form

React VR Library Lets Developers Create VR Experiences By Using Javascript

React VR Library Lets Developers Create VR Experiences By Using Javascript

Enterprise & IT Apr 19,2017 0

Facebook is releasing React VR, a new library that lets developers build experiences for VR by using standard web tools.

Those experiences can then be distributed across the web - React VR leverages APIs like WebGL and WebVR to connect headsets with a scene in a web page. And to maximize your potential audience, sites built in React VR are also accessible on mobile phones and PCs, using accelerometers or the cursor for navigation.

With React VR, you can use React components to compose scenes in 3D, combining 360 panoramas with 2D UI, text, and images. You can immerse the user with audio and video capabilities, plus take full advantage of the space around you with 3D models. The entire codebase is available on GitHub.

Facebook says that anyone familiar with React can easily get started without needing to learn new concepts.

How it works

When building a framework for VR on the web, one challenge Facebook had to address is that a person in a headset needs to be able to look around the world at 60 frames per second (fps), or 90 fps on Rift. In a single-threaded environment like JavaScript, that means Facebook needed to ensure that any React reconciliation or scene updates would happen within the span of a single frame.

As it turns out, React Native already addresses similar problems with its architecture. Facebook followed RN's pattern by running React and rendering in separate contexts, with an asynchronous bridge for communication between them. In the web browser, this separation is performed with a web worker - your entire React application runs in the worker, while the rendering code that turns scene update messages into actual pixels lives in the main window. This lets the renderer create a tight loop between receiving headset orientation updates and re-rendering the scene, increasing viewer immersion while decreasing the likelihood of motion sickness.

Tags: vr headsets
Previous Post
Beijing to Summon Apple Over Live Streaming Apps
Next Post
Facebook Releases Two New Surround 360 Video Cameras, Futuristic projects Focused On Silent Speech Communications

Related Posts

  • Possible Oculus Quest 2 Details Leak

  • Lenovo Mirage VR S3 Standalone Headset with ThinkReality Released

  • HP, Valve, and Microsoft Present the Reverb G2 Virtual Reality Headset

  • Former HTC Boss Peter Chou Releases the XRSPACE 5G VR Headset

  • Oculus Said to Develop Lighter Version of the Quest VR Headset

  • HP Teases With New VR Headset Made With Microsoft and Valve

  • HTC Unveils New Vive Cosmos VR Lineup, 'Project Proton' Prototypes

  • JDI Starts Mass Production of 1058 ppi High-Definition VR LCD

Latest News

Ricoh announces GR IV Monochrome
Cameras

Ricoh announces GR IV Monochrome

Acer ProDesigner PE320QX monitor excels at tests!
GPUs

Acer ProDesigner PE320QX monitor excels at tests!

MSI announces Roamii BE Pro Mesh WiFi 7 System
Enterprise & IT

MSI announces Roamii BE Pro Mesh WiFi 7 System

Samsung Mobile Gaming Hub Reshapes Personalized Play
Smartphones

Samsung Mobile Gaming Hub Reshapes Personalized Play

Viltrox Brings AI Autofocus to Manual Lenses with NexusFocus F1
Cameras

Viltrox Brings AI Autofocus to Manual Lenses with NexusFocus F1

Popular Reviews

be quiet! Dark Mount Keyboard

be quiet! Dark Mount Keyboard

Terramaster F8-SSD

Terramaster F8-SSD

be quiet! Light Mount Keyboard

be quiet! Light Mount Keyboard

Soundpeats Pop Clip

Soundpeats Pop Clip

Akaso 360 Action camera

Akaso 360 Action camera

Dragon Touch Digital Calendar

Dragon Touch Digital Calendar

be quiet! Pure Loop 3 280mm

be quiet! Pure Loop 3 280mm

Noctua NF-A12x25 G2 fans

Noctua NF-A12x25 G2 fans

Main menu

  • Home
  • News
  • Reviews
  • Essays
  • Forum
  • Legacy
  • About
    • Submit News

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

    • RSS Feed
    • Site Map
  • About
  • Privacy
  • Contact Us
  • Promotional Opportunities @ CdrInfo.com
  • Advertise on out site
  • Submit your News to our site
  • RSS Feed