Skip to main content
New Participant
November 23, 2014

Oculus SDK Tutorial

Hello everybody.

I would like to implement my idea with Oculus Rift DK2. Unfortunately I have limited experience in development.
I have some knowledge about Direct3D. I am able to draw and transform 3D objects on the screen. This will be sufficient for the project.

I have been exploring Oculus SDK's TInyRoom demo for a while now, but could not correlate my Direct3D knowledge with the code. The structure is not easy for me to understand.

Is there any step by step tutorial for Oculus SDK? Or is there any simple demo which just outputs simple triangle into Oculus? I need as little code as possible in order to figure out how it works.

I would appreciate any help which will help me get started with development. :roll:

    4 replies

    Up and Coming
    November 24, 2014
    I would recommend you take a look at the work of Brad Davis (jherico in the forum). For instance, he has created a minimal example exactly with the goal of making it more simple compared to the Oculus SDK demos (it is based on OpenGL but that should not matter if you are only looking for the SDK specific stuff). If you want a more complete "getting started": He is also working on a book "Rift in Action", which thoroughly covers all aspects of Rift development, and is available as early access.
    InventorAuthor
    New Participant
    November 24, 2014
    Thank you a lot!
    That is a great start. Unfortunately it is still not as easy as I hoped, since OpenGL differs from Direc3D. Anyways, I now have more material to study.

    I would appreciate if someone can provide an example program which does the same using Direct3D.
    Participant
    November 24, 2014
    Search these forums. I know of two 'single file' D3D examples I dug up two weeks ago.
    Using the SDK examples and these external examples helped me add OVR support to my application in a few hours.

    here is one, there is at least one more.

    https://github.com/poppeman/SimpleOVR/blob/master/SimpleOVR_D3D11/SimpleOVR_D3D11.cpp
    InventorAuthor
    New Participant
    November 25, 2014
    This is what I needed! Thank you very much!
    Of course I was looking for tutorials before starting the thread. Probably I used bad keywords for searching. This has to be sufficient for me to get started. 8-)