PDA

View Full Version : Hi, I need help on the pick object with mouse on the screen.



jojozhong
10-05-2000, 02:01 AM
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

NewROmancer
10-05-2000, 02:51 AM
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

Crusader
10-05-2000, 07:43 AM
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...