Book Image

Full-Stack React Projects

By : Shama Hoque
Book Image

Full-Stack React Projects

By: Shama Hoque

Overview of this book

The benefits of using a full JavaScript stack for web development are undeniable, especially when robust and widely adopted technologies such as React, Node, and Express and are available. Combining the power of React with industry-tested, server-side technologies, such as Node, Express, and MongoDB, creates a diverse array of possibilities when developing real-world web applications. This book guides you through preparing the development environment for MERN stack-based web development, to creating a basic skeleton application and extending it to build four different web applications. These applications include a social media, an online marketplace, a media streaming, and a web-based game application with virtual reality features. While learning to set up the stack and developing a diverse range of applications with this book, you will grasp the inner workings of the MERN stack, extend its capabilities for complex features, and gain actionable knowledge of how to prepare MERN-based applications to meet the growing demands of real-world web applications.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Key concepts for developing the VR game


Before creating VR content and an interactive 360 degree experience for the game, it is important to first understand some key aspects of the virtual world and how React 360 components can be used to work with these VR concepts.

Equirectangular panoramic images

The VR world for the game will be composed of a panoramic image which is added to the React 360 Environment as a background image.

Panorama images are generally 360 degree images or spherical panoramas projected onto a sphere that completely surrounds the viewer. A common and popular format for 360 degree panorama images is the equirectangular format. React 360 degree currently supports mono and stereo formats for equirectangular images.

Note

To learn more about the 360 image and video support in React 360, refer to the React 360 docs at facebook.github.io/react-360/docs/setup.html.

The image shown here is an example of an equirectangular, 360 degree panoramic image. To set the world background for...