Thursday, May 13, 2021

row major and column major major confusion

Capturing for posterity:

TL;DR: C is row major, XMMATRIX* is row major, HLSL is column major. 

A comment here explains rationale:

https://www.gamedev.net/forums/topic/649263-matrix-multiplication-order/

And you can tell HLSL to flip to row major.



Monday, May 03, 2021

Buffers

 read this: http://www.joshbarczak.com/blog/?p=1260



Monday, April 12, 2021

D3D Feature Levels

https://docs.microsoft.com/en-us/windows/win32/direct3d12/hardware-feature-levels


https://devblogs.microsoft.com/directx/new-in-directx-feature-level-12_2/


https://walbourn.github.io/direct3d-feature-levels/



 

Saturday, April 10, 2021

3D Math overview with camera xforms

 https://gamemath.com/book/graphics.html#rendering_equation


Monday, March 29, 2021

DX12 SDK Samples compilation: error C2102: '&' requires l-value

This error:
error C2102: '&' requires l-value

Can be resolved by setting the flag:
Configuration Properties->C/C++->Language->Conformance Mode->No
Instead of Yes (permissive)


Tuesday, March 09, 2021

Feynman quote

 i will do something with this later:

The problem often is not people being uneducated.

The problem is frequently that people are educated just enough to believe what they have been taught, and not educated enough to question anything from what they have been taught.

—Professor Richard Feynman

Friday, February 26, 2021

Tuesday, November 03, 2020

D3D12ReportLiveObjects

 needed to use ReportLiveObjects, was getting compile errors on DXGI_DEBUG_ALL.

capturing for future debug:

dxguid.lib;nvapi64.lib;d3d12.lib;dxgi.lib;d3dcompiler.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)

This order of these libs worked. investigate later, hypothesis is the dxguid.lib before d3d12.lib perhaps?



Friday, October 23, 2020

Adding static libs to github repo, next steps

 Not sure if git got confused or I did something wrong. I had to do a clone of the repository after uploading some static libs. The libs are required as this was the distribution mechanism for the files. May have just been a one time thing but writing this down in case it happens again.

had to manually populate with the github web interface, couldn't use the github desktop. might have been a .gitignore setting that i just couldn't see the files, investigate later.

Monday, September 21, 2020

where DOS cmd

 Not sure where you have been all my life, but the DOS 'where' cmd tells me which .exe is being pointed to (for example) when compiling so i don't have to guess:

https://ss64.com/nt/where.html


for example, 'where fxc'.