Questions tagged [direct3d]

Direct3D is a high-performance, COM-based API for accessing graphics hardware (GPUs) in a device-independent way on Microsoft platforms.

Direct3D is a high-performance, COM-based API for accessing graphics hardware (GPUs) in a device-independent way on Microsoft platforms.

It is typically used for video game development, in contrast to the OpenGL API, which is more often used in data visualization tasks.

There are several versions of the Direct3D API, each of which corresponding to a different generation of graphics hardware.

  • Direct3D 7 incorporated hardware-accelerated transformation and lighting (NVidia Geforce, ATi Radeon).
  • Direct3D 8 added limited support for programmable graphics hardware (pixel and vertex shaders) using a specially-designed shader assembler syntax (NVidia Geforce 3, ATi Radeon 8500).
  • Direct3D 9 greatly improved support for programmable shader hardware, allowing for fairly complex shader programs (NVidia Geforce FX, ATi Radeon 9500), as well as incorporating a high-level language for writing shader programs (HLSL, basically identical to NVidia Cg).
  • Direct3D 10 featured a completely restructured API while removing support for fixed-function hardware and assembler shader programs (NVidia Geforce 8). While previous versions of Direct3D were backwards-compatible, Direct3D 10 works only on capable hardware.
  • Direct3D 11 added support for different levels of graphics hardware functionality, unifying support for "modern" (fully-programmable) as well as "legacy" (fixed-function or partially-programmable) GPUs.

Microsoft's XBox game consoles' GPUs are programmed using a variant of Direct3D (a Direct3D 8 variant on the original XBox, and an improved Direct3D 9 variant on the XBox 360, with added support for some Direct3D 10 features such as tesselation).

More information at http://en.wikipedia.org/wiki/Direct3D

1464 questions
0
votes
1 answer

My sprite is not appearing on my window, not sure where the issue is

I have supplied my DirectX project: http://www.planetchili.net/forum/download/file.php?id=830 It has to be something simple but I just don't know the API well enough to find out where the problem is... I think the following will help: class…
Jimmyt1988
  • 20,466
  • 41
  • 133
  • 233
0
votes
1 answer

how to transform a subset vertex of a vertex of human skeleton in directx3d?

I want to transform a vertex (such as a vecotr) by a matrix, but i can not find the api like a vector multiply matrix in direct9 msdn 。so my question is that:should i code it by myself,or is there any other method can achieve it?
0
votes
1 answer

InvalidArgumentException when calling D3D's CreateRasterizerState1

I am working in DirectX 11 via C++ and I am getting an error when creating a raserizer state. First, here is the code: // set up rasterizer D3D11_RASTERIZER_DESC1 rasterizerStateDescription; ::ZeroMemory(&rasterizerStateDescription,…
Justin R.
  • 23,435
  • 23
  • 108
  • 157
0
votes
3 answers

Strange rendering with Direct3D10

I'm writing an application which renders graphics on the screen. The application can switch between Direct3D9 and Direct3D10 graphics modules (I wrote DLLs that wrap both D3D9 and D3D10). When trying to render a test mesh (a torus which comes as a…
george.zakaryan
  • 960
  • 1
  • 6
  • 18
0
votes
1 answer

Sprite object no longer renders when put in to a Vector

Creating a small 2D game, using Direct3D 9 and C++. I have come across a problem I have not seen before. The game is a shop based one so I have a customer class. I have created the object in the game and it renders and behaves how I want for the…
Chris
  • 191
  • 1
  • 13
0
votes
1 answer

Correctly rendering overlapping triangles?

I started learning DirectX 9 in C#. I want to render two triangles and rotate them around the Y axis. In this part I initialize the Device: public bool InitializeDevice() { try { meshList = new List(); // Erstellt…
Maxim
  • 317
  • 1
  • 5
  • 13
0
votes
1 answer

How to reduce the memory of use about D3DXCreateTextureFromFileInMemoryEx?

I am making a 2D game with Direct3D,and use D3DXCreateTextureFromFileInMemoryEx to load my images of game.There are 221KB size of images in my game. But when I use D3DXCreateTextureFromFileInMemoryEx to load the image to memory.They are becoming…
0
votes
1 answer

Drawing lines ontop of texture in Direct3D

Im am working in Direct3d11 with Windows 8 Store apps. I have been searching google and missing a few points, that i would be happy if someone could point out for me. So far i have managed to created buffers, shaders and getting a texture sampled…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283
0
votes
2 answers

How to disable Direct3D Acceleration on Windows 7?

I have tried to disable 3D acceleration on my machine that operation system is Windows 7. I opened the DirectX Diagnostic Tool but DirectX Features can not be changed: In addition I also tried to change Troubleshoot settings. However, it also…
iremce
  • 570
  • 4
  • 14
  • 25
0
votes
1 answer

Loading FBX model into DirectX application

I am trying to render a 3d model from FBX file in my directx application, so I have loaded it using fbx sdk, but I found a big problem, probably caused by different coordinate system: DirectX use left handed, Fbx - right handed, so finally I got it…
Netstep
  • 492
  • 3
  • 12
0
votes
1 answer

What is the use of NPDrawingModelAsyncBitmapSurface in Mozilla NPAPI AsyncDrawing?

Mozilla exposes an AsyncDrawing API, that enables hardware accelerated rendering in an NPAPI plugin. While the NPDrawingModelAsyncWindowsSharedSurface mode requires Vista and higher, the NPDrawingModelAsyncBitmapSurface works also on Windows XP. But…
Gil
  • 395
  • 4
  • 19
0
votes
0 answers

D3D Injection one Device, multiple renderTargets -> Grab Imagebits from backbuffer

i have a game where I inject a directx dll to grab the image. Thats how I grab the image bits: void dumb_buffer(LPDIRECT3DDEVICE9 pDevice){ ret = pDevice->GetRenderTarget(0,&pRenderTarget); ret = pRenderTarget->GetDesc(&rtDesc); …
sayezz
  • 77
  • 5
0
votes
1 answer

DirectX 9 or 10 Overlay

How is it possible to draw an overlay over an game with DirectX 9 or 10? I found code with deprecated DirectShow code, but it will not run.
plucked
  • 421
  • 7
  • 18
0
votes
1 answer

Resizing and position a SharpDX sprite

I'm trying to resize a DirectX Texture and place it in the top right corner of the window. I am drawing the texture using a sprite, here's is my code (I am using SharpDX): albumArtSprite.Begin(); NativeMethods.RECT…
zemaster
  • 1
  • 3
0
votes
0 answers

Regular win8 app failing Direct3D Cert Kit

I'm currently developing a C# & XAML app using SQLite and Telerik's chart control. When I try to run a certification using the WACK kit, I get the error captured below. However, I have no idea why I get this error, as I'm not using Direct3D as far…
AndreasB
  • 578
  • 4
  • 16