Click here to Skip to main content
15,887,337 members
Articles / Desktop Programming / MFC
Article

K3DSurf: Math for fun

Rate me:
Please Sign up or sign in to vote.
4.97/5 (137 votes)
11 Dec 20062 min read 211K   9.5K   137   57
K3DSurf is a program to visualize and manipulate multidimensional surfaces by using Mathematical equations.

Sample Image

Introduction

K3DSurf is a program to visualize and manipulate multidimensional surfaces by using Mathematical equations. It's also a "Modeler" for POV-Ray in the area of parametric objects and Isosurfaces.

Features

  • 3D, 4D, 5D and 6D HyperObjects visualization.
  • Full support of all functions (like C language).
  • Support of mouse event in the drawing area (Left:Rotate, Right:Scale, and Middle:Translate).
  • Animation and Morph effect.
  • POVscript and Mesh file generation (and run if POV-Ray is installed). VRML2 and OBJ files also supported.
  • More than 100 well known examples.

Current Version: K3DSurf 0.6.1 (11 Dec 06)

K3DSurf has now an integrated OpenGL viewer that makes it far faster than before in manipulating height resolution mathematical models. The gain of performance is huge, especially if you have an OpenGL based graphics card, and the use of the CPU can drop to...0% even with the morph effect in action at full-screen mode.

Tested with:
  • Laptop IBM T20 (P3 550M, 256M, 8M graphics card) ==> Works fine
  • AMD 2GH, ATI Radeon 9000Pro/128M ===> Huge performance gain for interactive manipulation, CPU usage drops to 0% with animation.
Enjoy ;-).

New features in v0.6.1:

  • Condition area now works for Isosurfaces with the OpenGL viewer.
  • "Tools" page now uses the OpenGL viewer for real time manipulation and generation of the mathematical models.
  • A new independent component named "Control Center" to control the drawing for Iso/Parametric surfaces without having to switch between pages (look at the "Options" page).
  • Grid max for Isosurfaces now is 60x60x60 (before it was 30x30x30), and the maximum number of polygons is now 99.000 (before, it was 9900).
  • Info in the OpenGL window for Parametric and Isosurfaces.
  • Bug fix and new examples for Isosurfaces.

Update of code source/binaries are available for download from here or Sourceforge. Also available, K3DSurf with install/uninstall program. All your comments, suggestions, and bug reports are welcome. Thanks!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionMake File Pin
Member 90061585-Jul-13 18:45
Member 90061585-Jul-13 18:45 
GeneralHappy new year to all of you, Pin
virtualmeet31-Dec-06 13:21
virtualmeet31-Dec-06 13:21 
GeneralNice app, but not an article Pin
juggler14-Dec-06 0:48
juggler14-Dec-06 0:48 
GeneralRe: Nice app, but not an article Pin
virtualmeet14-Dec-06 6:11
virtualmeet14-Dec-06 6:11 
Hello,
I would just add some precision, this application IS NOT a SHARWARE, this is an open source application along with a binary, with explanation on how to make it yourself from the code. You'r right about the article, it could expand, but I can tell that the subject is worth for a big book on the 3D programing...and my time and english knowledge are very limited infortunatly. For the parser, I've already pointed in one of my message to an excellent article in codeproject (called muparser by eberg, see his message bellow): http://codeproject.com/cpp/FastMathParser.asp
K3DSurf is not a single application, in fact it can split easily to 4 or 5 interesting ones, with different concepts and use. K3DSurf is a heivy weight compared to the others and can give a good knowlge to programers on how to implement there 3D applications. However, they should have a minimum knowlege on the subject and a big need of learning. It's also intended for non programers and those with an alergy for math: math is mixed with some artistic views to make it more tasty for everyone.
Finally, K3DSurf was made for one reason: There were non one for me to look at the time when I was student, so I created one and put it here to share it with others.
Cheers,
Taha

GeneralVery good job Pin
Aaron Planell4-Dec-06 22:10
Aaron Planell4-Dec-06 22:10 
GeneralRe: Very good job Pin
virtualmeet5-Dec-06 7:08
virtualmeet5-Dec-06 7:08 
GeneralUgly article... [modified] Pin
Stan Alex4-Dec-06 8:43
Stan Alex4-Dec-06 8:43 
GeneralRe: Ugly article... Pin
virtualmeet4-Dec-06 9:56
virtualmeet4-Dec-06 9:56 
GeneralRe: Ugly article... Pin
virtualmeet4-Dec-06 11:24
virtualmeet4-Dec-06 11:24 
GeneralRe: Ugly article... Pin
Stan Alex5-Dec-06 3:51
Stan Alex5-Dec-06 3:51 
GeneralRe: Ugly article... Pin
virtualmeet7-Dec-06 7:17
virtualmeet7-Dec-06 7:17 
GeneralWow... Pin
Paul Conrad28-Nov-06 14:37
professionalPaul Conrad28-Nov-06 14:37 
GeneralRe: Wow... Pin
virtualmeet28-Nov-06 17:28
virtualmeet28-Nov-06 17:28 
GeneralInteresting Pin
User 58261919-Sep-06 11:35
User 58261919-Sep-06 11:35 
GeneralRe: Interesting [modified] Pin
virtualmeet19-Sep-06 14:37
virtualmeet19-Sep-06 14:37 
GeneralRe: Interesting Pin
User 58261920-Sep-06 7:13
User 58261920-Sep-06 7:13 
GeneralVery good job Pin
beavis11-Sep-06 20:16
beavis11-Sep-06 20:16 
GeneralRe: Very good job Pin
virtualmeet12-Sep-06 3:55
virtualmeet12-Sep-06 3:55 
QuestionFor Windows??? Pin
Sarath C9-Sep-06 22:03
Sarath C9-Sep-06 22:03 
AnswerRe: For Windows??? Pin
virtualmeet10-Sep-06 4:21
virtualmeet10-Sep-06 4:21 
AnswerRe: For Windows??? Pin
virtualmeet10-Sep-06 11:57
virtualmeet10-Sep-06 11:57 
GeneralRe: For Windows??? Pin
revram12-Sep-06 1:51
revram12-Sep-06 1:51 
GeneralRe: For Windows??? Pin
virtualmeet12-Sep-06 3:49
virtualmeet12-Sep-06 3:49 
GeneralRe: For Windows??? Pin
revram12-Sep-06 22:55
revram12-Sep-06 22:55 
GeneralRe: For Windows??? Pin
virtualmeet13-Sep-06 4:38
virtualmeet13-Sep-06 4:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.