Mesh File Types

<< Click to Display Table of Contents >>

Navigation:  XStream® HDVR® SDK > Advanced Functionality > 3D Polygon Meshes >

Mesh File Types

Previous pageReturn to chapter overviewNext page

C++ C++ Java Java .NET .NET

Summary

 

The XStream® HDVR® SDK supports loading and saving of polygon based geometry in several file formats.

 

Wavefront OBJ

 

The XStream HDVR SDK supports import and export of OBJ files. The OBJ format is text based, and is supported by a wide range of modeling applications. OBJ files support per-vertex normals, but do not support vertex colors. Exporting data to OBJ files may result in very large file sizes, due to the text based file format of OBJ files.

 

The XStream HDVR SDK OBJ loader does not support external material (MTL) files.

 

The XStream HDVR SDK supports the loading of JPEG texture map files with OBJ files. See Importing Texture Maps with OBJ Files.

 

Details on the OBJ file format can be found at: http://en.wikipedia.org/wiki/Wavefront_.obj_file

 

Stereo Lithography STL

 

The XStream HDVR SDK supports the import and export of STL files. The STL format supports both binary and text based formats and is commonly used with 3D printing devices. STL files support per-face (not per-vertex) normals, but do not support vertex colors.

 

Details on the STL file format can be found at: http://en.wikipedia.org/wiki/STL_(file_format)

 

Polygon File Format PLY

 

The XStream HDVR SDK supports export of PLY files.

 

PLY files are both text and binary based, and are generally used to store 3D data, either from 3D scanners or for 3D printers. The XStream HDVR SDK supports the binary PLY format. PLY files support per-vertex normals and vertex colors. PLY is the recommended format for exporting a colorized mesh.

 

Details on the PLY file format can be found at: http://en.wikipedia.org/wiki/PLY_(file_format)