Tag Archives: cardboard

Google Cardboard XR Plugin for Unity

Late in 2019, we decided to open source Google Cardboard. Since then, our developer community has had access to create a plethora of experiences on both iOS and Android platforms, while reaching millions of users around the world. While this release has been considered a success by our developer community, we also promised that we would release a plugin for Unity. Our users have long preferred developing Cardboard experiences in Unity, so we made it a priority to develop a Unity SDK. Today, we have fulfilled that promise, and the Google Cardboard open source plugin for Unity is now available via the Unity Asset Store

What's Included in the Cardboard Unity SDK

Today, we’re releasing the Cardboard Unity SDK to our users so that they can continue creating smartphone XR experiences using Unity. Unity is one of the most popular 3D and XR development platforms in the world, and our release of this SDK will give our content creators a smoother workflow with Unity when developing for Cardboard.

In addition to the Unity SDK, we are also providing a sample application for iOS/Android, which will be a great aid for developers trying to debug their own creations. This release not only fulfills a promise we made to our Cardboard community, but also shows our support, as we move away from smartphone VR and leave it in the more-than-capable hands of our development community.



If you’re interested in learning how to develop with the Cardboard open source project, please see our developer documentation or visit the Google VR GitHub repo to access source code, build the project, and download the latest release.

By Jonathan Goodlow, Product Manager, AR & VR

Open sourcing Google Cardboard

Posted by Jeffrey Chen, Product Manager, AR & VRGoogle CardboardFive years ago, we launched Google Cardboard—a simple cardboard viewer that anyone can use to experience virtual reality (VR). From a giveaway at Google I/O to more than 15 million units worldwide, Cardboard has played an important role in introducing people to VR through experiences like YouTube and Expeditions. In many cases, it provided access to VR to people who otherwise couldn’t have afforded it.

With Cardboard and the Google VR software development kit (SDK), developers have created and distributed VR experiences across both Android and iOS devices, giving them the ability to reach millions of users. While we’ve seen overall usage of Cardboard decline over time and we’re no longer actively developing the Google VR SDK, we still see consistent usage around entertainment and education experiences, like YouTube and Expeditions, and want to ensure that Cardboard’s no-frills, accessible-to-everyone approach to VR remains available.

Today, we’re releasing the Cardboard open source project to let the developer community continue to build Cardboard experiences and add support to their apps for an ever increasing diversity of smartphone screen resolutions and configurations. We think that an open source model—with additional contributions from us—is the best way for developers to continue to build experiences for Cardboard. We’ve already seen success with this approach with our Cardboard Manufacturer Kit—an open source project to enable third-party manufacturers to design and build their own unique compatible VR viewers—and we’re excited to see where the developer community takes Cardboard in the future.

What's Included in the open source project

We're releasing libraries for developers to build their Cardboard apps for iOS and Android and render VR experiences on Cardboard viewers. The open source project provides APIs for head tracking, lens distortion rendering and input handling. We’ve also included an Android QR code library, so that apps can pair any Cardboard viewer without depending on the Cardboard app.

An open source model will enable the community to continue to improve Cardboard support and expand its capabilities, for example adding support for new smartphone display configurations and Cardboard viewers as they become available. We’ll continue to contribute to the Cardboard open source project by releasing new features, including an SDK package for Unity.

If you’re interested in learning how to develop with the Cardboard open source project, please see our developer documentation, or visit the Cardboard GitHub repo to access source code, build the project and download the latest release.

Putting the “real” in “virtual reality”

Virtual reality has brought us to places ranging from the bottom of the ocean to the surface of Mars. But as good as VR is, it’s never been quite as real as, well… real life. Google Cardboard Plastic, launching today, changes all that. It’s our latest step toward truly immersive technology—a new viewer that lets you see, touch, smell and hear the world just like you do in real life.

Cardboard Plastic is the world’s first actual reality headset, complete with 4D integrated perspective, 360° spatially accurate sound, 20/20 resolution, and advanced haptics for realistic touch sensations. Expertly crafted from polymethyl methacrylate, Cardboard Plastic is lightweight, waterproof, and engineered to last a lifetime—no batteries, no wires. And unlike other VR headsets, it integrates seamlessly into your life—so you’ll never miss a thing. Unless you blink.

Find more about Cardboard Plastic at google.com/cardboardplastic. The future is clear.

https://1.bp.blogspot.com/-_NDBFo_zubo/Vv3KupxthPI/AAAAAAAASGs/PX838Bywdmkt0k6yG3RBVELrxI5w0ubyQ/s1600/cardboardPlastic2.jpg

Take a virtual step into Abbey Road Studios

Last year, we opened the doors to the music landmark Abbey Road Studios, where musical legends like the Beatles and Pink Floyd have recorded. With a click of a mouse or a tap of a screen, more than 2 million fans from around the world have stepped Inside Abbey Road to explore the famous studios. Now you can go even further and experience what it actually feels like—and sounds like—inside the studios, using Google Cardboard and your smartphone.
To get this virtual reality experience, download the app on Android (iOS coming soon), then start your journey with a nine-part guided tour narrated by Giles Martin, the son of the late Beatles producer, George Martin, who shares the history of the studios from the 1930’s to present day.

After the tour, you can quite literally move around the studios at your leisure to see hidden treasures like Studio 3’s Mirrored Drum Room, where the mirrors help to create a close, bright and loud sound quality. Uncover one of Abbey Road's Mastering Suites, where a record gets its finishing touches before a release. In Studio 1, experience what it’s like to be in a recording session with the London Symphony Orchestra with surround sound.
With Inside Abbey Road for Cardboard, you can get even closer to the history, stories and innovation of the most famous music studios in the world.

https://3.bp.blogspot.com/-e6n8OBG9qn8/VvxsceGGcgI/AAAAAAAASGQ/ulbZa58NrEU2QvROv0bxmL991NijWP6Kg/s1600/Inside%2BAbbey%2BRoad.jpg

Introducing VR view: embed immersive content into your apps and websites

Posted by Nathan Martz, Product Manager

Travel apps may include turtle photos, but they're nothing like diving into the open ocean. Real estate websites may include descriptions of the dining room, but it's nothing like actually touring the home. For developers, having immersive elements in their apps and websites can be the difference between meh and magical. That's why we're introducing VR view—a quick and easy way to embed immersive content on Android, iOS and the web.

VR views take 360 VR images or videos and transform them into interactive experiences that users can view on their phone, with a Cardboard viewer, or on their desktop computer. For native apps, you can embed a VR view by grabbing the latest Cardboard SDK for Android or iOS* and adding a few lines of code. On the web, embedding a VR view is as simple as adding an iframe on your site. We’re open-sourcing the HTML and JavaScript for web developers on github, so you can self-host and modify it to match your needs.

From travel and real estate to news and entertainment, we hope embeddable VR views make it quick and easy to share your story and build immersive and engaging visual experiences your users will love. We're excited to see what you create.

*Yes, you read that right! Starting today, there’ll be a native Cardboard SDK for iOS. Provided in idiomatic Objective C, and packaged as a single, easy-to-use CocoaPod, this new SDK includes all of the features already available in the Cardboard SDK for Android.

(Un)folding a virtual journey with Google Cardboard

A year and a half ago we introduced Google Cardboard, a simple cardboard viewer that anyone can use to experience mobile virtual reality (VR). With just Cardboard and the smartphone in your pocket, you can travel to faraway places and visit imagined worlds. Since then everyone from droid lovers and Sunday edition subscribers, to big kids and grandmas have been able to enjoy VR—often for the very first time. Here's a look at where we are, 19 months in:

1. 5 million Cardboard fans have joined the fold.

2. In just the past two months (October-December), you launched into 10 million more immersive app experiences:

3. Out of 1,000+ Cardboard apps on Google Play, one of your favorites got you screaming “aaaaaaahwsome,” while another “gave you goosebumps.”

4. You teleported to places far and wide, right from the comfort of YouTube.

5. Since we launched Cardboard Camera in December, you’ve captured more than 750,000 VR photos, letting you relive your favorite moments anytime, from anywhere.

6. Students around the world have taken VR field trips to the White House, the Republic of Congo, and 150 other places around the globe with Expeditions.

While you've been traveling the world and beyond with Cardboard, we've been on a journey, too. Keep your eyes peeled for more projects that bring creative, entertaining and educational experiences to mobile VR.

IMAGE URL

Spatial audio comes to the Cardboard SDK

Posted by Nathan Martz, Product Manager, Google Cardboard

Human beings experience sound in all directions—like when a fire truck zooms by, or when an airplane is overhead. Starting today, the Cardboard SDKs for Unity and Android support spatial audio, so you can create equally immersive audio experiences in your virtual reality (VR) apps. All your users need is their smartphone, a regular pair of headphones, and a Google Cardboard viewer.

Sound the way you hear it

Many apps create simple versions of spatial audio—by playing sounds from the left and right in separate speakers. But with today’s SDK updates, your app can produce sound the same way humans actually hear it. For example:

  • The SDK combines the physiology of a listener’s head with the positions of virtual sound sources to determine what users hear. For example: sounds that come from the right will reach a user’s left ear with a slight delay, and with fewer high frequency elements (which are normally dampened by the skull).
  • The SDK lets you specify the size and material of your virtual environment, both of which contribute to the quality of a given sound. So you can make a conversation in a tight spaceship sound very different than one in a large, underground (and still virtual) cave.

Optimized for today’s smartphones

We built today’s updates with performance in mind, so adding spatial audio to your app has minimal impact on the primary CPU (where your app does most of its work). We achieve these results in a couple of ways:

  • The SDK is optimized for mobile CPUs (e.g. SIMD instructions) and actually computes the audio in real-time on a separate thread, so most of the processing takes place outside of the primary CPU.
  • The SDK allows you to control the fidelity of each sound. As a result, you can allocate more processing power to critical sounds, while de-emphasizing others.

Simple, native integrations

It’s really easy to get started with the SDK’s new audio features. Unity developers will find a comprehensive set of components for creating soundscapes on Android, iOS, Windows and OS X. And native Android developers will now have a simple Java API for simulating virtual sounds and environments.


Experience spatial audio in our sample app for developers

Check out our Android sample app (for developer reference only), browse the documentation on the Cardboard developers site, and start experimenting with spatial audio today. We’re excited to see (and hear) the new experiences you’ll create!

Step inside your photos with Cardboard Camera

With Google Cardboard, you can take amazing trips to faraway places and feel like you’re actually there. But what if you could also use Cardboard to go back in time—to step inside personal moments like your favorite vacation or a holiday dinner with family? Now you can with the new Cardboard Camera app for Android.

Cardboard Camera turns the smartphone in your pocket into a virtual reality (VR) camera. It’s simple to take a photo: just hold out your phone and move it around you in a circle. Later, when you place your phone inside a Google Cardboard viewer, you'll get to experience something new: a VR photo.
VR photos are three-dimensional panoramas, with slightly different views for each eye, so near things look near and far things look far. You can look around to explore the image in all directions, and even record sound with your photo to hear the moment exactly as it happened.
Taken with Cardboard Camera at Jackson Lake, Wyoming. This simulates the 3D effect when seen in a Cardboard viewer.

With Cardboard Camera, anyone can create their own VR experience. So revisit the mountaintop that took hours to hike, or the zoo where you saw (and heard) the monkeys, or your birthday party with the cake out and candles still lit. Capture the moments that matter to you and relive them anytime, from anywhere.

Cardboard Camera is available today on Google Play in 17 languages.

http://3.bp.blogspot.com/-cXaR6CyEPw8/VmBpIVPkEkI/AAAAAAAARhg/hAv4GJWbWMA/s1600/Simulates_3D_Effect_in_Viewer.gif

Hungering for Game Utilities?

Posted by Alex Ames, Fun Propulsion Labs*

At Fun Propulsion Labs we spend some of our time building sample games to help demonstrate how to make easy-to-build, performant, cross-platform games. With the growth of Google Cardboard, we got to work and over many long evenings, feeding our animal hunger on sushi, we came up with Zooshi. Zooshi is an open source, cross-platform game written in C++ which supports:

  • Android, Android TV, Windows, OSX, and Linux
  • Google Cardboard
  • Google Play Games Services sign-in and leaderboards on Android
  • Level customization

Zooshi serves as a demonstration of how to build Android games using a suite of newly released and updated open source game technologies from Google:

  • Motive drives our Animation system, giving life and movement to the characters and environment.
  • CORGI, the Component Oriented Reusable Game Interface, is an Entity-Component system designed to allow users to define complicated game objects as collections of modular, custom-defined behaviors.
  • FlatUI is a straightforward immediate mode GUI system with a light footprint that makes building up user interfaces a breeze.
  • Scene Lab allows designers to design levels and edit entities from right in the game without needing to use an external editor.
  • Breadboard provides an easy to use node based scripting system for editing entity behaviors that's accessible to designers without deep knowledge of programming.
  • FPLBase is a cross-platform API layer, for abstracting low-level tasks like reading input and creation of graphical contexts.

As in our previous release, Pie Noon, we also made extensive use of Flatbuffers, Mathfu, fplutil, and WebP.

You can download the game in the Play Store and the latest open source release from our GitHub page. We invite you to learn from the code to see how you can apply these libraries and utilities in your own Android games. Take advantage of our discussion list if you have any questions, and don’t forget to toss some sushi around while you’re at it!

* Fun Propulsion Labs is a team within Google that's dedicated to advancing gaming on Android and other platforms.