GearVRf Samples and Demos¶
To get the GearVR Framework Samples and Demos, clone the following repository in the same directory as where you did the clone for the framework source code:
$ git clone https://github.com/gearvrf/GearVRf-Demos.git -b release_v3.2
!!!Note You should put both GearVRf/ and GearVRf-Demos/ in the same directory.
Sample GearVRf Applications¶
Sample GearVRf applications, available in the GearVRf SDK, can provide you with valuable insight into writing your own VR applications.
!!!Note: The flat images below represent GearVRf applications with actual stereographic displays.
|Solar system with four inner rotating planets revolving around the rotating sun as viewed from the point on the moon closest to Earth
Asynchronous loading of meshes and textures is used.
Loading order is by priority; no mesh or texture is loaded twice.
Animation is used to create the illusion of rotation and revolution.
|Dynamic Graphics Board
|Images and video displayed on a board inside a 3D scene
A video or image is displayed in a rectangular scene object (up the stairs).
Animation is used to switch images and video smoothly.
OnStep decides and defines the animation to apply, based on HMD orientation.
Post-effect converts view to sepia colors.
|Color of objects (bunnies and rectangles) changes to red when an object is at the center of the view
OnStep updates scene object colors.
Implements a color custom shader.
|Pick and Move
|3D mirror ball can be selected and repositioned in a 3D scene
Uses the HMD trackpad.
Uses Cubemap support.
Uses scene picking.
|Useful Scene Objects
|Contains fundamental scene objects (such as a cube, sphere, cone, and text) that you can use in your own apps|