[osg-users] Running OSG with Emscripten

michael kapelko kornerr at gmail.com
Sun Feb 12 20:06:11 PST 2017


I guess there's no such an option, then. And we have to resort to emulate
the binding.

2017-02-09 23:31 GMT+07:00 michael kapelko <kornerr at gmail.com>:

> Hi.
> I've just finished getting OSG to render a cube with the simplest shaders
> in Web (see attached image).
> However, I got it working only with a so-called FULL_ES2 emulation (
> http://kripken.github.io/emscripten-site/docs/porting/
> multimedia_and_graphics/OpenGL-support.html#opengl-
> support-opengl-es2-0-emulation )
>
> Without the emulation, I get the following error:
> Error: WebGL: drawElements: Must have element array buffer binding.
>
> I wonder if OSG has an option to make those buffers bound, so that WebGL
> is happy with it.
>
> Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170213/dd8ca045/attachment-0002.htm>


More information about the osg-users mailing list