https://observablehq.com/@d3/gallery
ack to Marissa Du Bois for the pointer.
“The sciences do not try to explain, they hardly even try to interpret, they mainly make models. By a model is meant a mathematical construct which with the addition of certain verbal interpretations describes observed phenomena. The justification of such a model construct is solely and precisely that it is expected to work.” John Von Neumann
https://observablehq.com/@d3/gallery
ack to Marissa Du Bois for the pointer.
https://www.cnbc.com/2021/11/07/overused-words-and-phrases-that-make-you-sound-weak-less-confident-according-to-grammar-experts.html
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.
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/
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
Great description/clarifications on HLSL memory barriers:
https://github.com/Microsoft/DirectX-Graphics-Samples/issues/140