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

learn more… | top users | synonyms

3
votes
1answer
22 views

Extern “C” Error DirectX

I have been trying to use DirectX for general game programming and have been following the tutorials on the Microsoft website (http://msdn.microsoft.com/en-us/library/windows/apps/hh452790.aspx). ...
0
votes
0answers
18 views

Directx Wont Install [closed]

I tried to install the DirectX many time however always i get this 'Error - An internal system error occurred. Please refer to DXError.log and DirectX.log, while installing DirectX.' and in my ...
1
vote
0answers
21 views

Skybox is in Perspective View

My Skybox is in perspective view, the closer i go it comes near. I have disabled the D3DRS_ZWRITEENABLE also. Device->SetTransform(D3DTS_WORLD,GetTransform()); Device->SetRenderState( ...
-2
votes
1answer
31 views

DrawInstanced versus DrawIndexed and mixing them together

Let say i have a complex object with many vertices and i'd like to draw many instances of this object. I'm wondering which method would be faster: one DrawInstanced or many DrawIndexed. Also which ...
-2
votes
0answers
56 views

Is my skill level suitable for either Directx of XNA? [closed]

Im in the beginning process of starting my A2 coursework project (basically last year of high school before uni) And im currently trying to decide on a project to do, one of my ideas has ended up ...
-1
votes
0answers
12 views

creating directx form drwing on SDL window [closed]

i have a query regarding SDL window. i am having a DirectX form that draws a triangle on it. i have a dll project that contains some water simulation and i have called that dll in the DirectX form. ...
0
votes
1answer
34 views

How do constant shaders need to be padded in order to avoid a E_INVALIDARG?

I am investigating a E_INVALIDARG exception that is thrown when I attempt to create a second constant buffer that stores the information for my lights: // create matrix stack early ...
1
vote
2answers
25 views

Direct3D: Output 4 color channels and a separate alpha?

Something I'm wondering about, that's probably not possible unfortunately, but thought I'd ask - I'm setting up a deferred lighting shader that takes in 2 textures and outputs to 2 render targets. ...
0
votes
1answer
23 views

Missing files, DirectX SDK (d3dx9.lib, d3dx9.h)

I installed the directx sdk june 10, but when i include the d3dx9.h file, the compiler can't found it... I checked the SDK directory and i didnt found it either. files missing: d3dx9.lib, d3dx9.h, ...
0
votes
0answers
16 views

Directx9 Reset Device

I have a problem when resetting device after the state was lost. I can reset the Direct3D device but when i call OnLostDevice function on ID3DXFont i get an error. First-chance exception at ...
0
votes
0answers
12 views

Conservative depth DirectX <11 availability or emulation

I am outputting depth per fragment in my shader. However to speed things up, I would like to make use of conservative depth, or emulate it someway. Is there a way to achieve what I need with DirectX ...
1
vote
1answer
29 views

DirectX - halfs instead of floats in vertex buffer

Recently I decided to compress my vertex data to make rendering more efficient, and I came across a solution - using half (specifically, half4 and half2) instead of float for storing my vertex data. ...
6
votes
2answers
64 views

Drawing library for C#

Will someone please point me the way to the best 2D drawing library that can be used in C#? I started to look into System.Drawing.Drawing2D but then I read that I should use DirectX for best ...
0
votes
1answer
15 views

How do I make blender operate in Left Hand

so I'm having a small problem with blender. The coordinate plan seems to be messed up (y is forward, z is up). I've done some research, and apparently this is a "right-hand" system, and you can ...
1
vote
1answer
31 views

DirectX: How to make a 2D image constantly pan / scroll in place

I am trying to find an efficient way to pan a 2D image in place using DirectX 9 I've attached a picture below that hopefully explains what I want to do. Basically, I want to scroll the tu and tv ...

1 2 3 4 5 175
15 30 50 per page