The second build simply has the following GLExtension.cpp line:
isBufferObjectSupported = isVBOSupported && isPBOSupported;
replaced with:
isBufferObjectSupported = isVBOSupported;
So the problem is not really in PBO support, but in the fact that
possibly missing PBO support removes buffer object support. This is
wrong. The osgemscripten example uses VBO and this is what WebGL1
requires.
You can build osgemscripten example yourself (README explains how to
do it, it's easy on Linux) and see the errors.
Make sure to use the updated CMakeLists.txt I've attached to this email.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
Hi Michael,
Thanks for the details. I've started looking into the GLES2 specs,
and buffer object support is there, just one mention of vertex buffer
object and no mentions of pixel buffer objects.
Is sounds like GLExtensions.cpp just needs to be tweaked a bit to
properly enable/disable the correct features.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to OpenSceneGraph Users
Hi Michael,
On 23 March 2018 at 11:53, Robert Osfield <robert....@gmail.com> wrote:
> Is sounds like GLExtensions.cpp just needs to be tweaked a bit to
> properly enable/disable the correct features.
I have checked in the follow change to master and the 3.6 branch,
could you let me know if this works fine.