Creating the larger world - background image

This is a do it chapter - the previous chapters covered the general background of VR. However, now we're actually going to change the background (image).

The chess world you see in the hello world app is actually a panoramic image used in the Pano statement (in the index.vr.js  file). When I first installed React VR, for a second I thought it was some of the geometry included in the default world. Here is our view of the SpaceGallery app (2D browser view):

Everything except the hello textbox comes from the <Pano> object:

 <Pano source={asset('chess-world.jpg')}/>

This is a specially constructed ...

Get Getting Started with React VR now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.