triangulation_display_opengl


triangulation_display_opengl, a C++ code which reads the name of two data files defining a triangulation, reads the data, and displays the triangulation using OpenGL.

The files defining the triangulation consist of one file containing the coordinates of the points, and a second file that lists the indices of the nodes making up each triangle. Either 3-node or 6-node triangles may be used.

Usage:

triangulation_display_opengl prefix
where prefix is the common filename prefix:

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

triangulation_display_opengl is available in a C++ version.

Related Data and Programs:

triangulation_display_opengl_test

opengl_test, a C++ code which uses opengl() to display graphic images on the screen;

Reference:

  1. Edward Angel,
    Interactive Computer Graphics, a Top-Down Approach with OpenGL,
    Addison-Wesley, 2000,
    ISBN: 0-201-38597-X,
    LC: T385.A514.
  2. Renate Kempf, Chris Frazier, editors,
    OpenGL Reference Manual,
    Addison-Wesley, 1997,
    LC: T385.O642.
  3. Mason Woo, Jackie Neider, Tom Davis,
    OpenGL Programming Guide,
    Addison-Wesley, 1997,
    LC: T385.N435.
  4. Richard Wright, Michael Sweet,
    OpenGL Superbible,
    Waite Group Press, 1996,
    LC: T385.W73.
  5. https://www.opengl.org/
    The official OpenGL site.

Source Code:


Last revised on 22 May 2023.