辽宁石油化工大学学报 ›› 2009, Vol. 29 ›› Issue (3): 77-80.

• 计算机与自动化 • 上一篇    下一篇

基于DirectX的三维场景实体的拾取

郭艳霞,侯彤璞* ,杜园园   

  1. 辽宁石油化工大学计算机与通信工程学院,辽宁抚顺113001
  • 收稿日期:2009-01-12 出版日期:2009-09-25 发布日期:2017-07-05
  • 作者简介:郭艳霞(1982-),女,河北任丘市,在读硕士

Picking Entities in 3D Scene Based on DirectX

GUO Yan-xiaHOU Tong-pu*, DU Yuan-yuan   

  1. School of Computer and Communication Engineering, Liaoning University of Petroleum & Chemical Technology, Fushun Liaoning 113001, P. R. China
  • Received:2009-01-12 Published:2009-09-25 Online:2017-07-05

摘要: 介绍了在基于DirectX搭建的三维虚拟场景中,利用鼠标实现场景内实体拾取的方法。根据实体的
外形特点,对场景内实体采用不同的包围体拾取方法。以三维虚拟仓库为例,对某一特殊形状的实体模型引用包围
盒,采用包围盒拾取算法来实现鼠标与三维场景的交互,提高了鼠标与三维场景的交互效率。

关键词: DirectX , 拾取 , 包围盒 , 包围球

Abstract: In the three-dimensional visual scene based on DirectX, a method of entity picking using the mouse was introduced. According to the shape characteristics of entities in the scene, the different methods of bounding entity picking were taken. In the three-dimensional visual warehouse, bounding box can be used especially for the entity models with some special shape, and the interactive function between mouse and three-dimensional visual scene can be also accomplished. Finally, the result shows that the program can run with greater efficiency with this method.

Key words: DirectX , Picking , Bounding box , Bounding sphere

引用本文

郭艳霞,侯彤璞,杜园园. 基于DirectX的三维场景实体的拾取[J]. 辽宁石油化工大学学报, 2009, 29(3): 77-80.

GUO Yan-xia, HOU Tong-pu, DU Yuan-yuan. Picking Entities in 3D Scene Based on DirectX[J]. Journal of Liaoning Petrochemical University, 2009, 29(3): 77-80.

使用本文

0
    /   /   推荐

导出引用管理器 EndNote|Ris|BibTeX

链接本文: https://journal.lnpu.edu.cn/CN/

               https://journal.lnpu.edu.cn/CN/Y2009/V29/I3/77