论文部分内容阅读
在OpenGL、Java3D等传统的三维建模语言中有多种三维坐标提取的算法,但应用到三维地形时这些算法的速度太慢,不能满足人机交互的需求。本文研究了点取射线与DEM模型的空间特性,提出并实现了一种基于Java3D的规则网格DEM鼠标提取坐标算法,该算法在利用了规则网格DEM模型特征的基础上,利用点取射线与DEM网格在水平面投影上的相交性进行点取网格搜索,实现了三维坐标的点取。通过实验表明,该算法与三维场景中通常所用的空间点取算法相比,在不降低点取精度的基础上对点取速度有了明显的改进,从而满足了在DEM场景中进行三维交互的需要。
In the traditional 3D modeling languages such as OpenGL and Java3D, there are many algorithms for 3D coordinate extraction, but these algorithms are too slow to meet the requirements of human-computer interaction when applied to 3D terrain. In this paper, we study the spatial characteristics of DEM and DEM, and propose and implement a regular DEM mouse extraction coordinate algorithm based on Java3D. Based on the features of regular grid DEM model, And DEM grid projection in the horizontal plane on the intersection point to take grid search, to achieve the three-dimensional coordinates of the point. Experiments show that compared with the commonly used spatial point algorithm in 3D scene, the proposed algorithm can significantly improve the point-in-point speed without reducing the point-taking accuracy, so as to satisfy the 3D interaction in DEM scene need.