directx Questions
2
Solved
You may know that trying to capture DirectX fullscreen applications the GDI way (using BitBlt()) gives a black screenshot.
My question is rather simple but I couldn't find any answer: why? I mean ...
Emissive asked 3/2, 2014 at 18:36
1
Solved
I'm starting with DirectX (and SharpDX, therefore programming only in C#/hlsl) and am trying to build my own camera class. It should be rotatable, allow forward and backward moving and also "sidewa...
Iguanodon asked 19/1, 2014 at 11:8
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
I would like to have directcomposition render to a texture. Is this possible?
The reason for this is that I would like to be able to render a gpu accelerated windowless transparent flash player ac...
Crestfallen asked 1/7, 2013 at 5:58
0
Using C++ or C#, I am trying to capture desktop in real time speed(more than 30fps) into memory. So that I can do whatever I want. But I can't do it with Windows Aero desktop.
However, some ...
1
I am preparing to build a clone of the ambilight for my pc.
For this purpose I need a way to calculate the average color of several areas of the screen.
The fastest way I have found so far is the...
4
Solved
In DirectX 10 you could use the font interface provided by D3DX10. In DirectX 11 you are supposed to use DirectWrite. But it looks like DirectWrite doesn't speak natively to Direct3D? Is there some...
Pesade asked 18/4, 2011 at 21:2
1
Solved
I'm just wondering how I can use Texture2DArray in HLSL.
I am trying to implement a model loader where models have different amount of textures. At the moment my HLSL uses Texture2D with a size o...
4
Solved
I have a fullscreen DirectX desktop app, and would like to display the on-screen keyboard when the user taps a textbox in my game. Is there a way to do this while in fullscreen mode?
Land asked 8/8, 2012 at 22:17
2
Solved
The parameters for HLSL's mul( x, y) indicated here: say that
if x is a vector, it is treated as a row vector.
if y is a vector, it is treated as a column vector.
Does this then follow through ...
2
Solved
I have an old game engine (sort of) based on DirectX 10, which I've been planning to move to DX 11. I have also just installed Windows 8 and VS 2013 and, while trying to run this old project I've l...
1
Solved
I'm working on a GUI-Project with d3d9 & d3dx9. I create fonts using the D3DXCreateFont function (C++). Everything is working fine. But I need a function that determines the width in pixel for ...
1
Solved
I have made a test program in Visual Studio 2013 using Direct X 11. It consists of a simple sprite which rotates slowly based on a timer implementation. The program loads and runs fine using F5 or ...
Jacquelinejacquelyn asked 18/11, 2013 at 7:50
5
How can I add a DirectX reference to my C# project in Visual Studio 2010?
Thanks.
Goodard asked 11/12, 2010 at 0:33
2
Solved
The document:
http://msdn.microsoft.com/en-us/library/dd607349(v=vs.85).aspx
states that #include "foobar.fx" will look for that file in the same directory as the current effect file.
It doesn't ...
1
Solved
I have written an NPAPI browser plug-in (using Firebreath) that Unity uses
to access a Kinect camera. I can retrieve skeleton data from Unity through JavaScript easily since it isn't too big, but t...
Insure asked 31/10, 2013 at 10:20
1
In: C++\Win32 application (not in fullscreen)\DX9
How can i redraw window content during resize fast and nice enough? Resize == user drag window border.
Different approaches:
Reset device on ea...
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
I'm a bit confused right now and just want to ask you all to help me get a few ideas clarfied.
In a HLSL shader (compute shader for example) I can declare a StructuredBuffer sb, right? Do I HAVE ...
Pitchblack asked 29/9, 2012 at 9:34
2
Solved
I am using DirectX 9.0 on Windows 8, when I open the DirectX control panel, I found some options was disabled, I am running as a administrator, so this is not an privilege issue. why this happened?...
1
I'm Windows 7 using Visual Studio 2012 and Directx 10.
The problem is when I compiled, I get a lot of macro redefinition errors
This is my code:
#include <windows.h>
#include <tchar.h&g...
Mountainous asked 12/10, 2013 at 17:1
2
Solved
I understand mipmapping pretty well. What I do not understand (on a hardware/driver level) is how mipmapping improves the performance of an application (at least this is often claimed). The driver ...
Harmonious asked 1/10, 2013 at 18:52
1
Solved
i have a problem with win8 and directx library. i have directx jun 2010 i added its d3dx11.lib and .h files but it doesnt work and says library not found. i found hte link bellow that says you can ...
Katonah asked 22/9, 2013 at 7:28
3
Solved
I want to learn DirectX in C++ programming. I decided to learn DirectX, so I found some tutorials online, but they all were very complicated and hard to understand. I have spent 3 days on a t...
1
Solved
I am trying to hunt down a possible memory leak in my Sharpdx / DirectX application.
I am getting the following information from process explorer which I do not know how to interpret.
What is ...
Lout asked 22/7, 2013 at 15:0
© 2022 - 2024 — McMap. All rights reserved.