Skip to content

JamesHagerman/OculusEdit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hello_opengl_oculus

A combination of a few examples into a single file, hopefully cross platform OpenGL Oculus Rift "boilerplate".

Sources used

Almost all of this code was taken from other examples, but rearanged a bit to fit some of my needs. These were the projects I used as examples:

Most of the cross platform stuff in main.cpp is from RiftSkeleton. Most of the window, texture, and framebuffer code was taken from the simple one page opengl example.

I'm going to use this code as a starting point for larger projects but those projects will require a much more robust architecture than what is currently found here. This pure, functional programming, single page approach is easier for learning the Oculus SDK than trying to understand all of the Object Oriented structures found in RiftSkeleton... or trying to work backwards from the official Oculus demos to get OpenGL working.

That said, this probably has issues. I haven't tested it on any other platforms yet. I'll probably need to make some CMake scripts at some point to get the cross platform stuff working correctly.

But for now, this will be enough to start!

About

This is an app built off of my rough boilerplate. It will take the existing code and turn it into something more usable.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages