Re: [osg-users] Running OSG with Emscripten

2017-06-30 Thread michael kapelko
Hi. Thanks, Jannik. I used your suggestion in the tutorial ( https://github.com/OGStudio/openscenegraph-cross-platform-guide/tree/master/1.10.SampleWeb ) it works like a charm! 2017-02-14 2:56 GMT+07:00 Jannik Heller : > Hi kornerr, > > Try using Geometry::setUseVertexBufferObjects(true) - this sh

Re: [osg-users] Running OSG with Emscripten

2017-02-13 Thread Jannik Heller
Hi kornerr, Try using Geometry::setUseVertexBufferObjects(true) - this should make OSG use VBO's and EBO's (element buffer objects) instead of the standard display lists. Cheers, Jannik -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70176#70176

Re: [osg-users] Running OSG with Emscripten

2017-02-12 Thread michael kapelko
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 : > 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 FU