Follow

made a mini-site for my emscripten pd experiments:
mathr.co.uk/empd/

fighting with Emscripten, Regal, GL, GLU, SDL, Gem

mathr.co.uk/empd/gemtest.html victory!

working on cleaning up / committing my changes to the Gem sources now, will push as soon as I've got a reproducible build script

mathr.co.uk/empd/#build-cleanr added some scripts for building in a chroot, so you don't risk potential weird interactions with your main dev system

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...

Ported my mathr.co.uk/puzzle to empd, not published it formally yet...

With patched 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 ( 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.

Sign in to participate in the conversation
lurk.org

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that. This is part of a family of services that include mailing lists, group chat, and XMPP.