How would I find the mouse x/y cordnance using Open GL, but not GLUT?(I’m using windows code.[On a side note, is there a way to use GLUT in WinMain?]) Or do I need to use a different library? (And which one?)
[This message has been edited by Ionwizard (edited 09-18-2001).]
You’re writing Windows code, right? So feel free to use Windows mouse messages to deal with the mouse coordinates.
Now, if your question is on “picking” (finding out which object the mouse is on), that is a different matter. Do a search on picking on this board, and you will find lots of useful posts (most of which guide you to use the selection buffer).