Skip to content

Files

Latest commit

Feb 3, 2018
db8d977 · Feb 3, 2018

History

History
96 lines (71 loc) · 3.78 KB

obj_io.md

File metadata and controls

96 lines (71 loc) · 3.78 KB

OBJ_IO
Read and Write Routines
Alias OBJ 3D Graphics Files {#obj_io-read-and-write-routines-alias-obj-3d-graphics-files align="center"}


OBJ_IO is a C++ library which reads or writes some of the 3D graphics information stored in an Alias OBJ file.

Licensing: {#licensing align="center"}

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

Languages: {#languages align="center"}

OBJ_IO is available in a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs: {#related-data-and-programs align="center"}

IVCON, a C++ program which can convert graphics information between STLA and other formats.

IVREAD, a FORTRAN90 program which can convert graphics information between STLA and other formats.

OBJ, a data directory which has some examples of OBJ files.

OBJ_TO_PLY, a C program which reads an OBJ file and writes similar information to a PLY file.

OBJ_TO_TRI_MESH, a MATLAB program which reads an OBJ file and extracts the surface mesh data as a TRI_MESH dataset.

OBJ2OPENGL, a PERL script which converts an OBJ file to a C/C++ include file appropriate for use with OPEN_GL.

PLY_TO_OBJ, a C program which reads a PLY 3D graphics file and writes an equivalent OBJ graphics file.

Reference: {#reference align="center"}

  1. http://www.alias.com/eng/index..md, The Alias web site.
  2. obj_format.txt, some information about the OBJ format.

Source Code: {#source-code align="center"}

Examples and Tests: {#examples-and-tests align="center"}

List of Routines: {#list-of-routines align="center"}

  • I4_MAX returns the maximum of two I4's.
  • OBJ_FACE_NODE_PRINT prints the node indices for each face.
  • OBJ_NORMAL_VECTOR_PRINT prints the normal vectors.
  • OBJ_NODE_XYZ_PRINT prints the node coordinates.
  • OBJ_SIZE determines sizes of graphics objects in an Alias OBJ file.
  • OBJ_SIZE_PRINT prints sizes associated with an OBJ file.
  • OBJ_VERTEX_NORMAL_PRINT prints the normal vectors indices per vertex.
  • OBJ_WRITE writes graphics information to an Alias OBJ file.
  • R8VEC_CROSS_PRODUCT_3D computes the cross product of two R8VEC's in 3D.
  • S_LEN_TRIM returns the length of a string to the last nonblank.
  • S_WORD_COUNT counts the number of "words" in a string.
  • TIMESTAMP prints the current YMDHMS date as a time stamp.

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


Last revised on 01 April 2011.