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
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...
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...
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...
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...
Inkstand asked 1/4, 2014 at 8:3
2
Solved
For what purposes are we using Model View Projection Matrix?
Why do shaders require Model View Projection Matrix?
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...
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.
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...
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...
1
Solved
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...
© 2022 - 2024 — McMap. All rights reserved.