Part of the Khronos Group

OpenGL API-based Code - Detail Listing

Picking tutorial

António Ramires Fernandes

http://www.lighthouse3d.com/opengl/picking/

The OpenGL API provides a mechanism for picking objects in a 3D scene. The Red Book proposes an alternative mechanism based on color coding. This tutorial will show you how to detect which objects are bellow the mouse or in a square region of the OpenGL window using both approaches.

To post comments you must be a registered user.
Login | Register

Next entry: Display Lists tutorial

Previous entry: Billboarding tutorial

This page has been viewed 700024 times •

Column Header
Column Footer

temperature-friend