direct3d Questions

4

I am trying to create a Media Foundation Transform that draws text on video using D2D and D3D11. I am trying to construct a D2D RenderTarget on top of D3D11 resources, but unfortunately, most means...
Circumbendibus asked 2/8, 2012 at 4:55

2

Solved

This is a general question, and although I use OpenCV as a framework, the question is broader than OpenCV's realm. I am developing an image processing tool that will effectively get image from a we...
Vaclava asked 13/6, 2022 at 14:54

2

We are running into issues with an old closed-source game engine failing to compile shaders when memory nears 2GB. The issue is usually with D3DXCreateEffect. Usually it returns HResult "out o...
Dopp asked 12/10, 2020 at 13:37

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

5

I realize this is probably a ridiculous question, but before trying to figure out what libraries to use for which projects, I think it makes sense to really understand the purpose of such libraries...
Omora asked 27/7, 2012 at 21:17

3

Solved

I am following one of Fleeps old tutorials from 2012. I have encountered a speedbump, this error: qualified name is not allowed in member declaration. I have tried changing the SDK, defining/declar...
Boigie asked 15/1, 2018 at 1:6

1

I want to encode Desktop Duplication API frames to send over the network after encoding them with Media Foundation. I'm stuck with a E_NOTIMPL error when I call IMFTransform::ProcessInput, leaving ...

1

While developing an examination software I have a requirement to prevent desktop sharing through applications like TeamViewer, AnyDesk, Ammyy Admin etc or at least detection of it. Our examination ...
Lifework asked 25/5, 2019 at 6:4

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

I have a wxWidgets application that has a number of child opengl windows. I'm using my own GL canvas class, not the wx one. The windows share their OpenGL context. I don't think the fact it is wxwi...
Md asked 16/5, 2012 at 9:7

2

Solved

I have some vertex data. Positions, normals, texture coordinates. I probably loaded it from a .obj file or some other format. Maybe I'm drawing a cube. But each piece of vertex data has its own ind...
Simple asked 22/6, 2012 at 0:5

2

Solved

I have some vertex data. Positions, normals, texture coordinates. I probably loaded it from a .obj file or some other format. Maybe I'm drawing a cube. But each piece of vertex data has its own ind...
Isoprene asked 22/6, 2012 at 0:5

0

The original problem that I ran into, was that I wasn't able to get my game to run in full screen on my 2nd monitor. Going to display settings and swapping main display from 2nd to 1st, lets my gam...
Adelladella asked 19/5, 2018 at 22:37

2

I have a compiled fxo shader which I'm trying to edit slightly (just adjusting some constants). Using fxdis (https://code.google.com/archive/p/fxdis-d3d1x/) I can disassemble this shader, this is ...
Renitarenitent asked 27/4, 2018 at 9:29

1

What is the correct way to wait for VBLANK to present on windows 10 in windowed mode? Currently I'm doing the following: D3DKMTWaitForVerticalBlankEvent(&waitData); swapchain->Present(0, 0)...
Merrygoround asked 12/3, 2018 at 21:12

1

Solved

First I am learning DirectX 11 from Frank Luna book I came to the part where I need to create the device, but it gives the error: "0x887a002d: The application requested an operation that depends on...
Lessen asked 2/6, 2017 at 17:13

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

9

Solved

I am looking for an algorithm or library (better) to break down a polygon into triangles. I will be using these triangles in a Direct3D application. What are the best available options? Here is wh...
Boyd asked 2/1, 2009 at 8:31

1

Solved

I am implementing some functionality which requires me to implement an API to wait for d3d10 to finish rendering.Basically i am trying to implement synchronize access to a shared texture such that ...
Chris asked 29/7, 2016 at 23:37

2

Solved

While researching which COM apartment threading models are supported by Direct2D, I discovered that despite appearances and the fact that one can use the API from .NET using COM interoperability, D...
Arrivederci asked 3/7, 2016 at 20:34

3

Most courses said that we need the directX SDK. However they are early in 2012, the age of Windows 7. And I see that some of directX's header files and lib files has been included in windows kits (...
Submersed asked 2/7, 2016 at 3:55

5

Solved

I am using the D3DXSPRITE method to draw my map tiles to the screen, i just added a zoom function which zooms in when you hold the up arrow, but noticed you can now see gaps between the tiles, here...
Handbill asked 28/5, 2011 at 16:16

2

Solved

I want to know if "if-statements" inside shaders (vertex / fragment / pixel...) are really slowing down the shader performance. For example: Is it better to use this: vec3 output; output = input*...
Bani asked 15/6, 2016 at 5:59

1

Solved

I am just learning tessellation and i came across with below example for triangle patch tessellation but i am not sure how below geometry is getting generated. can anybody please hep me out with th...
Extravagant asked 5/6, 2016 at 21:57

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

© 2022 - 2024 — McMap. All rights reserved.