Breaking News

CORSAIR Changes the Game with PureVector, a Science-Based Personalized Aiming Technology, Launching Exclusively in the SABRE v3 PRO PureVector Mouse Series AMD FSR Upscaling 4.1 Boosts Frames and Image Quality on More Devices TerraMaster TerraSync Update COLORFUL Launches iGame X870E ULTRA-S V14 Motherboard SWIT Packs 210Wh and 200W Output into Compact MINO-A Gold Mount Battery Series

logo

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

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

    • RSS Feed

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

CORSAIR Changes the Game with PureVector, a Science-Based Personalized Aiming Technology, Launching Exclusively in the SABRE v3 PRO PureVector Mouse Series
Gaming

CORSAIR Changes the Game with PureVector, a Science-Based Personalized Aiming Technology, Launching Exclusively in the SABRE v3 PRO PureVector Mouse Series

AMD FSR Upscaling 4.1 Boosts Frames and Image Quality on More Devices
GPUs

AMD FSR Upscaling 4.1 Boosts Frames and Image Quality on More Devices

TerraMaster TerraSync Update
Enterprise & IT

TerraMaster TerraSync Update

COLORFUL Launches iGame X870E ULTRA-S V14 Motherboard
PC components

COLORFUL Launches iGame X870E ULTRA-S V14 Motherboard

SWIT Packs 210Wh and 200W Output into Compact MINO-A Gold Mount Battery Series
Cameras

SWIT Packs 210Wh and 200W Output into Compact MINO-A Gold Mount Battery Series

Popular Reviews

Endorfy Thock V2 Wireless Keyboard

Endorfy Thock V2 Wireless Keyboard

SoundPeats Cove Pro

SoundPeats Cove Pro

The Quiet Technology Behind the Spin

The Quiet Technology Behind the Spin

Akaso Brave 8 Lite

Akaso Brave 8 Lite

SoundPeats C30

SoundPeats C30

Kioxia Exceria Plus G3 512GB microSD

Kioxia Exceria Plus G3 512GB microSD

be quiet! Dark Perk Mice

be quiet! Dark Perk Mice

XbotGo Chamaleon

XbotGo Chamaleon

Main menu

  • Home
  • News
  • Reviews
  • Essays
  • About
    • Submit News

    • Contact Us
    • Privacy

    • Promotion
    • Advertise

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