r/GraphicsProgramming • u/Uiwum • Oct 10 '26
Dx11 first triangle
I'm not sure how you guys feel about triangles around here, but here is my first triangle made in D3D11!!
I'm planning to make a little mini project in DX11 and see how I like it over OpenGL. So far I like it more despite needing 3x the amount of code (mostly boilerplate thankfully) for this beautiful little guy.
I'll probably post more about my little project further down the line. If anyone has any tips on how I should structure a DX11 project over an OpenGL one that's always appreciated.
142
Upvotes
View all comments
Show parent comment
2
u/Uiwum Oct 11 '26
I'm using dx11 directly. It's going to just be a little 3d game so I don't have any plan to really make a good architecture for it.
Also my code is so messy right now so I don't think it'd be great for you to use but it's mostly from LearnD3D11 anyway. I'm planning on reorganizing everything after I get textures working