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.

637 questions
20
votes
4 answers

Cannot open include file "d3dx9.h"

Edit: Of course, immediately after working on it for an hour then posting here, I found the stupid mistake... I'm getting compiler errors when trying to #include in a project. I'm receiving "fatal error C1083: Cannot open include file:…
chaosTechnician
  • 1,522
  • 3
  • 16
  • 30
14
votes
5 answers

Fast multi-window rendering

I've been searching and testing different kinds of rendering libraries for C# days for many weeks now. So far I haven't found a single library that works well on multi-windowed rendering setups. The requirement is to be able to run the program on…
Sebastian Jylanki
  • 779
  • 10
  • 17
12
votes
2 answers

Converting a 32bit directx9 app to be large address aware

We are running into issues with an old closed-source game engine failing to compile shaders when memory nears 2GB. The issue is usually with D3DXCreateEffect. Usually it returns HResult "out of memory", sometimes d3dx9_25.dll prints random errors in…
user1108591
  • 130
  • 6
11
votes
2 answers

Learning DirectX in 2013

I know there are several topics about this question, but I want to specifiy what Iam looking for. So I learned OpenGL and got the basics of shaders (programmable pipeline), vertex buffers, index buffers, all together so called "Modern OpenGL". Iam…
DonCalito
  • 113
  • 1
  • 4
10
votes
1 answer

How to render text in directx9 with stb_truetype?

How to render a text with the stb_truetype library using D3D9 in C/C++? I looked in various forums/sites and in the library's documentation for some example in d3d9 and I didn't find any example.
cYeR
  • 115
  • 9
9
votes
2 answers

Some options on DirectX control panel was disabled on Windows 8

I am using DirectX 9.0 on Windows 8, when I open the DirectX control panel, I found some options was disabled, I am running as a administrator, so this is not an privilege issue. why this happened? I can't turn on the debug version runtime since it…
zdd
  • 7,560
  • 8
  • 34
  • 71
8
votes
4 answers

Can I generate a random number inside a pixel shader?

I'm trying to write a very simple shader that adds random sparkle to applicable objects. The way I'd like to do this is by adding a random shade of white (R = G = B) to the pixel value within the pixel shader. It seems that noise() doesn't work the…
chaosTechnician
  • 1,522
  • 3
  • 16
  • 30
7
votes
3 answers

D3D9 Hook - Overlay with Direct3D9

OK, so I'm trying to do some overlay for some extra buttons on a Direct X game. I found a c++ sample that overlays quite nicely here: http://www.gamedev.net/topic/359794-c-direct3d-hooking-sample/ So I began to convert it to Delphi. With some…
ThievingSix
  • 966
  • 1
  • 9
  • 23
7
votes
2 answers

Linear movement stutter

I have created simple, frame independent, variable time step, linear movement in Direct3D9 using ID3DXSprite. Most users cant notice it, but on some (including mine) computers it happens often and sometimes it stutters a lot. Stuttering occurs…
Demion
  • 817
  • 1
  • 13
  • 25
6
votes
1 answer

DirectX9 window resize in runtime without device reset

In: C++\Win32 application (not in fullscreen)\DX9 How can i redraw window content during resize fast and nice enough? Resize == user drag window border. Different approaches: Reset device on each WM_SIZE\WM_PAINT. Adequate resolution, but black…
mjollneer
  • 935
  • 2
  • 15
  • 33
6
votes
1 answer

Using DirectX to capture screen on Windows

I was experimenting with ways to capture screen on windows and consequently deciding on the fastest way to do so. The most common is obviously the GDI way. And it is decent in performance as well. Depending on the system load and static/non-static…
Hrishikesh_Pardeshi
  • 967
  • 4
  • 17
  • 41
5
votes
2 answers

Important reads before porting c++ application from Directx9 to Directx10

I'm on the edge of starting a large refactor round in our software. At the moment, the render component is still based upon DX9. The new version will use DX10. Before I start, are there any important and well written guides or overviews on porting…
bastijn
  • 5,461
  • 4
  • 25
  • 41
5
votes
1 answer

SlimDX/DirectX9/C# - How to access pixel-data in a Texture

This is my first question ever on StackOverflow, hurray! I can honestly say I use StackOverflow on daily basis for both my work and personal programming mysteries. 99,9% of the time I actually find the answer I need on here too, which is great! My…
Lennard Fonteijn
  • 2,193
  • 2
  • 20
  • 32
5
votes
1 answer

Drawing a rectangle in Direct X

Using the tutorial here, I have managed to get a red triangle up on my screen: http://www.directxtutorial.com/Lesson.aspx?lessonid=9-4-4 CUSTOMVERTEX OurVertices[] = { { 0, 0, 0, 1.0f, D3DCOLOR_XRGB( 127, 0, 0 ) }, { WIDTH, 0, 0, 1.0f,…
Jimmyt1988
  • 18,656
  • 34
  • 113
  • 210
5
votes
4 answers

the type or namespace name 'directx' does not exist in the namespace 'microsoft'

I have been trying to include DirectX in C sharp project (Visual Studio 2010). I installed DirectX SDK and included the components as: using Microsoft.DirectX; using Microsoft.DirextX.Direct3D; When I try to compile, I get the error: the type or…
Aman
  • 673
  • 1
  • 8
  • 25
1
2 3
42 43