Forum Discussion
philippM
12 years agoHonored Guest
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
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
- 2EyeGuyAdventurerMaybe here?
https://github.com/KozGit/DOOM-3-BFG-VR - philippMHonored Guestdoesn'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. - electHonored Guesthttps://github.com/elect86/JavaOculusRoomTiny/tree/master/src/roomTinySimplified
Client distortion jogl example of the tinyRoom
(lighting doesnt work and I dont know why) - philippMHonored Guestthanks, the Java code looks totally cool!
I don't care for the lighting, I'm mainly interested in the shader and distortion mesh setup.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 months ago
- 6 months ago
- 3 years ago