marchingcubes-0.4

所属分类:网络编程
开发工具:Visual C++
文件大小:117KB
下载次数:122
上传日期:2007-08-26 22:04:54
上 传 者queerish
说明:  marchingcube源代码,提供下载,共同学习,共同进步
(marchingcube source code, available for download, a common learning and common progress)

文件列表:
Configuration.cpp (1991, 1998-07-14)
Configuration.h (985, 1998-07-14)
DataArray.cpp (6812, 2000-03-20)
DataArray.h (1889, 1998-07-14)
Extractisosurf.cpp (3795, 2000-03-20)
EXTRACTISOSURF.h (459, 1998-07-14)
Rotation.cpp (618, 1998-07-13)
Rotation.h (437, 1998-07-14)
skull.txt (608086, 1998-07-14)
Testmarch.cpp (733, 2000-03-20)
Testmarch.dsp (4375, 2000-03-20)
Testmarch.dsw (541, 2000-03-20)
Testmarch.exe (61440, 2000-03-20)
Testmarch.plg (1243, 2000-03-20)
Useful.cpp (7575, 1998-07-14)
Useful.h (3390, 1998-07-14)
Voxel.cpp (12116, 1998-07-14)
Voxel.h (1168, 1998-07-14)
Vrmlobject.cpp (4292, 2000-03-20)
Vrmlobject.h (837, 1998-07-14)

this is not the final version of my implementation of the marching cubes algorithm, it was hacked out of a larger project (written in C for "political" reasons, hence the C/C++ mix) and simplified, but it is useful to demonstrate the algorithm and should be reasonably portable (unix/vms/windows...). to run it just type: >testmarch this will run it with default parameters (using skull.txt as source file), it is also possible to run it with options such as: >testmarch skull.txt skull.wrl 40 (40 being the isosurface we whant to visualize) input must be of the form: data... in a text file format, in this version data must be a list of integers between 0 and 255 the output is a VRML 1.0 file (can be opened under windows with the "cosmoplayer" plugin for Netscape/Explorer) http://www.karmanaut.com/cosmo/player/ Marcus Hewat.

近期下载者

相关文件


收藏者