XYZF_DISPLAY_OPENGL


XYZF_DISPLAY_OPENGL, a C++ code which reads XYZF information defining 3D points and faces, and displays an image using OPENGL.

The program displays the data, and slowly rotates it.

SXYZ_VORONOI, which computes the Voronoi diagram for a set of points on a sphere, is an example of the programs whose output can be displayed by XYZF_DISPLAY_OPENGL.

Usage:

xyzf_display_opengl prefix
where reads the XYZ coordinate data in prefix.xyz and the face information in prefix.xyzf, and displays a plot of the points and faces. The image will slowly rotate. Successive mouse clicks alternate the axis of rotation from the X, to the Y, to the Z axis and back again.

Licensing:

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

Languages:

xyzf_display_opengl is available in a C++ version.

Related Data and Programs:

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,
    Fourth Edition,
    Addison-Wesley, 2004,
    ISBN: 032117383X,
    LC: T385.O642
  3. Mason Woo, Jackie Neider, Tom Davis,
    OpenGL Programming Guide,
    Addison-Wesley, 1997,
    ISBN: 0-201-46138-2,
    LC: T385.N435
  4. Richard Wright, Michael Sweet,
    OpenGL Superbible,
    Third Edition,
    Sams, 2004,
    ISBN: 0672326019,
    LC: T385.W73
  5. https://www.opengl.org/
    The official OpenGL site.

Source Code:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 01 March 2011.