Hi, I need help on the pick object with mouse on the screen.

Hi, I need help on the pick object with mouse on the screen.

I know I should use pushName, loadName… and pickMatrix function.

But I dont know the detail of how these functions work, can anyopne introduce something to me. Please be a bit detail.

Thanx

There was a topic a few weeks ago about that. The name was “A great game hits a bottomless pit” and was posted by Scholnenburg.Check it and you will find there all that you need

NewROmancer

You definitly need to have a look at OpenGL RedBook !!!

HERE IS THE SAMPLE :
http://trant.sgi.com/opengl/examples/redbook/redbook.html

-And choose PickDepth.c

Hehe were is a better sample ? I dare you can find a simple & better one…