directx Questions

7

Solved

I have a DirectShow graph to render MPEG2/4 movies from a network stream. When I assemble the graph by connecting the pins manually it doesn't render. But when I call Render on the GraphBuilder it ...
Foreside asked 26/8, 2008 at 12:2

1

Solved

I'am trying to understand specular reflection in HLSL and DirectX11 cbuffer ConstantBuffer : register( b0 ) { matrix World; // Матрица мира matrix View; // Матрица вида matrix Projection; // М...
Marsipobranch asked 29/10, 2014 at 19:53

1

Solved

I'm looking into various options for using DirectX in C#; ideally I want to use whatever technology is preferred by Microsoft. Non-Microsoft Technologies: SharpDX Slim DX Direct2D Manager ...
Selsyn asked 24/10, 2014 at 7:53

2

Solved

I decided to build my engine on triangle lists after reading (a while ago) that indexed triangle lists perform better due to less draw calls needed. Today i stumbled on 0xffffffff, which in DX is c...
Foy asked 2/6, 2013 at 10:16

1

I'm trying to simulate mouse events in a game. The games uses DirectInput so you can't use SendMessage to send mouse events/keyboard events to it, that's basically why I have to hook in to the game...
Izanami asked 14/7, 2014 at 10:58

3

Solved

I'm going through all the Rastertek DirectX tutorials which by the way are very good, and the author tends to use multiple shaders for different things. In one of the later tutorials he even introd...
Contango asked 11/1, 2013 at 3:14

2

I am very confused on what I need in order to use the latest version of the DirectX SDK. There is the DirectX SDK (June 2010), which is apparently deprecated and there is the Windows SDK for Windo...
Buckinghamshire asked 30/6, 2014 at 14:59

4

Solved

I am trying to learn DirectX Programming. But I have hit a snag. I seem to be missing this file: d3dcompiler_43.dll I have installed (in this order): Visual Studio 2012 Windows 8 Windows Phone ...
Hapten asked 24/11, 2012 at 18:44

2

Solved

I'm developing an DirectX11 application. During initialization I enumerate the available graphics adapters as described here. Now, for one of our customers the number of available adapters appears...
Karate asked 20/6, 2014 at 7:16

4

Solved

I was looking at the tutorials in DirectX SDK. Tutorial 5 works fine, but after I have copied and separated the code to my own classes, I got strange error during launching my application. The lin...
Olcott asked 1/7, 2012 at 21:17

1

Solved

I have not yet used more complicated CBs like this here but, from what I understand, my C++ alignment and packing has to match what HLSL expects. So I'm trying to figure out the rules so I can pred...
Flagwaving asked 18/6, 2014 at 3:3

2

Solved

Using the new XMVECTOR and XMFLOAT3 classes what is the best way to get the distance between 2 points? I couldn't find a function that does it in XMVector* family of functions so I came up with the...
Disabuse asked 24/4, 2012 at 4:46

3

Solved

I would like to know how can I create a Texture3D from a Texture2D. I've found some good examples : Unity 4 - 3D Textures (Volumes) or Unity - 3D Textures or Color Correction Lookup Texture int...
Selective asked 10/5, 2014 at 14:24

1

Solved

I've been learning OpenGL and 3D graphics for a while and I've come to the well-known problem: transparency, translucency and draw order dependency. I know about different alpha-blending algorithm...
Brothers asked 27/4, 2014 at 8:45

1

I'm trying to make simple SlimDX example to test some performance vs GDI and unfortunately I got stuck on the very beginning. I've created simple Console Application in VS2010 and added this code t...
Amphithecium asked 8/4, 2014 at 10:30

1

I cannot make debug output for DirectX 10 to work for my simple C# application. I've installed DirectX SDK, opened DirectX Control Panel and added application exe to list. DirectX debug output was...

2

Solved

For what purposes are we using Model View Projection Matrix? Why do shaders require Model View Projection Matrix?
Cavin asked 5/4, 2011 at 10:49

2

I need some way to get screen data and pass them to DX9 surface/texture in my aplication and render it at at least 25fps at 1600*900 resolution, 30 would be better. I tried BitBliting but even aft...
Gauge asked 25/1, 2013 at 18:3

2

I would like to render a single image using DirectX. It should work similar to VLC player's "directx video output", were it is not possible to capture a frame using simple screen capturing software...
Justus asked 9/2, 2010 at 15:17

2

Because processing was slow by D3DPOOL_SCRATCH, I wrote the desktop capture program to reference for the report on the Internet. However, a result is a pitch-black picture. Is this the result of a ...
Justiceship asked 12/10, 2012 at 13:15

1

Solved

How can you tell how many cores are available in any given GPU? I would prefer a Windows/UI based answer, but API (DirectX?) is also nice to know.
Swashbuckler asked 25/2, 2014 at 17:3

2

Solved

I'm working with DX9/SM3 at the moment, and the MSDN documentation on HLSL samplers seems to be sorely lacking in explaining how to use the different sampler types. What's worse is they try to cove...
Scapegoat asked 19/8, 2009 at 17:37

1

I'm working on a game option that change the keyboard setting. So, I want to display the key that player has changed. I have the issue to convert UCHAR key that contains a Virtual-Key Codes i...
Hildick asked 22/2, 2014 at 19:52

1

Solved

I'm trying to add bump mapping functionality to my application but I'm getting very faceted models: The reason it is happening is because I'm calculating tangent, binormal and normal on per face...
Tramline asked 13/2, 2014 at 22:10

2

Solved

I've received two conflicting answers in terms of multiplying matrices in Direct3D to achieve results. Tutorials do state to multiply from left to right and that's fine but it's not how I would vis...
Bertina asked 25/5, 2011 at 2:46

© 2022 - 2024 — McMap. All rights reserved.