Realtime, but 2D-only, sadly…
Based on code from this page.
Archive for February 21st, 2008
2D Supershapes
Before you get too excited, they’re not realtime. I have a lot of learning to do before I’ll be able to get realtime SuperFormula rendering happening in QC, sadly.
These are models rendered out of Paul Bourke’s supershapes X11 application which I just bought, imported into QC (via MeshLab) with the OFF model rendering plugin.
Cheating, really, but I couldn’t resist…
For those not in-the-know, the SuperFormula is a mathematical formula capable of creating a vast range of 2D and 3D forms, including many that apear in the natural world, from just seven variables.
See the Geniaal website for more info. It’s pretty-much the holy grail of realtime generative 3D. There’s plenty of info about it on the web, including some ready-made OpenGL code, so I’m eventually planning to find a way of generating SuperShapes in QC (assuming someone doesn’t beat me to it, of course). That means either in GLSL, or as a custom plugin (which might actually be easier, given the OpenGL code itself is already available). I know a few people who may be able to help with the 3D maths, so it’s not a complete pipedream…








