Object Picking
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!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement