首页 | 本学科首页   官方微博 | 高级检索  
     

基于OpenGL的三维模型点坐标拾取方法
引用本文:施珂奕,邓春健,邹昆. 基于OpenGL的三维模型点坐标拾取方法[J]. 液晶与显示, 2016, 31(7): 708-713. DOI: 10.3788/YJYXS20163107.0708
作者姓名:施珂奕  邓春健  邹昆
作者单位:1. 电子科技大学 计算机科学与工程学院, 四川 成都 611731;
2. 电子科技大学 中山学院, 广东 中山 528402
基金项目:国家自然科学基金项目(No.61302115,No.61502088);广东省高等学校优秀青年教师培养计划项目(No.Yq2013204,No.Yq2013206);中山市产学研结合项目(No.2013C2FC0014);电子薄膜与集成器件国家重点实验室中山分实验室开放基金(No.412S0605)
摘    要:获得三维模型指定点的空间坐标是针对模型文件操作的基础。针对传统算法的不足提出一种获取所选点原始坐标的方法。在选点的过程中,该算法允许模型进行任意角度的旋转,以选取模型侧面及背面的点,并通过旋转矩阵对该点还原。算法完成从屏幕的二维像素坐标到模型的三维坐标,再到模型文件原始坐标的转换。实验表明,该方法可以准确获取模型的所有可视表面的点坐标,提高了拾取的灵活性。

关 键 词:OpenGL  三维模型  拾取  坐标
收稿时间:2016-01-04

Point pick-up in three-dimension model based on OpenGL
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-713. DOI: 10.3788/YJYXS20163107.0708
Authors:SHI Ke-yi  DENG Chun-jian  ZOU Kun
Affiliation:1. School of Computer Science & Engineering, University of Electronic Science and Technology of China, Chengdu 611731, China;
2. Zhongshan Institute, University of Electronic Science and Technology of China, Zhongshan 528402, China
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.
Keywords:OpenGL  three-dimension model  pick-up  coordinate
点击此处可从《液晶与显示》浏览原始摘要信息
点击此处可从《液晶与显示》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号