摘要
为了加速三维物体的变形过程,提出一种基于组件的新方法计算元球的边界体。把每个元球的边界体值存放在数组中,通过查询边界体数组,可以快速求出变形空间内任意一点的影响组件,并计算影响组件的骨架中心到该点的距离以及影响组件相对于该点的所有势函数之和,然后采用移动立方体算法将该点的势函数值与阈值比较,得出变形物体表面顶点的空间坐标值和该顶点的单位法向量。利用OpenGL实现变形物体的绘制过程。
In order to speed up the process of deformation of three-dimensional objects, a new component-based method of calculating metaball' s boundary-value is presented. Each bounding-value of meatball is stored in the array, query the array can be quickly find out influencing component of any point in the deformation space, and then the distance between the influencing primitives and the point, calculate the field function of the point, and calculate the value and normal ofiso-surface by the marching cubes algorithm. Finally, the deformation process of the objects is achieved by OpenGL.
出处
《计算机工程与设计》
CSCD
北大核心
2009年第19期4552-4555,共4页
Computer Engineering and Design
关键词
元球
移动立方体
空间分割
组件
变形
Metaball
marching cubes
space decomposition
component
deformation