fighting with Emscripten, Regal, GL, GLU, SDL, Gem
Updated the Gem example with a spinning [cube] with desktop OpenGL 1.x Fixed Function Pipeline lighting emulated in WebGL by Regal.
Other primitives like [sphere] and [torus] fail due to a bug with GL_QUAD_STRIP, have reported it to the Emscripten port.
[teapot] fails for other reasons (incomplete GLU? something else?), seems to be an infinite loop rather than a simple failure...
With patched #gem to generate mipmaps, may become unnecessary with upstream changes (so I can do it on the Pd patch level instead of in the C++).
Struggled with getting pix_snap2tex working, so ported it to gemframebuffer, but that looked bad (#WebGL does antialiasing only for the main output, not FBO). Turns out it was something unrelated (bad define in my GLEW hack), and pix_snap2tex works great in the end.
WIll work on the audio today, needs more variation.
@mathr that's mesmerising!
Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.