Jump to content
  • Advertisement
Sign in to follow this  
Descenarius

Problem with getting Mouseposition

This topic is 4003 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

well, i've got a scene with several objects and want to find out at which position the Cursor of the mouse is, i'm doing this with glUnProject(). so far it works fine. when i add blending to a few objects i have to (as read in the redbook) draw them last and with depth buffer read-only (to be sure that depth-test works) now glUnProject() does not get the correct position of the mouse in the scene anymore when the cursor is over a blended object i think i know why that occurs (i will not explain here why, because my english is too bad for that :P ), but i dont know how to solve it... any suggestions? sorry for my bad english if there are problems with understanding my text, feel free to ask

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!