Questions tagged [directx-10]

DirectX 10 is the 10th 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 Vista.

DirectX 10 is the 10th 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.

DirectX 10 ships with and is only available with and later.

164 questions
14
votes
1 answer

What's the best tool you can use to learn to program shaders?

I've recently been doing some DirectX 10 work and I'm looking to move to DirectX 11 and Shader Model 5.0. I've written a few very simple shaders in the past and I'm looking to broaden my horizons and venture into more complex shaders. My question is…
Darkenor
  • 4,349
  • 8
  • 40
  • 67
10
votes
1 answer

How to save backbuffer to file in DirectX 10?

I want to render a video frame-by-frame using DirectX 10. The frames would be processed later by some other tool like mencoder or ffmpeg. I had no problems doing so in DX9 using D3DXSaveSurfaceToFile. Now, in DX10 I've found D3DX10SaveTextureToFile,…
shinjin
  • 2,858
  • 5
  • 29
  • 44
8
votes
2 answers

Disable alt-enter in a Direct3D (DirectX) application

I'm reading Introduction to 3D Game Programming with DirectX 10 to learn some DirectX, and I was trying to do the proposed exercises (chapter 4 for the ones who have the book). One exercise asks to disable the Alt+Enter functionality (toggle full…
Andreas Bonini
  • 44,018
  • 30
  • 122
  • 156
6
votes
1 answer

DirectX 11 Render To Texture

basically I am trying to render a scene to a texture as in this ogl tutorial here but in DirectX 11, and I faced some issues: Absolutely nothing is rendered when I launch the program IDK why. The only thing the texture displays 'correctly' is the…
Zlixine
  • 184
  • 2
  • 15
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,841
  • 5
  • 27
  • 43
5
votes
1 answer

DXUT Configuration

This is actually 2 questions in one, but both relate to DXUT. How do you configure a project to use DXUT in Visual Studio 2010? Do I need to add all of the header and source files to any project I want to use DXUT with? Can I just add…
zooker
  • 75
  • 2
  • 5
5
votes
1 answer

How to properly update vertex buffers in DirectX 10

For a little background: I am working on a project in C++ in which I am trying to draw 3D representations of objects based on real time profile data. The profiling data is gathered from external profiling hardware. The system travels along an…
Tim Coolman
  • 595
  • 1
  • 9
  • 19
5
votes
1 answer

Implement API to wait for d3d10 commands to finish

I am implementing some functionality which requires me to implement an API to wait for d3d10 to finish rendering.Basically i am trying to implement synchronize access to a shared texture such that i can update a texture after d3d10 is successfully…
Bharat Ahuja
  • 394
  • 2
  • 15
5
votes
0 answers

Direct3D 10 vsync issue in window mode with DWM disabled

I've got a problem with vsync on Direct3D 10 in window mode with DWM disabled. We have an application, that render and present some output. It have to work in window mode and it have to produce stable 60 fps minimum. One version of application is…
nicolausYes
  • 633
  • 8
  • 33
4
votes
2 answers

DirectX 10 video mode switching and performance

In a DirectX 10 application, does switching between fullscreen and windowed mode incur any sort of overhead like having to recreate textures and/or vertexbuffers? In other words, can I build an application that is designed to do "a lot" of switching…
korona
  • 2,308
  • 1
  • 22
  • 37
4
votes
3 answers

.NET How to detect if DirectX 10 is supported?

I would like to find out from .NET code whether DirectX 10 is supported on the machine, preferably without using managed DirectX or XNA assemblies. Thank you in advance!
ShdNx
  • 3,172
  • 5
  • 40
  • 47
4
votes
1 answer

How do I rework an existing Direct2D-based library to function accessed from multiple threads at once?

I am using an existing graphics library, one implementation of which uses Direct2D. (It can also use GDI+, Quartz, etc.) It has bitmap objects, pens, brushes etc, all implemented as wrapper code around Direct2D objects. The library is closed source…
David
  • 13,360
  • 7
  • 66
  • 130
4
votes
0 answers

Direct2D Debug - An interface [x] was created but not released

I have the Direct2D debug layer turned on. When my application exits, I get the following output: D2D DEBUG ERROR - An interface [x] was created but not released. Use 'dps x' to view its allocation stack. Where x is an address. What is dps and how…
4
votes
1 answer

Directx 11 Front Buffer

I am hoping this is a easy answer to an easy question which I cannot find an answer to. How do I access the front buffer in Directx 11 / DXGI? I have found in Directx 9 you can use GetFrontBufferData() and you can use GetBuffer() in Directx 11 to…
user2600628
  • 95
  • 1
  • 8
4
votes
2 answers

What is the most efficient method of rendering sprites in DirectX 10?

I am currently experimenting with various ways of displaying 2D sprites in DirectX 10. I began by using the ID3DX10Sprite interface to batch draw my sprites in a single call. Eventually, however, I wanted a little more control over how my sprites…
Daniel Hopkins
  • 105
  • 1
  • 6
1
2 3
10 11