Original Post
this isn't really an opengl question perse which is why i am posting it here as opposed to say in the opengl forums; nevertheless, i am currently using the opengl api... i have a 3d model for the x,y,z axes. this model is drawn in the screen and using a selection technique, i figure out which axes the user currently has the mouse on. my goal is to have it so that if the user clicks and moves the mouse, the axes will translate depending on which one was clicked. my technique is to unproject the screen coordinates @ mousex, height-mousey and at the z coordinate of the axes. with the resulting 3d point, adjust the position. this method does not work, however. the axes jump all over the place. any suggestions?
