i wound up adding a lot of 3D specific hacks like the ordering of elements (e321 instead of e123, etc) because there were just too many patterns to try to figure out how to generate in code otherwise. but i do generate the multiplication table in code so at least that's something, i.e. the table in the top right here: http://terathon.com/pga_lengyel.pdf
i modified the script to dump the computation split into xmm registers, but the result is that half the instructions are just dedicated to loading the B vectors. didn't benchmark it though; realistically you wouldn't use the full function and just have subtypes for points/lines/planes etc where most of the terms are zero
more of a curiosity thing than attempting to solve a problem
Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.