Skip to content

jwangsadinata/CardBoardVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardBoardVR

These examples are for Android's CardBoard. They are built with AndroidStudio in java. For more information see https://developers.google.com/cardboard

CardBoardSample is Google's example code, but setup for studio correctly.

FloatingCube is a floating cube in space. It is based on the OpenGL30Cube example. This example separates the classes to make it easier to see the CardBoardActivity and the StereoRenderer. The cube and color class are the same as the opengl30cube example. The CardboardOverlayView is borrowed from the CardBoardSample code.

FloatingCubes is based on FloatCube, except there are 8 cubes, which each turn differently. Included the Floor code from CardBardSample in Floor.java with the necessary parameters from the renderer are send to the draw function. Since GLES30 is backward compatible to 2.0, no changes where made to the shader/vertex code.

FlyingAroundACube is based on FloatingCube. When you "click/touch" you will move (mostly) in the direction the phone is facing.

These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. All examples are for Android.

About

Android CardBoard VR (java) examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.0%
  • GLSL 1.0%