Fast and reliable mouse picking using graphics hardware

  • Authors:
  • Hanli Zhao;Xiaogang Jin;Jianbing Shen;Shufang Lu

  • Affiliations:
  • State Key Lab of CAD & CG, Zhejiang University, Hangzhou, China;State Key Lab of CAD & CG, Zhejiang University, Hangzhou, China;School of Computer Science & Technology, Beijing Institute of Technology, Beijing, China;State Key Lab of CAD & CG, Zhejiang University, Hangzhou, China

  • Venue:
  • International Journal of Computer Games Technology - Special issue on cyber games and interactive entertainment
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Mouse picking is the most commonly used intuitive operation to interact with 3D scenes in a variety of 3D graphics applications. High performance for such operation is necessary in order to provide users with fast responses. This paper proposes a fast and reliable mouse picking algorithm using graphics hardware for 3D triangular scenes. Our approach uses a multi-layer rendering algorithm to perform the picking operation in linear time complexity. The objectspace based ray-triangle intersection test is implemented in a highly parallelized geometry shader. After applying the hardware-supported occlusion queries, only a small number of objects (or sub-objects) are rendered in subsequent layers, which accelerates the picking efficiency. Experimental results demonstrate the high performance of our novel approach. Due to its simplicity, our algorithm can be easily integrated into existing real-time rendering systems.