directx Questions
1
Solved
The problem: calling IDXGIOutput1::DuplicateOutput method returns DXGI_ERROR_UNSUPPORTED when you run an application using discrete graphics controller on a machine with switchable graphics.
This ...
Eliathas asked 20/5, 2016 at 14:31
1
Solved
So I've recently picked up graphics programming and I wanted to compute a cubic Bézier curve. I found this excellent answer on quadratic Bézier but I don't know how to convert this to a cubic Bézie...
9
Solved
I want to do projects to make my resume more appealing to game companies. So I am going to start buying books. But I don't know rather to read DirectX 9 or 10 api books to start off with. DirectX10...
Accomplishment asked 3/4, 2010 at 15:38
2
Solved
If you subdivide a cylinder into an 8-sided prism, calculating vertex normals based on their position ("smooth shading"), it looks pretty good.
If you subdivide a cone into an 8-sided pyramid, cal...
2
Solved
I need to draw a list of shapes and I am using Direct2D. I get the list of shapes from a file. The list is sorted and the order of the elements inside the file represents the order these shapes wil...
Photolithography asked 6/5, 2016 at 14:48
2
I'm trying to use the following instructions to build some code that uses XAudio2 and runs on Windows 7:
http://msdn.microsoft.com/en-us/library/windows/desktop/ee663275%28v=vs.85%29.aspx
As sugg...
Dufresne asked 13/6, 2013 at 21:54
1
Solved
Background: I've developing in Visual Studio 2013 and targeting .Net 4.5, running on Windows 7. I've been trying to get DirectX to run in a WPF context and was referred to SharpDX, and to a sample ...
1
Solved
So the UWP Composition support has been out for a while I am looking for a way to do real-time blurring of elements (live blur as they move or load, not static snapshot). So far I have been looking...
Costin asked 29/3, 2016 at 6:21
0
My application is capturing desktop screen(screen sharing) and send to other device.
Currently application captures screen with following method
- using GDI (Bitblt)
- using DirectX(getFrontB...
Aircraftman asked 17/2, 2016 at 8:37
3
Pretty self explanatory. Microsoft had DirectShow for DirectX 9, but using DirectShow with DX11 is a COM nightmare beyond words. Is there a standard for video rendering I haven't heard of, or perha...
Lanitalank asked 8/1, 2014 at 17:31
2
Solved
I have a simple question of which I was unable to find solid facts about GPUs behaviour in case of 3 vertexes having the same varying output from vertex shader.
Does the GPU notice that case or do...
1
I'm in the process of learning C++ and DirectX, and I'm noticing a lot of duplication in trying to keep structs in my HLSL shaders and C++ code in sync. I'd like to share the structs, since both la...
Fictive asked 19/1, 2016 at 20:37
1
I am doing desktop screen capture and wanted the output to be a video file. Currently I have codes getting from here to output png images. I modified the code a bit to change the output to JPEG fil...
1
Solved
If I understand correctly, scissor test is per fragment operation, but I was wondering if it's possible to put the test before fragment shader so that fragments outside scissor box don't need to be...
4
Solved
I've been looking all over the internet for this. I'd like to know if there is any Node.js packages/bindigs/libraries that allow you to make an application that draws on the screen without no...
Kenning asked 8/11, 2015 at 16:38
5
So, Im using D3D in a windowed application.
I inited D3D with the following parameters:
windowed: true;
backbufferformat: D3DFMT_X8R8G8B8;
presentinterval: D3DPRESENT_INTERVAL_ONE;
swapeffect: DI...
6
I'm trying to do vertical synced renders so that exactly one render is done per vertical sync, without skipping or repeating any frames. I would need this to work under Windows 7 and (in the future...
3
Is there any simple way that I can know some codes are executed in GPU rather than CPU?
3
Solved
I would like to capture the contents of my front or back buffer using DirectX 11 into an array of bytes which I can then use as a texture or as a source for creating a file. I have a swap chain set...
Shebeen asked 16/5, 2012 at 17:41
2
Solved
This is a bit of an edge case but I am developing a game which uses multiple monitors. For reasons outside the scope of this question, I am using a 'multi-device method' rather than swap chains. My...
3
Solved
2
I want to develop universal windows apps using C++/DirectX/XAML. But it seems like there's no way to escape Microsoft's C++/CLI language. I've already browsed through the code that isnthere by defa...
Gnaw asked 6/9, 2015 at 14:33
7
Solved
I'm working on a C++ DirectX 2D game and I need keyboard and mouse input.
Wikipedia says:
Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse i...
Quartic asked 29/1, 2010 at 21:18
1
I've looked at many posts here regarding PeekMessage and WM_MOUSEMOVE, but so far I have not found anything that relates to performance.
Long story short; I'm doing PC game development and yesterd...
4
Solved
Is is possible to run a Java3D application on Nvidia 3D Vision hardware?
I've got an existing Java3D application that can run in stereoscopic 3D. In the past, I've always run the application on Qu...
© 2022 - 2024 — McMap. All rights reserved.