Original Post
Hi I've currently got a Directx8 app which is a kind of level/mesh designer. I have 4 view types, 1 perspective and 3 orthogonal (top, side and front). In one of the orthogonal views, you can zoom in and move around the objects by using view translation and scaling which works perfectly. I basically rotate the view 90 degrees in the relevant direction first to get the side, top or front projection and then apply the required translation and rotation, etc. This all works fantastically well until I've come to picking objects. Can anyone give me some pointers or code to do this? My objects are also individually scaled, translated and rotated so it's not a case of checking the coordinates against the original object vertices, there must be a reverse logic step I have to do? Any sample code on how to do this in both perspective and orthogonal projection types would be very much appreciated as my girlfriend likes me with hair! Thanks all