Forum Discussion
whitehexagon
11 years agoExplorer
JOVR with JOGL and SDK rendering
I'm trying to get something really basic running with OSX, JOVR, OpenGL, JOGL, and SDK 0-4-1 rendering. But I'm getting this fatal error at step 5.5 in the code below. C [libGL.dylib+0x18b5] glG...
whitehexagon
11 years agoExplorer
"neph" wrote:
Hi.
I'm not a JOGL user so sorry if it doesn't help, but:
In step 5, have you tried calling hmd.configureRendering() instead (according to the JOVR example:https://github.com/jherico/jocular-examples/blob/master/src/main/java/org/saintandreas/vr/RiftApp.java#L76).
And also, in the rendering loop, you recreate the eyeRenderPose array every time. Maybe this is related to the second error (considering that it seems to be picky about the memory usage).
Thanks for the two suggestions. I have just tried both changes, but get the same errors for both.
I also realized that the display(...) call gets called for each eye and I have adjusted now the hmd calls:
if (eye == 0) {
hmd.beginFrameTiming(++frameCount);
}
...rendering code
if (eye == 1) {
hmd.endFrame(eyeRenderPose, eyeTexture);
}
still the same second error though.
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
- 1 year ago
- 2 years ago
- 9 months ago
- 10 years ago