tri_surface_display_opengl


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.

Usage:

tri_surface_display_opengl prefix
where prefix is the common filename prefix, so that: reads the information and displays an image of the surface on the screen.

Licensing:

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

Languages:

tri_surface_display_opengl is available in a C++ version.

Related Data and Programs:

tri_surface_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.

Source Code:


Last revised on 25 May 2023.