cancel
Showing results for 
Search instead for 
Did you mean: 

Samples/guide of native GUI components for beginners?

jerrytian
Protege
Though having a strong background from mobile app development, I have to commit I am total beginner on 3D stuff which is required by Oculus mobile.

Currently, native app is my main focus, and the only good places for learning Oculus mobile is various sample projects/documents distributed with SDK, and it really helps during the learning process by reading/moding/compiling and running them.

Now I am in the stage of implement a virtual GUI system within my app, I believe that Oculus must have built its own native GUI component framework, which is the base of the Oculus Store, Oculus 360 Photo(which I believe the Oculus360PhotosSDK sample project is a very early version of it) etc, so my decision here is to reuse these components too.

Currently I am looking into how to build a menu hierarchy in VR, and I got this:


jerry:ovr_sdk_mobile_1.0.0.0$ find . -name "*Menu*"
./VrAppSupport/VrGUI/Src/VRMenuEventHandler.cpp
./VrAppSupport/VrGUI/Src/VRMenuEvent.h
./VrAppSupport/VrGUI/Src/VRMenuMgr.h
./VrAppSupport/VrGUI/Src/VRMenuComponent.cpp
./VrAppSupport/VrGUI/Src/VRMenuComponent.h
./VrAppSupport/VrGUI/Src/VRMenuObject.h
./VrAppSupport/VrGUI/Src/VRMenuEvent.cpp
./VrAppSupport/VrGUI/Src/VRMenu.h
./VrAppSupport/VrGUI/Src/VRMenuEventHandler.h
./VrAppSupport/VrGUI/Src/VRMenuMgr.cpp
./VrAppSupport/VrGUI/Src/VRMenu.cpp
./VrAppSupport/VrGUI/Src/UI/UIMenu.h
./VrAppSupport/VrGUI/Src/UI/UIMenu.cpp
./VrAppSupport/VrGUI/Src/VRMenuObject.cpp
./VrAppFramework/Src/UniversalMenu_Commands.h
./VrSamples/Native/Oculus360PhotosSDK/Src/PanoMenu.cpp
./VrSamples/Native/Oculus360PhotosSDK/Src/PanoMenu.h


jerry:ovr_sdk_mobile_1.0.0.0$ find . -name "*Browser*"
./VrAppSupport/VrGUI/Src/FolderBrowser.cpp
./VrAppSupport/VrGUI/Src/FolderBrowser.h
./VrSamples/Native/Oculus360PhotosSDK/Src/PanoBrowser.cpp
./VrSamples/Native/Oculus360PhotosSDK/Src/PanoBrowser.h
./VrSamples/Native/CinemaSDK/Src/CarouselBrowserComponent.h
./VrSamples/Native/CinemaSDK/Src/CarouselBrowserComponent.cpp
./VrSamples/Native/Oculus360VideosSDK/Src/VideoBrowser.cpp
./VrSamples/Native/Oculus360VideosSDK/Src/VideoBrowser.h



Then comes the problem, though they seems very promising, but even the simplest usage of them in sample projects, is quite a lot of codes, and unlike I can start learing OpenGL by simply draw a triangle/cube in gear, I am a little bit lost here.

Any suggestions or help into this field is much appreciated.
4 REPLIES 4

nomades
Honored Guest
+1
Sample projects are great.
However, we need more basic component based sample code.
For example,
- How to add a button, label, progressbar, etc.

markya0616
Protege
+1
For me, Gear VR app is hard to start...

leftler
Protege
Honestly I was in the same boat as you. If you have never really done 3D development before you might be better off using a game engine like Unity or Unreal to do the 3D heavy lifting for you.

I started to make my first apps on Unity and have yet to run in to a wall that I wish I had written it in native yet.

damasceno
Honored Guest
Try my basic tutorials at:


http://208.94.246.38