directx Questions
3
Solved
tI'm struggling to understand constant buffers in DirectX. I've seen two syntaxes
float4 myVar;
declared at top level of the shader file and
cbuffer myBuffer
{
float4 myVar;
}
as detailed on...
3
We need to drive 8 to 12 monitors from one pc, all rendering different views of a single 3d scenegraph, so have to use several graphics cards. We're currently running on dx9, so are looking to move...
End asked 16/5, 2012 at 19:44
2
Solved
I'm invoking D3D11CreateDevice() with the following code:
ID3D11Device* md3dDevice;
ID3D11DeviceContext* md3dImmediateContext;
D3D_DRIVER_TYPE md3dDriverType = D3D_DRIVER_TYPE_HARDWARE;
createDevi...
Cabbala asked 14/5, 2012 at 16:3
2
During my OpenGL experience, I often forgot to set some states. So I think state machine may not be a good design today. But now it has to be compatible. And I also know that DirectX was also...
0
I'm using Spazzarama's Direct3DHook to capture screenshots from an application (with the purpose of streaming them over the Internet). Although this works well when the application uses DirectX, it...
Lynseylynus asked 27/2, 2013 at 14:0
4
Solved
With .NET (any version) running on Windows XP/Vista/7/8 - is it possible to reserve one screen for a full-screen application and display data/graphics/whatever on it whilst keeping any other screen...
3
Solved
I would like to learn to make simple 3D applications for Windows 7 / desktop. By that, I mean spheres, triangles or pixels moving around in 3D space. It does not have to be very complicated a...
2
I use standard DirectX functions (like CreateTexture2D, D3DX11SaveTextureToFile and D3DX11CreateShaderResourceViewFromFile) to load the PNG image, render it on new created texture and than save to ...
Chez asked 6/1, 2013 at 17:55
1
Solved
It's for my exporter plugin for 3D applications. My current solution is working fine, but it's very slow ( complexity O(n^2 * log n ) ).
It should be a function, where input is an array of object ...
1
I've been investigating an issue in my DirectX 11 C++ application for over a week now, and so I'm turning to the good people on StackOverflow for any insight that may help me track this one down.
...
Resolved asked 18/1, 2013 at 20:31
2
Solved
I'm programming a DirectX game, and when I run it on an Optimus laptop the Intel GPU is used, resulting in horrible performance. If I force the NVIDIA GPU using the context menu or by renaming my e...
1
Solved
The main TForm3D window of Firemonkey application in Delphi X3 has a Context:TContext3D which gives me access to the current device used.
In my case with Windows7 64, it always shows a TDX10Context...
Tye asked 19/12, 2012 at 4:42
3
Solved
Modern graphics cards have hardware video scalers, for example as part of AMD Avivo, NVIDIA PureVideo or Intel ClearVideo. For example, AMD's Avivo whitepaper says:
"The image output scalers sup...
Waylin asked 3/12, 2012 at 21:17
2
Solved
I'm porting some C# Windows Phone 7 apps over to Windows 8.
The phone apps used an XNA SoundEffect to play arbitrary sounds from a buffer. In the simplest cases I'd just create a sine wave of the r...
Randyranee asked 22/9, 2012 at 20:7
4
I am working on a CAD application and thinking of using WPF for rendering my entities.
But it seems like WPF doesn't support drawing 3D lines. Is there any ways for drawing 3D lines in WPF?
I don't...
2
Solved
I have a propietary media player that runs on Windows 8 in desktop mode. Runtime DirectX version is 11, but native graphics driver support is for DirectX 9.
On some computers with the exact same se...
Goodfornothing asked 4/6, 2012 at 9:35
3
Solved
I would usually search for this error. But in VS C++ Express, this error comes up for just about every mistake you do. Any how I recieve this error below
error C2146: syntax error : missing ...
1
Solved
I'm learning DirectX right now, I read alot about VertexBuffer. Since you cant learn from programming by just reading, I'm making a small Engine with DX11 (Well my question isn't really version dep...
Khalilahkhalin asked 13/11, 2012 at 19:26
3
Solved
I'm searching for a way to read a pixels color at the mousepoint. In OpenGL it was done by calling the function "glReadPixels" after drawing the scene (or parts of it). I want to make a simple colo...
7
Solved
This boggles me. DirectX bypasses everything and talks directly to the device driver, thus GDI and other usual methods won't work - unless Aero is disabled (or unavailable), all that appears is a b...
Excommunicate asked 25/12, 2009 at 22:50
2
Solved
I have only handled DirectX matrices
I have read articles that say you cannot use DirectX matrix math libraries for openGL matrices.
but i have also read that if your math is consistent you can g...
3
Solved
OK, so I'm trying to do some overlay for some extra buttons on a Direct X game.
I found a c++ sample that overlays quite nicely here: http://www.gamedev.net/topic/359794-c-direct3d-hooking-sample/...
1
Solved
I asked how to take the screen shot in DirectX and "Use GetFrontBufferData()" was answered. However, "This function is very slow, by design, and should not be used in any performance-critical path"...
Sideswipe asked 14/10, 2012 at 6:34
1
Solved
I've made a simple 2D game engine using C# and DirectX and it's fully functional for the demo I made to test it. I have a Timer object that uses QueryPerformanceCounter and I don't know what's the ...
Uphill asked 12/10, 2012 at 22:41
3
Solved
I have some DirectX projects written in C# that I need to run via Visual Studio 2012 specifically.
All of these projects use the namespace called, "Microsoft.DirectX".
Microsoft Windows SDK ins...
Electromechanical asked 11/10, 2012 at 8:58
© 2022 - 2024 — McMap. All rights reserved.