A method typically used for determining what the user selected.

learn more… | top users | synonyms

3
votes
2answers
1k views

Picking 2D objects after transforming camera in XNA

I have an XNA application (a force based visualisation of some circles) that I've implemented zooming and scrolling in, thanks to this guide. Before I had the camera implemented, I had picking ...
2
votes
0answers
1k views

Controlling 3D model with mouse XNA 4.0 C# [closed]

I am creating a 3D table tennis game and the racquet (created in Maya 2012) is controlled by the mouse. I have used picking method to control the racquet, however the cursor is not on the racquet. It ...
1
vote
1answer
4k views

Picking objects with mouse ray

I simply want to pick a few spheres in my scene using the mouse-ray. I have implemented(copied most of it but with little understanding) a ray-sphere collision code. Also I have implemented the code ...
1
vote
1answer
254 views

Why is texturing interfering with my ID-based picking implementation?

Today I came across a tutorial about color picking and I implemented it on my machine. But there is a problem: when I disable the texture and draw the object I want to pick with its picking color, it ...
3
votes
1answer
1k views

Ray picking - get direction from pitch and yaw

I am attempting to cast a ray from the center of the screen and check for collisions with objects. When rendering, I use these calls to set up the camera: GL11.glRotated(mPitch, 1, 0, 0); GL11....
2
votes
1answer
613 views

Triangle accuracy picking for animated models in XNA

I can do picking with triangle-accuracy for non-animated models, but I also have animated models in my game. How do I do picking on animated models? I use code based on this project for animation. ...