Skip to main content
GameDev.net gamedev.net
🔒 Locked

Using picking with Directinput

Started by Xeee Jan 10, 2003 at 6:35 AM 0 replies 200+ views
Original Post
Xeee
Xeee
i''m working on something that requires opengl picking, i spent a day or less reading and i''m now capable of doing it(the opengl part), but i need the mouse coordinates relative to the window coordinates so that i can perform picking, i tried to use directinput, but 1)it gives me the amount of movement since the last call, (i managed to convert this to absolute coordinates, but this annoyed me) 2)i feel it''s not accurate, mayb coz of that windows mouse acceleration thing, i don''t know. do i switch to GetCursorPos() and save some effort getting directinput to do it, does GetCursorPos() have any drawback/disadvantages?? thanks for help xee..
xee..

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.