Archived

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

want fullscreen mode, not in my book

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

I got the book Beginning DirectX 9 by Wendy Jones It seems like a pretty good book with interesting stuff to learn. My main complaint about it is that it doesn''t tell how to do fullscreen mode. Is anyone familiar with this book? I need to know how to change the code so that the samples will run in full screen. I found a tutorial on the web for fullscreen direct3d but the initializations looked VERY different from the initializations in my book. I don''t know how to change the code into full screen mode and have it still work. Please help me with this!

Share this post


Link to post
Share on other sites
me again.
I don''t want to post the full code because of
copyright, but maybe if someone could tell me
what part of the code deals with the difference
between fullscreen and windowed I could just
post that portion, then people would be able to
look at it and tell me what to change it to.

Share this post


Link to post
Share on other sites
At initalisation when you fill in the Direc3D Present parameters structure you must specify the buffer width & height to fit the screen resolution , set window mode to false and you can add the refresh rate.
If you woud take time and go around the net you woud find this
P.S.
Sory about the gramatical errors

Share this post


Link to post
Share on other sites
I figured it out. I had the color format set to unknown which
was the setting for windowed mode. I had to change that, which
I think is what made the difference.

Anyway, I''ve been trying to figure out how to do a simple animation
in directx for over a year. I FINALLY got it done!

Now I can go on to program a game which should be smooth sailing
from here now that I have directx animation nailed down. That''s just a matter of the right C++ code, and I know
C++ pretty well.

Share this post


Link to post
Share on other sites
"Anyway, I''ve been trying to figure out how to do a simple animation
in directx for over a year."
O_o 1 year ???
May I yust ask what is the reason of this slow learning ??
I learnd bone animation with quaterions in a 5 days.

Share this post


Link to post
Share on other sites