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
184
votes
8 answers

DirectX SDK (June 2010) Installation Problems: Error Code S1023

I seem to be having some problems installing the DirectX SDK. Everything seems to be going well during the install, but at the end I get the message: Setup failed. Errors were encountered during installation of redistributable packages. Please…
James
  • 2,253
  • 3
  • 16
  • 6
120
votes
2 answers

The purpose of Model View Projection Matrix

For what purposes are we using Model View Projection Matrix? Why do shaders require Model View Projection Matrix?
Yuriy Vikulov
  • 2,469
  • 5
  • 25
  • 32
77
votes
7 answers

How to smooth ugly jitter/flicker/jumping when resizing windows, especially dragging left/top border (Win 7-10; bg, bitblt and DWM)?

THE PROBLEM: When I grab the resize border of my Windows app, especially the top or left borders, and resize the window, the contents of the window do resize "live" as I drag, but they resize in a hideous manner that looks like a blatant bug to even…
Louis Semprini
  • 3,515
  • 2
  • 30
  • 31
58
votes
2 answers

How do I install Windows 10 SDK for use with Visual Studio 2017

I can't figure out how to install Windows 10 SDK for Visual Studio 2017. I downloaded and ran the Windows 10 SDK installer, and it displays Please find winsdksetup.exe in ....\Windows kits\10\WindowsSDK to install Windows Software Development Kit -…
Mich
  • 3,188
  • 4
  • 37
  • 85
53
votes
5 answers

Is WPF 3D good alternate of DirectX and OpenGL for complex applications?

I have used WPF's 3D capabilities for learning, and for a few implementations, and I have found it to be very capable, and I am also learning DirectX 11, and it is very tricky compared to using 3D classes in WPF. I have only used WPF 3D for very…
SpeedBirdNine
  • 4,610
  • 11
  • 49
  • 67
51
votes
7 answers

Unresolved external symbol __vsnprintf .... (in dxerr.lib)?

I am running a DirectX 11 application on windows 7 and visual studio community 2015 RC. I'm still using functions from the DX SDK. It worked fine on VS2013 but when I switched over I get only the following error: Error LNK2019 unresolved external…
Moody
  • 1,297
  • 2
  • 12
  • 21
50
votes
4 answers

Comparison between XNA and DirectX (C#)

In terms of PC development (excluding Xbox and Zune), What is the difference between XNA and C# DirectX? Does C# DirectX have a significant advantage over XNA (in terms of speed, royalties, etc)? How are the two compared to the speed unmanaged C++…
worbel
  • 6,509
  • 13
  • 53
  • 63
47
votes
5 answers

Overlaying on a 3D fullscreen application

I want to display some custom graphics on top of a 3rd party fullscreen Windows application. Have you played any Steam games? It has an executable, GameOverlayUI.exe that lets you access Steam windows from within a game. (The GUI elements look…
aib
  • 45,516
  • 10
  • 73
  • 79
40
votes
4 answers

Best practices for Alt-Tab support in a DirectX app?

When writing DirectX applications, obviously it's desirable to support the user suspending the application via Alt-Tab in a way that's fast and error-free. What is the best set of practices for ensuring this? Things that need to be addressed…
chaos
  • 122,029
  • 33
  • 303
  • 309
35
votes
3 answers

Hooking DirectX EndScene from an injected DLL

I want to detour EndScene from an arbitrary DirectX 9 application to create a small overlay. As an example, you could take the frame counter overlay of FRAPS, which is shown in games when activated. I know the following methods to do this: Creating…
Etan
  • 17,014
  • 17
  • 89
  • 148
34
votes
6 answers

Implementing Ray Picking

I have a renderer using directx and openGL, and a 3d scene. The viewport and the window are of the same dimensions. How do I implement picking given mouse coordinates x and y in a platform independent way?
Tom J Nowell
  • 9,588
  • 17
  • 63
  • 91
30
votes
4 answers

How do I capture the audio that is being played?

Does anyone know how to programmatically capture the sound that is being played (that is, everything that is coming from the sound card, not the input devices such as a microphone).
Ra.
  • 2,499
  • 3
  • 28
  • 41
30
votes
5 answers

Developing a 2D Game for Windows Phone 8

I would like to develop a 2D game for Windows Phone 8. I am a professional Application Developer by day and this seems like a fun hobby. But I have been disapointed trying to get going. It seems that 2D games (far and away the majority of games)…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
28
votes
4 answers

what's the difference between material and texture?

In Computer graphics, what's the difference between material and texture?
user496949
  • 83,087
  • 147
  • 309
  • 426
27
votes
2 answers

Forcing NVIDIA GPU programmatically in Optimus laptops

I'm programming a DirectX game, and when I run it on an Optimus laptop the Intel GPU is used, resulting in horrible performance. If I force the NVIDIA GPU using the context menu or by renaming my executable to bf3.exe or some other famous game…
Smohn Jith
  • 305
  • 1
  • 3
  • 8
1
2 3
99 100