sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

RenderBuffers not set in Render() path in OpenGL. #266

Open russell-taylor opened 7 years ago

russell-taylor commented 7 years ago

@Findus79 reports on Gitter that the example programs work in Extended mode, and his program works in DirectMode but not Extended mode because the buffers are not filled in on the OpenGL path in Extended mode (though they are in DirectMode).

DuFF14 commented 7 years ago

This is with the regular RM examples installed with RM installer / SDK? I cannot reproduce here, OpenGL examples are working in either mode.

russell-taylor commented 7 years ago

RenderManager demos work fine, but they ignore the RenderBuffer entries. The user app is making use of them, so is failing. We don't have a method to reproduce; we should be able to do so by setting the buffers in one of the Render() display apps, like the high-poly-count one. It should then work in DirectMode but not extended until fixed.

Findus79 commented 7 years ago

Hi, there seems to be a misunderstanding, so I'd like to add that I do not use the renderbuffers. I just noticed that they are set in DirectMode and not set in ExtendedMode. My Render/Game Loop looks just like the examples (I built my application upon them), that is:

I just noticed the differences with the render buffers when debugging my problem. I do not use them directly.

russell-taylor commented 7 years ago

Okay, good to know. They should probably still be set in both cases, so I'll leave the issue open.