Hello, I didn't see anything about a Gnoga/WebGL binding, so I generated one and ported the first six tutorials from the MDN WebGL guide <https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial> to it. You can see it here <http://thewhitelion.eu:8080/>. At the moment it's using a task with a *delay* 0.02 for animation, but what I really want to do is create an event for the requestAnimationFrame cycle because I think that would be smoother. Source will follow when I've cleaned it up a bit. It's mostly auto-generated from the XML specification <https://github.com/KhronosGroup/OpenGL-Registry/blob/master/xml/gl.xml>, with some tweaks to handle e.g. the odd nature of glDrawElements, and the img tag version of glTexImage2D.
cheers, Fraser.
_______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list