PDA

View Full Version : 3D selection and OpenGL meshes



06-07-2001, 12:54 AM
Hi

What is the most suitable way to select 3D objects with the mouse on the 2D screen?

And i would like to use 3D Chesspieces (meshes) in my Visual C++/OpenGL project. Are such pieces available or do i have to write a lot of code myself (with Studio MAX pieces a lot of code has to be added).

Thanks a lot,
newbie

Bra'Tac
06-07-2001, 01:46 AM
For the selection, you can use the selection mode of ogl. Search for " glRenderMode (GL_SELECT)" in the red book.

the red book:
http://ask.ii.uib.no/ebt-bin/nph-dweb/dynaweb/SGI_Developer/OpenGL_PG