Super in shape!

C53b386a893da037739d159e4e40b8ef
0
eyebex 101 Nov 02, 2004 at 18:34

04-11-02.jpg

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

6ad5f8c742f1e8ec61000e2b0900fc76
0
davepermen 101 Nov 02, 2004 at 22:13

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

F7a4a748ecf664f189bb704a660b3573
0
anubis 101 Nov 03, 2004 at 07:33

heaven 7 is great :) yay for heaven 7 !

7543b5c50738e23b200e69fe697ea85a
0
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?

C53b386a893da037739d159e4e40b8ef
0
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 ;-)

98f4f8092f33e3f3809ac08c1ba7f7eb
0
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

:)

760a6f5fe0bf771163e05e808716020b
0
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! =)