DirectX 9.0 compatibility with Nvidia Graphics 4 440Go

Win32 Programming


  • 1. MFC menus with full-screen/windowed toggle
    Hi, I've an Windowed MFC app that I wrote which uses GDI calls. I'm wanting to migrate this to DirectX (7, 8 or 9). The app only used blit's from preloaded bitmaps to the display and now I believe I have to recode this as copying to the back buffer during the begin/end of the Render function? I want to also allow the application to be mainly used in full-screen mode as the window fixed size and on a higher res desktop this isn't practical. Questions are: 1) Can I maintain the use of the menu-bar in the fullscreen mode? 2) Are there any good docs/sites for tips on GDI->DirectX migration? (Particularly with relation to Device Contexts) 3) Which DX SDK is best suited to this? The MFC wrapper classes provided with 8&9 have the DX window as a control on the dialog. Can this be altered to fill the whole window instead? Also, when toggling to full-screen you lose the menu, can the be enabled easily? 4) Would I be better off using a library such as SDL or Allegro for such a simple 2D app? Thanks, Mark Keates
  • 2. computing bounding box for mesh?
    I was under the impression you just passed the pointer to your vertex buffer and the FVF to the function and it did the fiddly stuff for you. You may well have to lock the buffer though...? "JB" wrote: > I'm trying to use the call ComputeBoundingBox to create a bounding box around my mesh. I need to give it the first position vector of my mesh but I'm not sure how I should do this. I mean, I can get the vertex buffer and its FVF from mesh but I dont know how to access individual element of a vertex from the vertex buffer and its FVF. I read somewhere else that you actually have to look at FVF and test every possible formats and then construct your own pointer offset calculation?? Is this really that complicated? What's the preferred way to do this so I can turn void** I get when I lock vertex buffer into something more useful?
  • 3. Speeding up Bitmaps Loading
    I am trying to load a sequence of large bitmaps (720*486) and then loop thru each pixel and convert its color space form RGB to YCbCr which is used in TV broadcasting. I'm using VB.NET. Unfortunately, the overall process came up to be real slow specially when running this on 300 frames (around 3 minutes). The steps are: - Loop thru al files to load each bitmap: Dim mBitmap as Bitmap = Bitmap.FromFile(FileName(i)) - Loop thru each pixel, get the color, and apply mathematical conversion For J = 0 to mBitmapHeight For K = 0 to mBitmapWidth mColor = mBitmap.GetPixel(K,J) Y = (Some math function involving R,G,B Values) Cb= (Some math function involving R,G,B Values) Cr= (Some math function involving R,G,B Values) mFile.Write( values) Next Next After doing some analysis, I found that the bottle nock is loading the Bitmap step. I am wondering if there any faster way to load a Bitmap. I read on the MSDN site about Cashed Bitmaps, but I wasn't able to find an example. Anybody has a suggestion? Thanks in advance. Kind Regards.
  • 4. thanks, but...
    Holy Mackarel! Now, that's a diagram! Pardon me if I take a few days to try and digest it. May I suggest, if it's not too late, some ideas for your book, namely, have some examples of combinations of settings that generate rather simple/standard rendered output, e.g. quake-like textures for walls and floors and whatnot (both non-anisotropic and anisotropic). As a long-time programmer, it is always examples that I crave, and if the example is well-thought- out, it can become part of a design pattern that produces a desired effect. And, of course, I realize that there really isn't that much of a difference between dx8 and dx9, but spelling that out will keep people from being scared of buying a dx8 book when dx9 is out. Thanks for the help and feel free to email me when your book comes out. Peace & Blessings, bmac

DirectX 9.0 compatibility with Nvidia Graphics 4 440Go

Postby jdownefter » Mon, 22 Sep 2003 06:04:25 GMT

DirecX 9 has a huge (and I mean a Huge!) problem with 
fullscreen display when some games (like AoE, StarCraft, 
Diablo, Crisom Skies, and more others that must be played 
in fullscreen mode) when it uses Nvidia Graphics 4 440Go 
3d card. It just won't work until we (users) remove 
DirectX 9 and install DirectX 8.1!!

Please do something about this issue.!!

Check some opinions and situations with other users you 
can go to:

Re: DirectX 9.0 compatibility with Nvidia Graphics 4 440Go

Postby The March Hare (MVP) » Mon, 22 Sep 2003 06:56:23 GMT

A better newsgroup for application compatibility questions is:

This newsgroup is for DirectX graphics programming questions.

Re: DirectX 9.0 compatibility with Nvidia Graphics 4 440Go

Postby Eyal Teler » Mon, 22 Sep 2003 09:36:42 GMT

>  http://www.**--****.com/ 

I checked this, and part of the problem there may be motherboard 
drivers that aren't up to date. At least that made DX9 work on Windows 
98 in a recent test we made.

(As The March Hare said, it's not the right group, but I thought I'd 
mention this.)


Similar Threads:

1.DirectX 8.1 to DirectX 9.0 porting problem

Hi all,
I am converting an existing DirectX 8.1 code to DirectX 9.0 and in
doing so i am stuck in a problem.

The existing code uses two functions which are not there in DirectX

1. GetOriginalMesh
2. GenerateSkinnedMesh

For the GetOgiginalMesh I am using the alternative CloneMesh()and now i
can load the meshes, either skinned or non-skinned.

But i have no clue, what to use as an alternative for
GenerateSkinnedMesh and therefore i can not make the meshes animate.

Any ideas?

Saurabh Aggrawal

2.using DirectX 9.0 on DirectX 8 chipset

To what extent can you program using manage DX9 and still expect it to run 
on a machine using integrated chipset video that is only DX8 compatible? 

3.Microsoft To License Graphics Technology From Nvidia for Xbox 360's Backwards Compatibility

4.Nvidia graphics card for Linux RH 9.0?

Dear all,

   I'm just survey which one of Nvidia graphics card can be support by R 9.0
for 2D application. I know Nvidia have provide driver for RH 9.0. But i just
wonder which one is suitable for RH 9.0 platform? Does anybody has any
experience with it? Any advice are welcome.

    It's very appreciated for your help. Thanks!


5.[ANN] April 26, 2005, "DirectX 9.0 Direct3D Graphics with Visual Basic .NET" chat

6. directx 9.0 error code

7. directX 9.0 help with textures and sprite hnadler

8. Could you tell me how to get "Introduction to 3D Game Programming with DirectX 9.0 "

Return to Win32 Programming


Who is online

Users browsing this forum: No registered users and 77 guest