how can i convert my window position(mouse pos from mouse event) to my “world” position.
i googled an example using gluUnProject but it doesn’t return “good” values.
so what i need is to convert my current mouse pos to scene pos so i can cast a ray to pick object under my mouse.
any pointer’s to tutorial or example code would be helpfull.