Object Picking

Started by
1 comment, last by brightbird_2005 19 years ago
Hi everybody I'm triying to find out a way to do object picking by creating a ray and testing the intersection against the object triangles. I have a viewport set with perspective projection, and I know the current camera position (this is where the ray would start), the view direction vector and the up and right vectors, but how do I calculate what point in world space the user clicked to define the endpoint of the ray?? any ideas?? any help will be greatly appreciated!! thanks!!
Advertisement
Here

[google]
Great!!! thanks! I didn't imagine opengl.org would have info about the ray shooting method...

This topic is closed to new replies.

Advertisement