Original Post
The DX9 SDK Picking tutorial seems to only deal with situations when objects are not moved. I'm using functions from the CD3DArcBall() (sample platform) to manipulate object, when trying to integrate the picking functions, it seems the transformation matrix does not work after the object is moved. Would anyone describe: 1. Relationships between view point vector, ray direction vector, object centre. 2. When to use translation and rotation matrix under the situation that the same mouse button is used for both model manipulation and picking (is there possible conflict here that needs 3. Does it matter part of the world transmation has been done by quaternion when doing ray tracing? (the CD3DArcBall() class uses quaternion for axis to axis rotation) 4. How to determine whether a vector needs to be further transformed, and what matrix to use.