POLYGONAL_SURFACE_DISPLAY
Display a Polygonal Surface in MATLAB


POLYGONAL_SURFACE_DISPLAY is an executable MATLAB program which gets the names of the node and face files defining a polygonal surface, reads the information from the files, and displays the surface on the screen.

Related Data and Programs:

BEZIER_SURFACE_DISPLAY is a MATLAB program which reads two files defining a Bezier surface and displays it.

FEM_BASIS_T3_DISPLAY is a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.

FEM_BASIS_T6_DISPLAY is a MATLAB program which reads a quadratic triangle mesh and displays any associated basis function.

POLYGONAL_SURFACE is a data directory which contains examples of polygonal surface files.

STLA_DISPLAY is a MATLAB program which reads an ASCII STL file and displays it.

TRI_MESH_DISPLAY is a MATLAB program which reads data defining a triangular mesh of a 3D surface and displays it.

TRIANGULATION_DISPLAY_OPEN_GL is an executable C++ program which reads files defining a triangulation and displays an image using Open GL.

Usage:

polygonal_surface_display ( 'node_file', 'face_file' )
reads the information in the polygonal surface node and face files and displays it 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:

Examples and Tests:

SPHERE_Q4 is a sphere, tiled with an 8 by 8 array of logically rectangular patches.

SPHERE_T3 is a sphere, tiled with an 8 by 8 array of logically triangular patches.

TETRA_T6 is a tetrahedron, tiled with 6-node triangles.

You can go up one level to the MATLAB source codes.


Last revised on 19 January 2007.