Questions tagged [directx]

DirectX is a collection of APIs for handling tasks related to multimedia, especially 3D graphics and game programming and video, on Microsoft platforms.

Microsoft DirectX is a collection of APIs for handling tasks related to multimedia, especially 3D graphics and game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. The name DirectX was coined as shorthand term for all of these APIs (the X standing in for the particular API names) and soon became the name of the collection.

More information at Wikipedia article of DirectX

References & Tutorials:

5860 questions
2
votes
2 answers

Skeletal animation of DirectX files in OpenGL

I'm trying to import *.x files to my engine and animate them using OpenGL (without shaders for now, but that isn't really relevant right now). I've found the format reference at MSDN, but it doesn't help much in the problem. So - basically - I've…
Paweł Stawarz
  • 3,952
  • 2
  • 17
  • 26
2
votes
1 answer

DirectX using multiple Render Targets as input to each other

I have a fairly simple DirectX 11 framework setup that I want to use for various 2D simulations. I am currently trying to implement the 2D Wave Equation on the GPU. It requires I keep the grid state of the simulation at 2 previous timesteps in order…
Valentin
  • 1,731
  • 2
  • 19
  • 29
2
votes
2 answers

DirectX 11 missing SDK component on Windows 8.1

I'm unable to get DirectX C++ applications working, they compile but give the following runtime error: I have Windows 8.1 installed, but dxdiag says everything's working properly (with Direct3D/Draw/AGP texture acceleration enabled), using DirectX…
Nick
  • 607
  • 1
  • 7
  • 14
2
votes
0 answers

cost of bilinear, trilinear and anisotropic texture filtering

I've seen a lot of questions and answers on different forums regarding the visual difference between different texture filtering methods (bilinear/trilinear/anisotropic2x etc), but I've not been able to find any info on the cost in texture taps, ALU…
user1200340
  • 157
  • 1
  • 3
  • 10
2
votes
2 answers

Where Should I start DirectX for simple use in C#?

I have no idea about DirectX and didn't ever work with that. I want load my object from 3dMax and have lighting and camera. I don't need animation. I just want to move the camera around the object. I have some experiences in C# and know this…
Loghman
  • 1,500
  • 1
  • 14
  • 30
2
votes
2 answers

C++ function to do DxDiag "Direct3D Acceleration" detection

Microsoft DxDiag can detect whether a system has "Direct3D Acceleration". If the system has not the capability, DxDiag will write "Direct3D Acceleration not available" and will write in the console "Direct3D functionality not available. You should…
Alessandro Jacopson
  • 18,047
  • 15
  • 98
  • 153
2
votes
0 answers

configuring NetBeans to work with DirectX

I have NetBeans 7.2.1 with Cygwin compiler installed. I want to setup Direct X in NetBeans, so I right clicked on the project -> properties -> C++ Compiler -> Include Directories, and added the include in DirectX SDK, went to properties again ->…
Aelgawad
  • 184
  • 1
  • 16
2
votes
3 answers

DIDEVICEINSTANCE guidInstance and guidProduct change on same device

I am using DirectInput8 in a project at work that monitors various components of the pc. To monitor joysticks we use DirectInput8. The data is retrieved by enumerating all joysticks with DI8DEVCLASS_GAMECTRL as the type and DIEDFL_ATTACHEDONLY as…
2
votes
0 answers

How to display WPF overlay on top of DirectX?

I learned how to hook into the game EndScene function, but how to host WPF content is something I am trying a very long time to understand. I am trying to do something like Overwolf, for a specific game (starcraft), I asked their team how they do…
BBLN
  • 495
  • 6
  • 19
2
votes
0 answers

Performance: Offline surface for hit testing vs Triangle Intersection

First, a disclaimer. I'm well aware of the std answer for X vs Y - "it depends". However, I'm working on a very general purpose product, and I'm trying to figure out "it depends on what". I'm also not really able to test the wide variety of…
FrozenKiwi
  • 1,362
  • 13
  • 26
2
votes
1 answer

What header contains HR function definition? (Windows programming)

I'm reading a book about DirectX11 but I'm having trouble understanding some code in the book.. What does HR() function do? Also, what header should I include for it and ReleaseCOM() ? What are typdefs like typedef float FLOAT in WinAPI ? Should I…
2
votes
5 answers

Who can tell me what this bit of C++ does?

CUSTOMVERTEX* pVertexArray; if( FAILED( m_pVB->Lock( 0, 0, (void**)&pVertexArray, 0 ) ) ) { return E_FAIL; } pVertexArray[0].position = D3DXVECTOR3(-1.0, -1.0, 1.0); pVertexArray[1].position = D3DXVECTOR3(-1.0, 1.0, …
Finglas
  • 15,518
  • 10
  • 56
  • 89
2
votes
1 answer

Can't find directx library

I recently installed windows 8 and installed directx sdk jun 2010 on it. However when I try to start a program on it gives me an error: Error: "couldnt find d3dx9.lib" or "couldnt find d3dx11.h" This error was in directx own sample projects also. I…
virtouso
  • 549
  • 11
  • 30
2
votes
1 answer

C++ DirectX10 Mesh Disappearing After One Frame, Why?

First time poster on this site. But I have hit a serious block and am lost. If this is too much to read, the question is at the bottom. But I thought the background would help. A little background on the project: I currently have a rendering engine…
Martin Hollstein
  • 528
  • 4
  • 10
2
votes
0 answers

Avoid focus loss on Windows Notification

I have a full screen DirectX drawing application which I've noticed looses focus when you get one of those Windows notifications. Is there a way to avoid this?
ronag
  • 49,529
  • 25
  • 126
  • 221