View Full Version : thorus knots & metaballs
07-09-2004, 10:31 PM
where can i find information about making thorus knots and metaballs in windows(of course under opengl)
07-09-2004, 11:10 PM
A torus is pretty simple a number of circles rotated around another circle and make triangles out of it, glut/glu has source code you can look at.
Metaballs and knots are a little more complicated, I guess you could give google a shot, there should be some information.
A have seen a number of libraries with support for metaballs mesh generation but I don't remember any names at the moment.
07-10-2004, 10:55 AM
The saver source code on this page includes an implicit surface libary for drawing metaballs: http://www.reallyslick.com/code.html
Just to up the ante on this question a little, does anyone know how to write an implicit surface equation that draws a torus knot? And I don't mean just the sum of a bunch of sphere equations; that would be too easy :)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.