direct3d11 Questions
1
In HLSL I have two arrays:
int arr1[2];
int arr2[2];
I need to copy contents of arr1 to arr2.
Should I iterate through every element?
arr2[0] = arr1[0];
arr2[1] = arr1[1];
Is there any spe...
Dulaney asked 4/1, 2019 at 15:21
2
Some of my old code has ended up with a bunch of nasty hacks to get things to work "correctly", in terms of moving objects around and the camera, such as having to take "std::sin(-yaw)" rather than...
Neckar asked 27/8, 2014 at 11:0
2
Solved
I have a post processing pipeline that uses a compute shader to process a texture and writes it to a RWByteAddressBuffer.
The content of the RWByteAddressBuffer is then sent to an FPGA device via d...
Whited asked 5/3, 2019 at 14:45
3
Solved
I'm using Windows 8 / Visual Studio 2012, C++11 and Direct3D 11 for development.
I include the Direct3D libraries like this
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "d3d11.lib")
#pra...
Guardant asked 29/3, 2013 at 18:43
2
I'm programming in C#, Visual Studio 2013 Update 5 RC, and using Direct3D 11 (via SlimDX) to render an animated scene. I was experimenting with unordered access textures in the pixel shader and it ...
Condescend asked 8/5, 2015 at 14:56
2
Solved
I got the following error when I was debugging my D3D application in VS2015.
D3D11CreateDevice: Flags (0x2) were specified which require the D3D11 SDK Layers for Windows 10, but they are not prese...
Ire asked 16/12, 2015 at 17:35
1
Fullscreen mode on monitor A in dual-monitor setup breaks when moving windows from monitor B onto it
I am building a Win7/8/10 x64 Direct3D11 desktop application that allows the user to switch between windowed and fullscreen mode (proper dedicated fullscreen mode, not just a maximized window*). On...
Chungchungking asked 16/8, 2015 at 14:51
1
Solved
I have read the SimpleMath and also read the Programmers guide articles, but I can't seem to put my head around the purpose of transposing a matrix once it has been "transformed"
I mean, I underst...
Kathrinekathryn asked 19/7, 2015 at 18:15
0
I am trying to decide whether or not to support multiple adapters/monitors in my application as opposed to locking my window to the primary adapter and primary monitor. I have a lot of questions ab...
Fudge asked 7/12, 2014 at 19:30
1
Solved
I'm working on an application that uses SharpDX and the SharpDX Toolkit to draw simple 3D shapes, and the Geometrics.Desktop sample was very helpful in getting started. Now I'm trying to make some ...
Haswell asked 30/10, 2014 at 6:49
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
1
I have been playing with Direct3D 11 and was surprised to discover that an HLSL StructuredBuffer<T> must be bound to a Shader Resource View (SRV) whereas a RWStructuredBuffer<T> must be...
Perigee asked 28/3, 2014 at 18:59
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
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
2
Solved
I have an odd problem with my Direct3D11 application that I'm trying to resolve for few hours already. The problem is that method:
void CameraClass::Render()
{
XMFLOAT3 sUp, sLookAt, sRotationInR...
Jacobine asked 11/1, 2013 at 23:35
2
Solved
I'm relatively new to graphics programming, and I've just been reading some books and have been scanning through tutorials, so please pardon me if this seems a silly question.
I've got the basics ...
Washer asked 25/6, 2012 at 16:52
2
Solved
When using Direct3D in c++ I can write a "Cube" class for example, that contains a "ID3D11Buffer* vertexBuffer_" and ensure that the destructor for that Cube object calls vertexBuffer_->Release().
...
Modernity asked 23/2, 2012 at 10:3
1
Solved
It would seem that D3D11's api is a bit clunky, or I'm not using it right.
Is it true that this is the minimum set of steps to change a single rasterizer state in D3D11 (I'm using change to wirefr...
Sorayasorb asked 24/7, 2011 at 20:54
1
© 2022 - 2024 — McMap. All rights reserved.