Search Forums
-
Ok, Ive found where the problem was. The device didn't work as it should, I fixed that, and now device isn't NULL anymore. It makes screenshot, but the problem is, its black. I get something.bmp, but its black, which is another frustrating problem I have.
I guess there is something wrong with surface...
Here is the code:
...
-
Oh, Ive seen that many of those books were not made yet....so XNA 2.0 book would be OK as well.
-
Hello guys,
I decided to start learning XNA for real now, since I got an idea, and I think XNA is a good way to achieve my goal.
I would also like to hear any good recommendation for C# (tutorial or even better programmer approach to language (I would like to get known with C# structure and learn some useful tips and get skills required for ...
-
WCHAR max path is 260, which is quite enough (I use like 100 MAX), so no security problems here.
-
wcscpy(g_Model, L"someothermodel.x"); did the job
-
Hello guys,
Lets say I have a WCHAR variable which contains a location of 3D Model:
WCHAR g_Model[MAX_PATH] = L"somemodel.x";
Now, In application it happens that I want to change the model from somemodel.x to someothermodel.x
I use the case, where I try to change g_Model variable to handle "someothermodel.x", ...
-
I were checking online how to make screen shot in direct x 9 and I found something like this:
extern IDirect3DDevice9* pd3dDevice;
HRESULT WINAPI CaptureScreen()
{
HRESULT hr;
IDirect3DSurface9* pSurface;
pd3dDevice->CreateOffscreenPlainSurface(800, 600, D3DFMT_A8R8G8B8, ...
-
-
It still doesnt work + when I set D3DPRESENTFLAG_LOCKABLE_BACKBUFFER as flag, when I go from fullscreen to windowed, the window dissapears.
-
[quote user="Wessam Bahnassi"]Try activating Dialog mode on your 3D device. It has a certain performance hit, but it should solve your problem.
See IDirect3DDevice9::SetDialogBoxMode()[/quote]
I have tried SetDialogBoxMode() already, but it makes things only worse.