WebGL build not working in browser
Posted: 22 Feb 2019, 15:04
Hello.
We have been using Noesis for a long time already in the desktop OpenGL application and it works fine (C++ API). Now when we have WebGL version (C++ -> JS via Emscripten) we cannot make Noesis show up in browser. It works fine in both WebGL pipeline simulated via Desktop OpenGL by our engine and in ANGLE, but not in actual WebGL in browser.
Noesis in browser seems to work in general, e.g. errors in XAML are reported. But is not rendered to the canvas. The only difference between ANGLE and Browser versions is the GL context initialization code (not Noesis RenderDevice subclass - this one is shared between Angle and Web renderers, so executed code is identical) and Noesis binaries (dll vs. bc).
I know it is hard to tell anything without seen the code... But maybe it is a known issue or there are known caveats.
Last try to make it work was done using version 2.2.0b5 (r7619). Provided examples work well.
We have been using Noesis for a long time already in the desktop OpenGL application and it works fine (C++ API). Now when we have WebGL version (C++ -> JS via Emscripten) we cannot make Noesis show up in browser. It works fine in both WebGL pipeline simulated via Desktop OpenGL by our engine and in ANGLE, but not in actual WebGL in browser.
Noesis in browser seems to work in general, e.g. errors in XAML are reported. But is not rendered to the canvas. The only difference between ANGLE and Browser versions is the GL context initialization code (not Noesis RenderDevice subclass - this one is shared between Angle and Web renderers, so executed code is identical) and Noesis binaries (dll vs. bc).
I know it is hard to tell anything without seen the code... But maybe it is a known issue or there are known caveats.
Last try to make it work was done using version 2.2.0b5 (r7619). Provided examples work well.