Well, here is what I’m attempting to do. I have a sphere that can be rotated with a trackball. It looks like this…
When the user clicks on the sphere, I need to get the texture coordinates of the area they clicked. The reason I need the coordinates, Is I plan to use an array of 2D lines to create polyon shapes that mimic the continents. I would then take the texture coords and do an intersection test to see if the user clicked on a certain continent. I was hoping to use a method like this so I could avoid creating a really high poly sphere. Thanks!
Also, here’s a link to the test program, if anyone is interested.
http://qbnz.com/dr_davenstein/Sphere0.rar