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

0
votes
0answers
4 views

How to enable Hardware Percentage Closer Filtering?

I am trying to implement PCF filtering to my shaow maps, and so modified the GPU Gems article ( http://http.developer.nvidia.com/GPUGems/gpugems_ch11.html ) so that it could be run on current shaders. ...
1
vote
0answers
8 views

Volumetric Fog Shader - Camera Issue

I am trying to build an infinite fog shader. This fog is applied on a 3D plane. For the moment I have a Z-Depth Fog. And I encounter some issues. As you can see in the screenshot, there are two views. ...
0
votes
1answer
27 views

Read pixels from a HDC

I'm trying to read all pixels on a given area of a HDC to find if a color is present, currently I came up with: IDirect3DSurface9* pSurface = 0; p1->CreateOffscreenPlainSurface(1280, ...
0
votes
1answer
44 views

Fog shader camera

I have some difficulties with my vertex-fragment fog shader in Unity. I have a good visual result but the problem is that the gradient is based on the camera's position, it moves as the camera moves. ...
2
votes
1answer
28 views

C++, DirectX 9, Windows API - Resizing changes my coordinates?

I draw a rectangle to be 500 x 500 pixels. My Window is 1920 x 1080. When I resize the screen to lets say 1376 x 768, the image that was 500 x 500 pixels is now slightly smaller (It has been scaled ...
0
votes
1answer
18 views

Building with XAudio2 on Windows 7

I'm trying to use the following instructions to build some code that uses XAudio2 and runs on Windows 7: http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275%28v=vs.85%29.aspx As ...
0
votes
1answer
18 views

Draw triangle using expandable array in DirectX 9

I'm trying to draw a triangle which did work with the following code using C++ and DirectX: Renderer.h #pragma once #include "DirectX.h" #include "Camera.h" #include "OBJMesh.h" class Renderer : ...
0
votes
1answer
14 views

how to create directX dxtrans.lib

How can I build dxtrans.lib using VisualStudio 2010 on Windows-7 32-bit? I've downloaded and installed DirectX, but can't find dxtrans.lib and can't find a project to build it. I need it for a ...
0
votes
1answer
24 views

DirectX: Pixel Shader derivative calculation

As far as I understand Pixel Shader operates on per-pixel basis. But there are functions like ddx and ddy that calculates derivates. But how can one calculate derivatives from just one pixel ...
0
votes
0answers
30 views

How to pass a HWND to my graphics class to create a graphics device

Ok. So I'm trying to make a small framework to work with graphics before I move to VS 2012. I can already make the window appear and I've even created a graphics class, but when I try to pass a HWND ...
3
votes
1answer
25 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
26 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
22 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
34 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 ...
-1
votes
0answers
60 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 2 3 4 5 175
15 30 50 per page