Archive for February 21st, 2008

21
Feb

2D Supershapes

Realtime, but 2D-only, sadly…
Based on code from this page.

SuperShape 2D 01SuperShape 2D 02SuperShape 2D 04SuperShape 2D 03
SuperShape 2D 05SuperShape 2D 06

21
Feb

SuperShapes in Quartz Composer!!

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…

SuperShape 01
SuperShape 02
SuperShape 03

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…




 

February 2008
M T W T F S S
« Jan   Mar »
 123
45678910
11121314151617
18192021222324
2526272829  

Categories

Links

Blog Stats

  • 28,387 hits