Skip to main content
Up and Coming
September 11, 2014

Any more client-based openGL rendering example code

Hi there,

I'm looking for example code on CLIENT based-rendering using openGL.
So far I've only found this https://github.com/OculusRiftInAction/OculusRiftInAction/blob/master/examples/cpp/Example_X_ClientSideDistortion.cpp by jherico, but everything else I found for client-based rendering is either for the legacy SDK, or using DirectX.
The TinyRoom Example has Client rendered example code, but it is DirectX and using HLSL shaders instead.

Basically I'm looking for a nice one-file openGL code example like it existed for client-based rendering with the legacy SDK, or like it exists for SDK-based rendering.

Philipp

    4 replies

    Up and Coming
    September 11, 2014
    Currently working on Dolphin VR Follow along: https://github.com/CarlKenner/dolphin/commits/VR-Hydra Latest Version: viewtopic.php?f=42&t=11241&start=1020#p249426
    philippMAuthor
    Up and Coming
    September 11, 2014
    doesn't exactly fall in the 'one page' category of example code - we had that for the legacy SDK, and it worked well:
    viewtopic.php?f=20&t=88
    Tiny Room is not longer included in the current SDK 0.4.2 and the latest versions were broken in openGL mode, at least on Mac.
    Up and Coming
    September 12, 2014
    https://github.com/elect86/JavaOculusRoomTiny/tree/master/src/roomTinySimplified

    Client distortion jogl example of the tinyRoom

    (lighting doesnt work and I dont know why)
    philippMAuthor
    Up and Coming
    September 12, 2014
    thanks, the Java code looks totally cool!

    I don't care for the lighting, I'm mainly interested in the shader and distortion mesh setup.