摘要: In order to process the hit records the application must first return to the normal rendering mode. This is done calling glRenderMode with GL_RENDER. This function returns the number of hit records th... 阅读全文
posted @ 2009-11-18 20:54 大Vin 阅读(610) 评论(0) 推荐(0) 编辑
摘要: So far the OpenGL naming scheme has been presented. This section will show you how to enter the selection mode for picking purposes. The first step is to tell OpenGL where to store the hit records. Th... 阅读全文
posted @ 2009-11-18 20:40 大Vin 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 很好的一篇文章,看完后有豁然开朗的感觉。The OpenGL API provides a mechanism for picking objects in a 3D scene. This tutorial will show you how to detect which objects are bellow the mouse or in a square region of the Ope... 阅读全文
posted @ 2009-11-18 20:21 大Vin 阅读(813) 评论(0) 推荐(0) 编辑