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.

Update

The link does not work anymore; you can find it here: http://paulbourke.net/geometry/supershape3d/

 

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

About Tom

Tom Janssens op LinkedIn

Tom Janssens op twitter

Core bvba RSS

 

Tom Janssens is an independent freelance ICT consultant that has been "into computers" ever since the age of 7.

Typing source code from a book evolved into exploring the limits of coding in procedural, assembly and object-oriented languages.
As he matured in software coding, he started focussing on the problems surrounding software development, and learned that software development is usually about people and interactions first, and about technology second.

Due to his diverse track record he gained insights in a lot of aspects of the software development process. Currently his main focus is on strategic ICT advice, lean product/project development and improving the software development process and architecture.

He avoids ivory-tower-approaches by applying and verifying the applicability of the latest tech buzz in software experiments.

He is also the founder of the following LinkedIn groups:

CQRS Professional
BDD Professional
Asp.Net MVC professional

More info about Tom and his company...


Advertisement

Forget all your SCRUM -, Kanban - and other Agile and Lean certificates

Here is the only true AGILE and LEAN certificate you will ever need:

The Creative Recursive Analysis Process Certificate
(CRAP Certificate for short)

More info can be found at the official CRAP certificate website:
http://bit.ly/CRAPCertificate