XYZF_DISPLAY_OPENGL\ Display 3D Points and Faces Using OpenGL {#xyzf_display_opengl-display-3d-points-and-faces-using-opengl align=”center”} ========================================
XYZF_DISPLAY_OPENGL is a C++ program 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.
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.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
XYZF_DISPLAY_OPENGL is available in a C++ version.
FERN_OPENGL, a C++ program which uses OpenGL to display the Barnsley fractal fern.
OPENGL, C++ programs which illustrate the use of the OpenGL graphics library;
POLYGONAL_SURFACE_DISPLAY_OPENGL, a C++ program which displays a surface in 3D described as a set of polygons, using OpenGL.
ROTATING_CUBE_DISPLAY_OPENGL, a C++ program which displays a rotating color cube in 3D, using OpenGL;
SPHERE_VORONOI, a FORTRAN90 library which reads an XYZ file of 3D points on the unit sphere, and computes and plots Delaunay triangulations and Voronoi diagrams.
SPHERE_XYZ_DISPLAY_OPENGL, a C++ program which reads XYZ information defining points in 3D, and displays a unit sphere and the points, using OpenGL.
TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using Open GL.
XYF_DISPLAY_OPENGL, a C++ program which reads XYF information defining points and faces in 2D, and displays an image using OpenGL.
XYZ, a data directory which contains some examples of 3D pointsets.
XYZ_DISPLAY_OPENGL, a C++ program which reads an XYZ file of 3D point coordinates, and displays an image of those points using OpenGL.
XYZF, a data directory which contains some examples of sets of 3D points and faces.
XYZL, a data directory which contains some examples of sets of 3D points and lines.
XYZL_DISPLAY_OPENGL, a C++ program which reads XYZL information defining points and lines in 3D, and displays an image in a MATLAB graphics window.
You can go up one level to the C++ source codes.
Last revised on 01 March 2011.