Quantcast
Channel: GameDev.net
Browsing all 17560 articles
Browse latest View live

IDXGIAdapter with the best rendering performance

How do you obtain the IDXGIAdapter with the best rendering performance in case of multiple adapters? IDXGIFactory3 *factory = NULL; CreateDXGIFactory(__uuidof(IDXGIFactory3), (void**)&factory);...

View Article


Typed Buffer access range

Hey Guys,   I encountered a problem where I can't access all the data in my TypedBuffer, it behaved like my BufIdx is cut off at certain number:   float readVolume(uint3 u3Idx) {      uint uBufIdx =...

View Article


D3D_SHADER_MACRO initialization, why does this work?

Hi, I'm trying to wrap my head around initializer lists and initializing objects in my code. Now there's one situation which does what I expect, but I'd like to understand why: D3D_SHADER_MACRO...

View Article

getting a new PC for DX development

I'm shopping for a new PC for DX development.   What should I look for?   I'm planning on a i7 6700K 4core @4.2Ghz, and a GTX 1080.   I'm thinking of getting a 1Tb SSD drive.  i have a 500G ata drive,...

View Article

Draw overlay quad/shapes when background quad is zoomed in

Hi,   I'm trying to draw an overlay quad/shape on top of another quad.   Now i could have my background quad zoomed in (using ortho camera) while i'm trying to draw my overlay object.  Thus, what i...

View Article


Using same material with different params.

Hello!   I have been working a bit with DX12 the last week and I encountered a problem.   I came from an OpenGL background so let me give you an example:   In opengl I could "use" a material and then...

View Article

Image may be NSFW.
Clik here to view.

Device contexts question

Hi Guys,   Given only a pointer to a DX11 device instance. Is it possible to retrieve the Context that has been created by the device?   I have a scenario where I have only been given access to the...

View Article

Image may be NSFW.
Clik here to view.

NSight questions

Hi everyone!   I have some problems with NSight: today it began to hang. When I press "Start graphics debugging", my process starts to consume CPU, and window did not appear. Pressing "Pause debugging"...

View Article


A less important DirectXMath proposal Reply Quote

Hi!   May I write here a few words, please?   I want to point at one thing in the DirectXMath. The types DirectX::XMFLOAT4 and others are POD, but the static assert:       struct CMonadFontVertex...

View Article


Image may be NSFW.
Clik here to view.

beginning directx 11 game programming - The example won't run. I'm using...

Hello all. My first post . It's not of the kind that I wished my first post would be of.   So I'm trying to run the examples from this book. The code won't run though and i'm getting a bunch of errors....

View Article

X4717 Effects deprecated for D3DCompiler_47

I started to learn while coding some basic Direct3D 11 functionality.   My current code compiles and runs fine, but I still obtain: X4717 Effects deprecated for D3DCompiler_47 I use only one .fx file...

View Article

Filtering (dual) paraboloid shadow maps

After some time away I'm revisiting my lighting system and in trying to shape up my point light shadow mapping, came across the paper Practical Implementation of Dual Paraboloid Shadow Maps by Osman,...

View Article

Software Vertex Processing reset failing

With Hardware Vertex Processing, when I reset the device all happens okay, but if game of people is running game with Software Vertex Processing, fail here:   lpD3DDevice->Reset(...

View Article


Image may be NSFW.
Clik here to view.

Isometric Tile Waves

Hi guys!!   I wanted to make an ocean with Isometric Tiles.   I found this JavaScript example here http://codepen.io/arnaudrocca/pen/reNpaP and I tried to port it to XNA/Monogame   My wave doesn't look...

View Article

DirectX 12: flushing upload heaps

Hello,   Was wondering if I need to flush after writing to a heap of type D3D12_HEAP_TYPE_UPLOAD before copying from it in command list or using it in a shader? I looked around but couldn't find...

View Article


[D3D12] Unmap resource while command list is being recorded

Say I have a simple frame is set up as follows: ID3D12CommandAllocator::Reset ID3D12GraphicsCommandList::Reset ID3D12Resource::Map  <- this is for a cbuffer [ copy a new matrix to the mapped pointer...

View Article

Swapchain presentation freezing issue

Hi. I found that when creating Swapchain with swapEffect = discard, then dispose it and create new swapchain with swapEffect = flipsequental, then dispose it and create again swapchain with swapeffect...

View Article


Switching between full screen and windowed mode

Before creating my main window and swap chain (in Windows 8.1 and Direct3D 11), my application displays some graphics settings the user can configure such as choosing between windowed and full screen...

View Article

D3D12CreateDevice fails

Hi, I just updated to the new sdk 10.0.14393.33 and if I activate the D3D12 Debug layer D3D12CreateDevice simply fails. // Enable the D3D12 debug layer ComPtr< ID3D12Debug > debugController;...

View Article

DirectX - SlimDX - LayeredWindow with D2DGdiInteropRenderTarget

Hello! I am relatively new in DirectX programing and I've some trouble get my program working properly. The thing I want to achive is a LayeredWindow with hardware acceleration as described in this...

View Article
Browsing all 17560 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>