This VR project permits to explore virtually an apartment and to activate the spinning globe using the Cardboard button or headset controller
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Build an Apartment
.gitignore
Build.zip
LICENSE
README.md
screenshot-1.jpg
screenshot.jpg

README.md

Udacity VR Foundations Nanodegree

Build an Apartment - Davide Zordan

Introduction

This VR project permits to explore virtually an apartment and to activate the spinning globe using the Cardboard button or headset controller.

Screenshot

Screenshot

The original project has been extended with the following functionalities:

  • added a spinning globe actioned by the Cardboard button or headet controller.
  • added a loading scene for presenting the title of the game: in the future this could be extended with instruction on how to use the game with the VR headset.
  • added an audio source for simulating the external sounds from the city.
  • added clock animation.

Getting Started

Build and Test

It's possible to test the project using Unity. If Unity is not available, an apk has been provided and can be deployed directly to an Android device. The project has been tested using both Google Cardboard and Oculus Go but the provided apk is targeting only Google Cardboard.

Using Unity

Scenes required (the order should be respected):

  • Build an Apartment\Assets\UdacityVR\Scenes\Loading.Unity
  • Build an Apartment\Assets\UdacityVR\Scenes\Build an Apartment.unity

Steps:

  • Unzip the zip file
  • Launch Unity (the project is targeting Unity 2017.4.15f1)
  • Open the project located under the folder “Build an apartment"
  • Open the scene "Build an apartment" to explore the hierarchy
  • VR mode has been set on the Android build platform in the Build settings
  • Use the menu “File->Build settings->Android->Build and Run” to run it on an Google Cardboard device. Replace the target if another platform (like Oculus Go) is required
  • Explore the scene in the headset

Deploy to the device

If needed, a build targeting Google Cardboard has already been provided compressed into the archive "Build.zip" and can be deployed to a device using the following command from an adb command prompt:

adb install “BuildAnApartment.apk”

Versions Used

Related Repositories