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
2 answers

drawing coordinate system axes in corner of screen in direct3d

I have a direct3d environment in a MFC window and i would like to draw the coordinate system axes in the corner of the screen, as any 3d software has. I thought this would be no problem, but issues occurred when i started moving the camera around.…
0
votes
1 answer

No thumbnails showing in Aero flip/thumbnail for full screen direct3d 9 application

I'm sure this is on the web somewhere, but I'm having trouble with the search terms (getting lots of non-relevant stuff.) Anyway, I've got a Direct3D9 application. When it runs in full screen, on Vista and Windows 7, and you hit Alt-Tab or Win-Tab,…
Chris Blackwell
  • 9,189
  • 1
  • 25
  • 27
0
votes
1 answer

define debug using Unicode Character Set

I'm following a book called "Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach" and all the example there are using Multi-Byte Character Set and I don't want to use it and I don't want my project to be in multi-bye chacters.…
Rf Vote
  • 1
  • 1
  • 2
0
votes
0 answers

How do I include an animated fbx-file(or contents thereof) into a 3D-world using a Proxy-DLL?

I want to insert an animated 3d object in a fbx-file via proxy-directx-dll into a d3d9 game. I want it to fit in such that light being thrown in the game is affected by it which makes it throw a shadow. I want it to appear and the animation to start…
Brutus Cruciatus
  • 404
  • 3
  • 18
0
votes
1 answer

Direct3D11 GL_RGBA4 equivalent?

Is there an equivalent GL_RGBA4 texture format for D3D11, I can't seem to find it. There is DXGI_FORMAT_B5G6R5_UNORM and DXGI_FORMAT_B5G5R5A1_UNORM 16 bit formats, but not the 4444 one. Even D3D9 has all of them, so I don't understand why D3D11…
zezba9000
  • 3,247
  • 1
  • 29
  • 51
0
votes
1 answer

Why did OpenGL and Direct3D explicitly and separately transfer graphics related data to graphics memory and not blanket-map everything needed on it?

We see a gradual transfer of data from system to graphics memory with each OpenGL or Direct3D iteration, first with textures, then with vertices, now even with shaders. Why didn't they make it possible to map whatever you need on VRAM and get done…
j riv
  • 3,593
  • 6
  • 39
  • 54
0
votes
1 answer

How to use DirectX 9 with multi- GPU on windows7

I‘ve got multiple nVidia GPU Cards (Q2000) on a Windows 7 system,without SLI, only one monitor. Now what I'm trying to do is make a Direct3D9 device runing on a specific GPU. I can use the [Adapter] parameter in IDirect3D9::CreateDevice to choose a…
El0sua
  • 1
  • 1
0
votes
1 answer

How to calculate the height of object when render to screen?

I'm working on a project C++, and I want to render a 3D object (a character ) to screen. I can get the height of this object with APIs, it equals to 1.6666 , and I don't know what it's mean. I know the viewport which is set by directX ( SCR_W,…
Ki3nTT
  • 11
  • 1
0
votes
1 answer

SetIndices missing in slimDx

I am using direct3d9 of SLIMDX, however i cannot find the SetIndices() method of Device. device.BeginScene(); device.SetStreamSource(0, VB, 0, 3 * sizeof(float)); device.SetIndices(IB); // This method is missing…
user522829
  • 63
  • 6
0
votes
2 answers

How to check whether DirectX is available?

Currently I develop a projekt in C#. In this project I use the DirectX API. Now I want to implement a function to check whether DirectX is available or not? Do you have an idea how to do this? Thank you for your help!
Maxim
  • 317
  • 1
  • 5
  • 13
0
votes
1 answer

how to get the triangles to draw a parabolic surface in 3D according the equation?

I have the equation y= x^2 + z^2, how to get the triangles to draw the parabolic surface? and I want to use WPF 3D to accomplish this.
Liang
  • 867
  • 11
  • 13
0
votes
2 answers

FXC error "maximum temp register index exceeded"

I'm working in HLSL, and I'm getting this error from one of my shaders: error X4505: maximum temp register index exceeded The line that's causing this is: int count = Passes[input.Tex.y].y; Passes is defined as: cbuffer Style { float3…
Justin R.
  • 23,435
  • 23
  • 108
  • 157
0
votes
1 answer

Direct3D custom shader lagging a few frames behind

I was having problems getting textures to display properly on trapezoids (quad with one side smaller as if viewed from a perspective) in C# Managed DirectX. I ended up solving it with a custom shader (not the solution I was looking for, but the…
HypnoToad
  • 585
  • 1
  • 6
  • 18
0
votes
1 answer

How to get one Vector of a mesh after the rotation in DirectX?

In my project I display some spheres in a 3D coordinate system. See in the picture below. Each sphere display an lab - colorvalue. To create a sphere I use the Meshfunction in DirectX: // Radius der Kugel private const float radius = 4f; // Die…
Maxim
  • 317
  • 1
  • 5
  • 13
0
votes
0 answers

Unity3D vibrating and choppy scroll (with live demo + WebGL compared)

Something must wrong here either with me or my monitor or GPU. Others also suffer from this phenomena see the links. Now I would like to emphasize this problem is exist, being optimist I think there is some solution. Maybe it is only noticeable in…
g.pickardou
  • 32,346
  • 36
  • 123
  • 268