Opengl / c# source - Paul Bourke 3d Supershapes

by Tom 30. May 2005 12:07

(Programmers only !!! )

While checking out some stuff on my PC I noticed some old sloppy code lying around : A quick and dirty hack to show how Paul Bourke's supershape works in 3d. It was a quick hack from a c#/TAO nehe OpenGl Example, so don't expect to much from it.

It uses the same parameters for both dimensions, so it is not fully identical to the program of Paul Bourke...

More info on Paul Bourke's supershapes can be found here.

a screenshot :

 

Keys to use :

U I O P

J K L M

=> Change supershape parameters

End : Reset  Supershape parameters to 1

F1 => Switch Fullscreen/Windowed mode

W => Show wireframe

PgUp/PgDn => faster/slower rotation

Home => Stop rotation

 

You can download it here : http://users.pandora.be/bull/core/SupershapeGL.cs .

 

Have fun !!!

 

 

Bookmark and Share

Tags: , , , ,

Development

About me

Tom Janssens op LinkedIn

Tom Janssens op twitter

Core bvba RSS

My name is Tom Janssens and I am the owner of Core bvba, a software and consultancy company.
I am married to Liesbeth and have 2 sons named Quinten and Matisse.
ICT is both my job and passion.
Next to this my other hobby is actively playing music (mostly guitar), and I am also a lousy poker player.

I am also the founder of the following LinkedIn groups:
BDD Professional
Asp.Net MVC professional

More info about me and my company...