Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse Click Dection in 3D openGL
#1
Ok, I got the SDL decting for a mouse click.
But I can't figure out how to calculate which polygon it clicked...
thnx. Smile
i]"But...it was so beautifully done"[/i]
Reply
#2
I think this has been covered before, but try something like:

http://www.opengl.org/resources/faq/tech...ection.htm

Google knows all things. Smile
Reply
#3
Ya, I know it probally came up before, oh well :roll:

I looked at that link you gave me, and search this forum and then searched google for gl picking as Rel told somebidy else to do.

You see I'm very new to openGL and I know little of C++, and even less of the concept of buffers and the internal workings of a computer.

I understood like half of what I saw. And I would appreciate it if anyone could explain it. :normal:
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)