At its annual F8 developer conference, Facebook has today announced the release of a new developer kit which simplifies the capture and sharing of VR experiences. The social media giant is continually looking at ways to demystify VR and make it available for viewing to those who aren’t able to experience it themselves — in the form of 360 photos and videos.
Called 360 Capture SDK (software development kit), this suite of tools enables developers to incorporate features to record and share the perspective of the user/gamer enjoying his gala time in the virtual world. Once the said feature is added, you can simply record the current scene for sharing on your News Feed or through the VR headgear itself — which becomes available for viewing at a later stage.
These developer tools enable users to share their experiences socially, courtesy of Facebook’s new cube mapping technology in favor of the traditional stitching method for creating 360-degree spherical and panoramic images/videos. Currently, most VR experiences are created simply by capturing every frame of a particular scene — one at a time and then stitching them together to form one whole image. You can continue to repeat this process and encode a bunch of images to form a new 360-degree video experience. However, as it sounds, this process is not only resource and time intensive but also provides you with a low-quality output.
Thus, Facebook has now decided to employ a new technique called cube mapping, which enables you to capture your environment through the six faces of a cube. The social media giant wants to provide you with a viewing experience as realistic and high-quality as possible — with six degrees of freedom and 4K streaming.
As for how the technology works, a bunch of overlapping photos covering all 360 degrees of the view are captured. Facebook is then employing a computer vision process to stitch the scenes together to form one panoramic file by detecting the overlap of features in various images. The final step involves encoding and saving the final photo at a high resolution. Talking about the same in an official blog post, Chetan Gupta, a product manager at Facebook’s 360 Media division said:
By using cube mapping, we successfully made VR experiences accessible and viewable in high quality—with the additional benefit that content can be captured quickly.
Now, Facebook noticed the following key differences when shifting over to cube mapping from stitching:
Now, the developers interested in applying the powers of the 360 Capture SDK into their VR applications are required to use either the Unity or Unreal game engine. Facebook has currently released a sample SDK on GitHub to enable developers to test out a social experience in the VR games and apps they’re developing. The company’s first social VR platform, Spaces comes packed this experience out of the box.