液晶与显示, 2016, 31 (7): 708, 网络出版: 2016-08-29   

基于OpenGL的三维模型点坐标拾取方法

Point pick-up in three-dimension model based on OpenGL
施珂奕 1,2邓春健 1,2,*邹昆 1,2
作者单位
1 电子科技大学 计算机科学与工程学院, 四川 成都611731
2 电子科技大学 中山学院, 广东 中山528402
摘要
获得三维模型指定点的空间坐标是针对模型文件操作的基础。针对传统算法的不足提出一种获取所选点原始坐标的方法。在选点的过程中, 该算法允许模型进行任意角度的旋转, 以选取模型侧面及背面的点, 并通过旋转矩阵对该点还原。算法完成从屏幕的二维像素坐标到模型的三维坐标, 再到模型文件原始坐标的转换。实验表明, 该方法可以准确获取模型的所有可视表面的点坐标,提高了拾取的灵活性。
Abstract
To pick-up a specified coordinate of a point is a basic operation for a 3D model file. Aimed at the shortages of traditional methods about 3D picking, a new method, which points at getting the original coordinate of specified point, is proposed.During picking, rotation at any angle is allowed. So points either on the side or on the back can be selected.And rotation matrix is used to restore points to their original state.The method transform the two-dimensional pixel coordinate to 3D model coordinate then to original model coordinate. All the points on visible surface can be picked precisely by this method and thus the flexibility is improved.

施珂奕, 邓春健, 邹昆. 基于OpenGL的三维模型点坐标拾取方法[J]. 液晶与显示, 2016, 31(7): 708. SHI Ke-yi, DENG Chun-jian, ZOU Kun. Point pick-up in three-dimension model based on OpenGL[J]. Chinese Journal of Liquid Crystals and Displays, 2016, 31(7): 708.

本文已被 2 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!