Abstract
We describe an interactive surface visualization tool implemented in C, OpenGL, and GLUT. The surface is represented by a set of triangles in Euclidean 3-space, thus allowing for unrestricted topology. Capabilities include color-filled contour plots (for the graph of a bivariate function) and surface perspective plots with lighting and smooth shading. Interactive zooms and axis rotations are executed with a single keypress or mouse motion. The advantage of this code over the many alternatives is that it is small, simple, portable, easy to install and use, and the source code is available if the user wishes to change defaults, add light sources, or whatever.
Supplemental Material
Available for Download
Software for "glsurf --- an interactive surface plotting program using OpenGL"
- Kilgard, M. 1996. OpenGL Programming for the X Window System, Addison-Wesley, Reading, MA. Google Scholar
- OpenGL Architecture Review Board. 1997. OpenGL Programming Guide, Addison-Wesley, Reading, MA.Google Scholar
Recommendations
A numerical evaluation of HSL packages for the direct solution of large sparse, symmetric linear systems of equations
In recent years, a number of new direct solvers for the solution of large sparse, symmetric linear systems of equations have been added to the mathematical software library HSL. These include solvers that are designed for the solution of positive-...
A column approximate minimum degree ordering algorithm
Sparse Gaussian elimination with partial pivoting computes the factorization PAQ = LU of a sparse matrix A, where the row ordering P is selected during factorization using standard partial pivoting with row interchanges. The goal is to select a column ...
Comments