Questions tagged [directx-9]

DirectX 9 is the 9th version of Microsoft's DirectX API, which is used to develop and handle tasks related to Multimedia, such as game programming, 3d visualizations and video on Microsoft platforms including Windows XP, Windows Server 2003, and Xbox 360.

DirectX 9 is the 9th version of Microsoft's DirectX API, which is used to develop and handle tasks related to Multimedia, such as game programming, 3d visualizations and video on Microsoft platforms.

664 questions
-1
votes
1 answer

How can I fix the error 0xc000007b in DirectX9 SDK

Already reinstalled the Windows. Tried reinstalling everything possible, .NET framework, DirectX, Visual essential but nothing.
Game_dev
  • 27
  • 7
-1
votes
1 answer

How to declare stream output in GS in HLSL?

I want to implement Stream output stage in DX9 using HLSL. Stream output buffers are passed in Geometry shaders. How to implements this Stream output logic in GS when writing in HLSL?
-1
votes
2 answers

DirectX hook ignores vertex colors

I have detoured a detour from a game's third-party overlay to draw on top of it and I managed to do as much, just without color. I had no prior experience with DirectX so I'm having a really bad time to figure out how to do anything at all. By…
Luiz
  • 148
  • 1
  • 9
-1
votes
1 answer

c++ directx 9 textute filtering error using IDirect3DDevice9::SetSamplerState

i have a issue when i use IDirect3DDevice9::SetSamplerState void Draw(GraphicsDevice *gDevice, float gameTime) { // here's the problem IDirect3DDevice9::SetSamplerState(0, D3DSAMP_MIPFILTER, D3DTEXF_NONE); //Simple RGB value for the…
alabdaly891
  • 159
  • 1
  • 8
-1
votes
1 answer

How to efficiently and correctly resize ID3DXFont

I am looking to resize a DirectX font object in a for loop. See below for an example: for ( int i = 1; i < 20; i++ ) { // font size should be i } It would be inefficient to create a font for every single possible size so I was wondering if I…
john tope
  • 3
  • 3
-1
votes
1 answer

How to sample height map which is stored in the alpha channel of the normal map?

error X3523: DX9-style intrinsics are disabled when not in dx9 compatibility mode how to use the tex2Dgrad() function in dx10?
Nico
  • 11
  • 3
-1
votes
1 answer

Why can Direct3DCreate9 be slow?

I'm trying to speed up the start times for my Direct3D app a bit, and I have noticed Direct3DCreate9 takes a whole second according to profiler (more than anything else). Why? And what can be done about it? OS: XP, DirectX: 9.0. Same behaviour on…
himself
  • 4,806
  • 2
  • 27
  • 43
-1
votes
1 answer

D3DXSaveSurfaceToFile - Random file name?

i'm trying to save multiple .bmp files with the D3DXSaveSurfaceToFile method but unable to solve it, i've tried making random strings/wstrings & convert them to LPCWSTR/LPCSTR, using D3DXSaveSurfaceToFileW / D3DXSaveSurfaceToFileA, but all i get is…
Jahrk
  • 11
  • 6
-1
votes
1 answer

Can i use Direct x 9 in c++ express when i have direct x 11

Hi i've got direct x 11 installed and a college course ive just started are using direct x 9. Is there a way to use direct x9 in visual studio express c++ thatnks :)
Rob Hope
  • 33
  • 4
-1
votes
1 answer

using Box2d to translate d3dxsprites?

I have a render engine built using directx 9c and the d3dxsprite interface. My renderer takes a d3dxmatrix and i was wondering how to get that info from Box2d? Its not the best but it renders from the identity matrix. It works pretty well for what…
Scott Jasin
  • 117
  • 6
-1
votes
1 answer

Can't acquire keyboard unless window has focus (C++, DirectX9)

Using DirectX 9, I am unable to acquire the keyboard device if another program has focus while my program is trying to acquire it. This is a problem if the user clicks another window while my program is initializing. I call Windows's SetFocus and…
Topological Sort
  • 2,733
  • 2
  • 27
  • 54
-1
votes
1 answer

how to convert XMVECTOR to D3DVECTOR and to D3DCOLORVALUE in DirectX 9?

I learn DirectX (DirectX 9) from www.directxtutorial.com and using visual studio 2012 in windows 8. d3dx9 (d3dx) replace by other header like DirectXMath, therefore I replaced all that is needed, but there is a problem - convert XMVECTOR to…
Arlu
  • 41
  • 2
  • 9
-2
votes
1 answer

Finding a hidden Button

I played in the past on partypoker and worte my own window arranger. it arranged the windows based on a visible button, but today i switched to a different room. the problem is that i cant find the button with spy++. spy++ doesnt recognize that…
Maik Klein
  • 15,548
  • 27
  • 101
  • 197
-2
votes
1 answer

Directx9 methods of drawing models

I was wondering if there is any other method beside the classical DrawIndexedPrimitive DrawIndexedPrimitiveUP DrawPrimitive DrawPrimitiveUP DrawRectPatch DrawTriPatch for drawing models on the screen.
user365268
-2
votes
2 answers

Creating texture which is in project folder

I'm having trouble creating a texture which is in my DLL project's directory. I'm doing D3DXCreateTextureFromFile(Device, "Sprites/ExpandBlack.png", &BlackTexture); but that doesn't seem to work. However if I do the whole path…
datboi
  • 198
  • 2
  • 2
  • 9
1 2 3
44
45