Archived

This topic is now archived and is closed to further replies.

Window Problems...

This topic is 5540 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

Hi, I''m new to Direct3D, but I''ve been using OpenGL for a while. I downloaded and ran the example window tutorial from NeXe''s website, but I noticed that when the window loses focus, the mouse movement is choppy. How do I fix that? Also what is the best D3D book or website to learn from? Thanks.

Share this post


Link to post
Share on other sites
Do you have the latest version of your video drivers and/or the lastest version of directx? That might solve the problem.

Anyhoo, some good books for learning directX are:

Programming Role Playing Games with DirectX (by forum moderator Jim Adams)

I have this book and it is a VERY good introduction to directx and to developing games. Even if you do not plan on creating an RPG (like me) this book is certainly worth your money.


Good websites for learning direct3D are:

www.andypike.com
www.drunkenhyena.com


nexe.gamedev.net is kind of iffy because some of their code is.. well.. bad. heheh.

Don''t forget you''ll be needing the directX SDK! You can find that somewhere at msdn.microsoft.com .. search for DirectX SDK.


I''ve often heard that changing between these two graphics API''s is quite easy, so I hope you don''t have too much troubles!! and welcome to directX!

¬_¬

Share this post


Link to post
Share on other sites
may be because the program doesn''t stop running when it loses focus, thus it steals cpu time from other processes when it''s in background.

Share this post


Link to post
Share on other sites
Thanks for the replys. I compiled and ran one of the Microsoft DirectX examples and when its window lost focus or when it was minimized, there were no mouse movement problem. Unfortunately, figuring out what the 3000+ line code does differently is not trivial.

Thanks again.

Share this post


Link to post
Share on other sites