IVREAD
3D Graphics File Conversion


IVREAD is a FORTRAN90 program which reads a 3D graphics file and converts the information to another format.

IVREAD was originally written to read SGI Inventor 3D graphics files and convert them to Digistar VLA format. Since then, the program has evolved to allow the input and output of:

There is also a simple-minded facility to project any 3D image onto a 2D plane, and make a PostScript image of the result.

Graphics file formats are often poorly documented; hence this program was written primarily by examining typical files and struggling to interpret them. Particularly in the case of Inventor and DXF files, the program is not able to handle all the subtleties of the file format, and may mangle data, or even crash.

Usage:

ivread input.ext output.ext
converts input.ext to output.ext, where the input and output formats are determined by the file name extensions.
ivread
if no files are specified, an interactive dialog is set up, and the user can specify the files to be converted.

Licensing:

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

Languages:

IVREAD is available in a FORTRAN90 version.

Related Data and Programs:

GRF_IO, a FORTRAN90 library which can read or write a GRF file.

IVCON, a C++ program which reads 3D graphics file information in a variety of formats, and can output the same information in a different format.

OBJ_IO, a FORTRAN90 library which can read or write an OBJ file.

PBMA_IO, a FORTRAN90 library which can read or write an ASCII Portable Bit Map (PBM) file.

PGMA_IO, a FORTRAN90 library which can read or write an ASCII Portable Gray Map (PGM) file.

PLOT3D_IO, a FORTRAN90 library which can read or write a PLOT3D file.

PPMA_IO, a FORTRAN90 library which can read or write an ASCII Portable Pixel Map (PPM) file.

STLA_IO, a FORTRAN90 library which can read or write an ASCII Stereolithography file.

TEC_TO_FEM, a FORTRAN90 program which can read a TECPLOT file describing a surface in 3D composed of triangles, and write a set of FEM files.

TEC_TO_OBJ, a FORTRAN90 program which can read a TECPLOT file describing a surface in 3D composed of triangles or quadrilaterals, and write an OBJ file.

TEC_WRITE, a FORTRAN90 library which can write a TECPLOT file.

XYZ_IO, a FORTRAN90 library which reads and writes XYZ files.

Reference:

  1. Adrian Bowyer, John Woodwark,
    A Programmer's Geometry,
    Butterworths, 1983.
  2. James Foley, Andries van Dam, Steven Feiner, John Hughes,
    Computer Graphics, Principles and Practice,
    Addison Wesley, Second Edition, 1990.
  3. Albert Nijenhuis, Herbert Wilf,
    Combinatorial Algorithms,
    Academic Press, 1978, second edition,
    ISBN 0-12-519260-6.
  4. 3D Systems, Inc,
    Stereolithography Interface Specification,
    October 1989.

Source Code:

Tests and Examples:

List of Routines:

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


Last revised on 15 November 2006.