direct3d Questions
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 have been trying to come up with a solution for having a QtQuick 2.0 scene together with a Direct3D scene for quite a while, but wasn’t very successful. My goal is to have a Direct3D engine runni...
4
Solved
I don't know if many of you tried the new excellent feature of Visual Studio 2012 to debug Direct3D based apps.
I successfully capture a frame of my app, then I want to debug the execution of a Ve...
Rapparee asked 21/6, 2012 at 13:18
1
Solved
I'm following tutorials and I've converted the usual initialisation to using ComPtrs up to this line:
ID3D11Device* g_pd3dDevice = nullptr;
ID3D11Device1* g_pd3dDevice1 = nullptr;
// Obtain the Di...
1
Solved
Background
Using gluTess to build a triangle list in Direct3D9 from a GDI+ DrawString(..) path:
A pixel shader (v3.0) is then used to fill in the shape. When painting with opaque values, everyt...
Vast asked 21/12, 2013 at 15:51
2
Solved
I've recently been playing with compute shaders and I'm trying to determine the most optimal way to setup my [numthreads(x,y,z)] and dispatch calls. My demo window is 800x600 and I am launching 1 t...
Shepard asked 24/10, 2013 at 7:53
2
Solved
Is there any way to detect - through the Direct3D API - Direct3D applications running in full-screen mode?
SHQueryUserNotificationState, which can indicate such applications, is only supported on ...
Yusem asked 2/8, 2009 at 18:18
4
Good day,
I am trying to display a real-time stereo video using nvidia 3DVision and two IP cameras. I am totally new to DirectX, but have tried to work through some tutorials and other questions o...
Outrageous asked 30/6, 2012 at 19:36
4
Solved
How do I change the thickness of lines when drawing line lists using Direct3D?
This post says that line width is not supported and goes on to provide a workaround. Other options?
While we are on ...
1
How to query GPU Usage in DirectX? Specifically DirectX 11.
If someone ever did it, could you provide me the code snippet?
3
Solved
I have have a pixel shader that should simply pass the input color through, but instead I am getting a constant result. I think my syntax might be the problem. Here is the shader:
struct PixelShad...
Syndic asked 7/2, 2013 at 21:2
2
Solved
I know there are several topics about this question, but I want to specifiy what Iam looking for.
So I learned OpenGL and got the basics of shaders (programmable pipeline), vertex buffers, i...
Tole asked 6/3, 2013 at 19:7
4
I need to make sure my machine can create a D3D window before even trying to open it. How can I do so?
Poss asked 3/11, 2011 at 16:16
1
I set a texture2d as a device render target. After draw, how can i read and write pixels from render target directly , and present it then.
Monde asked 20/11, 2012 at 17:59
1
Solved
What are the thread-safety rules for IDXGISurface1 GetDC/ReleaseDC for textures created with D3D11_RESOURCE_MISC_GDI_COMPATIBLE?
Can I interact with ID3D11Device and ID3D11DeviceContext between Ge...
Erwinery asked 4/2, 2013 at 8:0
1
Solved
I'm using a logarithmic depth algorithmic which results in someFunc(clipspace.z) being written to the depth buffer and no implicit perspective divide.
I'm doing RTT / postprocessing so later on in...
2
Solved
Disclaimer: I'm quite new to the MSFT tech world and only started Windows Phone development a month or so ago.
I am unable to figure out how to log information to the Visual Studio Output window f...
Upthrow asked 12/1, 2013 at 3:2
2
Solved
THE SCENARIO:
I am making a [edit: native WinRT] C++ Direct X DLL project for Windows Store apps based on the "Direct3D App" Visual Studio code sample.
This must be a separate DLL project from m...
2
Solved
I have written an emulator which I am in the process of porting to Linux. At the moment to do the video I am using Direct3D 11, which I am porting to OpenGL (which I'm running on Windows for now). ...
3
Solved
For a hobby project of mine involving a 3d printer I would like to capture 3d models from various computer games. The games are running on Windows and are usually using DirectX9 but there is also o...
1
Solved
Is the order of drawing triangles in a 3D API guaranteed to be the same as their order in the index buffer?
For example if I have two overlapping triangles in a single draw call, and depth testing ...
2
Solved
I need to load a compiled pixel shader into memory to use with CreatePixelShader but I can't use any D3DX calls.
How can I do this?
(I'm using Visual Studio 2010 as my compiler and C++ as the lan...
3
Solved
I'm trying to read 3D models which were created for a DirectX applications, which are defined in the following way :
In the file header, the Flexible Vertex Format (FVF) of the mesh is given (act...
1
Solved
I'm loading data from a MySQL database into a C# .NET application. The data is held in the database as DBType.Double, but for use in my application I cast to Decimal using Convert.ToDecimal(). The ...
2
Solved
I was super happy when the "Graphics Debugger" feature was announced for Visual Studio 11, I immediately attempted to get it working on various projects I had, unfortunately I've only managed to ge...
Beech asked 14/3, 2012 at 5:14
© 2022 - 2024 — McMap. All rights reserved.