OBJ_DISPLAY
Display an ASCII OBJ 3D Graphics File


OBJ_DISPLAY is a MATLAB program which gets the name of an ASCII OBJ file from the user, reads the 3D graphics information stored in the file, and displays the structure on the screen.

Usage:

obj_display ( 'file.obj' )
where reads the information in the ASCII OBJ file file.obj

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

BALL_AND_STICK_DISPLAY, a MATLAB program which demonstrates the creation of a 3D "ball and stick" image;

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

IVCON, a C++ program which converts graphics information between OBJ and other formats.

IVREAD, a FORTRAN90 program which converts graphics information between OBJ and other formats.

MPAS_GRID_DISPLAY, a directory of MATLAB programs which can read an MPAS NETCDF grid file and display the primary polygonal mesh or the dual triangular mesh.

OBJ, a data directory which contains examples of ASCII STL files.

OBJ_IO, a MATLAB library which reads and writes OBJ files.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

POLYGONAL_SURFACE_DISPLAY, a MATLAB program which reads two files defining a polygonal surface and displays it within MATLAB.

QUAD_SURFACE_DISPLAY, a MATLAB program which reads files defining a 3D quadrilateral mesh surface and displays it within MATLAB.

STLA_DISPLAY, a MATLAB program which reads an ASCII STL file defining a 3D object and displays it within MATLAB.

TET_MESH_DISPLAY, a MATLAB program which reads files defining a tet mesh and displays an image within MATLAB.

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

TRIANGULATION_ORDER1_DISPLAY, a MATLAB program which reads files defining a piecewise constant triangulation of data, and displays a corresponding 3D surface.

TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using Open GL.

Reference:

  1. http://www.alias.com/eng/index.shtml, The Alias web site.

Source Code:

Examples and Tests:

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


Last revised on 05 August 2009.