Super in shape!

eyebex 101 Nov 02, 2004 at 18:34


As a big fan of the demoscene’s 64kb intros, I’m very interested in procedural generation of almost everything: Textures, sound … or just ordinary meshes. Well, these meshes are not-so-ordinary, I believe. Whereas some of you may be familiar with superquadrics, the collage above shows the even superior supershapes. Basically, you use two 2D superformulas which are extruded to 3D using the spherical or toroidal product to generate these meshes. Many thanks to Paul Bourke, by the way, for the resources about supershapes on his excellent site.

The meshes are rendered using my GALE “Graphics Abstraction Layer Engine”, which is all a tiny math library, a simple scene graph and a C++ wrapper for OpenGL extensions. I hope GALE’s source code will be publicly available at my site later this year. The effects used in the screenshots are (left to right, top to bottom): Gooch-shading using GLSL (taken from the OpenGL Orange Book), cubic environment-mapping of a toroidal supershape (cubemap taken from the NVIDIA SDK), HDR environment-mapping of a spherical supershape (cubemap taken from the Light Probe Image Gallery) and metal-paint shading, taken again from the NVIDIA SDK. As everything was rendered on an ATI Radeon 9800 Pro, I needed to optimize the NVIDIA shader a little bit to make in fit into the shader instruction limit of the 9800.

Famous last words: Throw away Cg, GLSL rules ;-)

6 Replies

Please log in or register to post a reply.

davepermen 101 Nov 02, 2004 at 22:13

looks great. i love 64kb intros myself, too.. my fav. is and will always be heaven7..

anubis 101 Nov 03, 2004 at 07:33

heaven 7 is great :) yay for heaven 7 !

NomadRock 101 Nov 03, 2004 at 07:36

Whee, I could spin that NVidia cubemap all day long!

Gonna put that stuff together into an intro?

eyebex 101 Nov 03, 2004 at 08:27

I don’t think just putting that stuff together for an intro is enough … I favor design much over technical features. There are way too many in-and-out-design intros which basically are just a showcase of an 3D engine. Nevertheless, releasing an intro has been a dream of mine ever since. Maybe if I some time finish my GALE library, incl. a GPU accelerated texture generator, and have a nice storyboard for an intro, I’ll release something. Just check my site from time to time ;-)

Smokey_ 101 Nov 03, 2004 at 09:04

Very nice eyebex, keep up the good work. I like someone who doesnt rely on artist for models/meshes


NeZbiE 101 Nov 04, 2004 at 10:19

Hey guys, if you do decide to make intros, please try to support the North American demoparty Pilgrimage in the future! =)