The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Iff - Perl extension for reading/writing IFF (Interchange File Format) files and other 3D file formats

SYNOPSIS

  use Iff;

  ($type, $data) = open_rwx($ARGV);  # Read in raw triangles from RenderWare

  ($type, $data) = open_raw($ARGV);  # Read in raw triangles from Rhino

  ($type, $data) = open_iff($ARGV);  # Read in an IFF file
  decode_chunks($type[$iff], $data[$iff]);  # Decode the IFF chunks into data

  encode_chunks($type[$out], $data[$out]);  # Encode data into IFF chunks
  write_iff($name, $type, $data);    # Write an IFF file

DESCRIPTION

The Iff module provides routines to read and write IFF files. The currently supported file types are: LightWave3D object (LWOB IFF or ".lwo") files Rhino raw 3D object (".raw") files RenderWare 3D object (".rwx") files Other 3D object formats that should be easy to support are: Real3D object (".r3d") files SoftF/X object (".sfx") files Imagine object (".iob") files 3D Studio object (".3ds") files 3D Studio MAX object (".max") files DXF object (".dxf") files

AUTHOR

Glenn M. Lewis, glenn@gmlewis.com, www.gmlewis.com

SEE ALSO

perl(1).