Journal of Liaoning Petrochemical University

Journal of Liaoning Petrochemical University ›› 2009, Vol. 29 ›› Issue (3): 77-80.

Previous Articles     Next Articles

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的三维场景实体的拾取

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

  1. 辽宁石油化工大学计算机与通信工程学院,辽宁抚顺113001
  • 作者简介:郭艳霞(1982-),女,河北任丘市,在读硕士

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搭建的三维虚拟场景中,利用鼠标实现场景内实体拾取的方法。根据实体的
外形特点,对场景内实体采用不同的包围体拾取方法。以三维虚拟仓库为例,对某一特殊形状的实体模型引用包围
盒,采用包围盒拾取算法来实现鼠标与三维场景的交互,提高了鼠标与三维场景的交互效率。

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

Cite this article

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.

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

share this article

0
    /   /   Recommend

Add to citation manager EndNote|Ris|BibTeX

URL: http://journal.lnpu.edu.cn/EN/

         http://journal.lnpu.edu.cn/EN/Y2009/V29/I3/77