tri_surface_display_opengl, a C++ code which gets the names of the node and element files defining a 3D triangulated surface or "tri_surface", reads the information from the files, and displays the surface on the screen.
The surface is presented in rotation about the X axis. By clicking the mouse button, the axis of rotation will be advanced from X to Y to Z and back to X.
tri_surface_display_opengl prefixwhere prefix is the common filename prefix, so that:
The computer code and data files described and made available on this web page are distributed under the MIT license
tri_surface_display_opengl is available in a C++ version.
tri_surface_display_opengl_test
FERN_OPENGL, a C++ code which uses OpenGL to display the Barnsley fractal fern.
opengl_test, C++ codes which illustrate the use of the OpenGL graphics library;
POLYGONAL_SURFACE_DISPLAY, a MATLAB program which displays a surface in 3D described as a set of polygons.
POLYGONAL_SURFACE_DISPLAY_OPENGL, a C++ code which displays a surface in 3D described as a set of polygons, using OpenGL.
SCREENSHOT_OPENGL, a C++ code which shows how a program using the OpenGL graphics library can save a screenshot of the graphics being displayed.
SPHERE_XYZ_DISPLAY_OPENGL, a C++ code which reads XYZ information defining points in 3D, and displays a unit sphere and the points, using OpenGL.
TET_MESH_BOUNDARY, a FORTRAN90 program which returns the nodes and faces of the boundary of a tetrahedral mesh, which themselves form a 3D triangular mesh or "TRI_SURFACE".
TET_MESH_DISPLAY_OPENGL, a C++ code which reads files defining a tet mesh and displays an image using Open GL.
TRI_SURFACE, a data directory which contains examples of TRI_SURFACE files, a 3D surface described by a collection of triangles.
TRI_SURFACE_DISPLAY, a MATLAB program which displays the 3D graphics information in a TRI_SURFACE file;
TRIANGULATION_DISPLAY_OPENGL, a C++ code which reads files defining a triangulation and displays an image using Open GL.
TRIANGULATION_ORDER1_DISPLAY, a MATLAB program which reads files defining a piecewise constant triangulation of data, and displays a corresponding 3D surface.
XY_DISPLAY_OPENGL, a C++ code which reads an XY file of 2D point coordinates, and displays an image of those points using OpenGL.
XYL_DISPLAY_OPENGL, a C++ code which reads XYL information defining points and lines in 2D, and displays an image using OpenGL.
XYZ_DISPLAY_OPENGL, a C++ code which reads an XYZ file of 3D point coordinates, and displays an image of those points using OpenGL.