3DSLoader
所属分类:其他小程序
开发工具:Visual C++
文件大小:54KB
下载次数:28
上传日期:2009-12-22 12:41:45
上 传 者:
bizzfs
说明: 3ds file loader with opengl
(GLUT LIBRARY)
文件列表:
main.cpp (4984, 2004-09-09)
math3d++\mat2.h (9097, 2005-02-04)
math3d++\mat3.h (12589, 2005-02-04)
math3d++\mat4.h (15996, 2005-02-04)
math3d++\math3d++.h (4287, 2005-03-07)
math3d++\math3dGL.h (4452, 2005-02-04)
math3d++\math3d_io.h (3386, 2005-02-04)
math3d++\matvec_util.h (16293, 2005-02-04)
math3d++\mat_decl.h (4320, 2005-02-04)
math3d++\quat.h (7305, 2005-02-04)
math3d++\quat_util.h (5117, 2005-02-04)
math3d++\vec2.h (6500, 2005-02-04)
math3d++\vec3.h (7121, 2005-02-04)
math3d++\vec4.h (7015, 2005-02-04)
math3d++\vec_decl.h (3955, 2005-02-04)
math3d++ (0, 2005-03-08)
3DSLoader.msp (1720, 2004-09-11)
C3DSFormat.h (3760, 2004-09-09)
C3DSLightReader.cpp (2455, 2004-09-09)
C3DSLightReader.h (2498, 2004-09-09)
C3DSMaterialReader.cpp (3936, 2004-09-09)
C3DSMaterialReader.h (2961, 2004-09-09)
C3DSMeshNormalCalculator.cpp (9903, 2004-09-11)
C3DSMeshNormalCalculator.h (3304, 2004-09-09)
C3DSMeshReader.cpp (4213, 2004-09-09)
C3DSMeshReader.h (3042, 2004-09-09)
C3DSReaderBase.cpp (4514, 2004-09-09)
C3DSReaderBase.h (2973, 2004-09-09)
====================
3DS File Loader
====================
At the moment the file loader is capable of reading *.3ds files and extracting
some, but not all, of the contained information.
The loader can extract the following information:
- Triangular mesh
The loader reads the triangular mesh, the face-material associations,
smoothing group data, edge flags and mapping coordinates.
- Calculation of per vertex normals
With the smoothing group information the loader can calculate per vertex
normals which are necessary for smooth shading of rounded surfaces like the
surface of a sphere.
- Material and texture map info
The loader reads the material block information contained in the 3ds file and
extracs the most important material and texture map information.
- Light info
The light information block is read and the information about lights is
extraced.
The reading of material and light information can still be extended.
At the moment the loader cannot read the camera information and the Keyframe
chunk for the animation. The loader also hasn't got much of documentation yet.
When the loader reads a .3ds file it creates an in memory representation of the
the information contained in the file. This information can be processed further
e.g. to calculate the per vertex normals (which the loader can do already).
The loader is probably best suited for extracting the relevant information from
.3ds files so that you can export them to your own format.
======================
.msp Project file
======================
This distribution includes a .msp file which is a project file for the free
MinGW Delveloper Studio IDE for the mingw compiler which I am using.
近期下载者:
相关文件:
收藏者: