Description: This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2 / ((ball.x - x)2 + (ball.y - y)2 + (ball.z - z)2) for all balls. The surface is defined to be where the sum is one.-This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2/((ball.x- x)2+ (ball.y- y)2+ (ball.z- z)2) for all balls. The surface is defined to be where the sum is one. Platform: |
Size: 806912 |
Author:王涛 |
Hits:
Description: 基于OpenGL和vc++。对一套网格化后的.GRD文件运用MarchingCube方法绘制的等值面。
marchingtcube.h文件可重复利用。-based on OpenGL and vc. On a grid of the. GRD document mapping method used MarchingCube the isosurface. Marchingtcube.h paper can be reused. Platform: |
Size: 65536 |
Author:xuroc |
Hits: