WhoBuilt

What's the plan for making VR/AR constructs exposed to React Native?

Dec 13, 2021· 2 min· 371 views·Watch on YouTube

A Callstack host, whose name and role are not stated, discusses how Viro enables VR and AR experiences with React Native and why those interfaces do not use Yoga layout.

Build VR and AR with Viro

The host recommends Viro, a library that exposes components for building VR and AR experiences with React Native. They say developers can write JavaScript, scan a QR code, and try an app through Viro’s Play Store or App Store app without compiling it themselves.

3D interfaces do not use Yoga

An audience member asks whether React Native controls layout or whether developers must position components themselves. The host says Yoga is for flex layout, which does not fit VR and AR scenes built around a camera or models placed in 3D space.

Positioning uses 3D graphics concepts

The host compares VR and AR development to working with OpenGL or Metal, where elements exist in the surrounding 3D environment. They do not describe a specific layout system or positioning workflow.

Takeaways

  • Try Viro to prototype React Native VR or AR experiences using JavaScript and its companion app.
  • Do not expect Yoga or Flexbox to arrange objects in a 3D scene.
  • Plan for camera and 3D model placement as part of the interface design.

Mentioned in this talk

Search inside this talk

What was claimed 8

Related talks