directx-9 Questions

4

Solved

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 p...
Kaikaia asked 1/3, 2011 at 1:25

6

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. Th...
Marj asked 3/11, 2012 at 21:25

2

Solved

I have a code in form1 constructor: ConvertedBmp = ConvertTo24(newest.FullName); The function ConvertTo24 is: private static Bitmap ConvertTo24(string inputFileName) { sw = Stopwatch.StartNew...
Unclear asked 6/10, 2014 at 1:40

2

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 o...
Dopp asked 12/10, 2020 at 13:37

1

Solved

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.
Marlenmarlena asked 11/7, 2018 at 2:55

4

Solved

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; ...
Illjudged asked 31/10, 2012 at 11:51

5

Solved

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 <d3dx9.h> in a project. I'm ...
Dichotomize asked 8/2, 2011 at 8:56

2

Solved

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 ...
Anthrax asked 25/1, 2014 at 21:11

1

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 ea...
Vorticella asked 25/10, 2013 at 17:32

2

Solved

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?...
Jeraldinejeralee asked 27/5, 2013 at 11:25

1

Solved

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. ...
Headforemost asked 23/7, 2013 at 13:46

1

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_X...
Cima asked 7/4, 2013 at 19:50

2

Solved

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, i...
Tole asked 6/3, 2013 at 19:7

2

Solved

I am trying to find the fastest method to take the screenshot. So far I've figured out that either GDI, or DirectX can be used. Using GDI I am able to capture the screen in 35ms, while using Direct...
Culinarian asked 30/10, 2012 at 9:15

3

Solved

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/...
Hagiarchy asked 27/6, 2011 at 7:6

1

Solved

I asked how to take the screen shot in DirectX and "Use GetFrontBufferData()" was answered. However, "This function is very slow, by design, and should not be used in any performance-critical path"...
Sideswipe asked 14/10, 2012 at 6:34
1

© 2022 - 2024 — McMap. All rights reserved.