polygonal_surface_display_opengl


polygonal_surface_display_opengl, a C++ code which gets the names of the node and element files defining a polygonal surface, reads the information from the files, and displays the surface on the screen using OpenGL.

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:

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

Licensing:

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

Languages:

polygonal_surface_display_opengl is available in a C++ version.

Related Data and Programs:

polygonal_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 18 May 2023.