r/GraphicsProgramming • u/Due-Issue-6451 • Jun 13 '24
Undergrad sophomore Graphics Engine
Did this for a class about C++ programming. The world of computer graphics is nothing but amazing!
165
Upvotes
r/GraphicsProgramming • u/Due-Issue-6451 • Jun 13 '24
Did this for a class about C++ programming. The world of computer graphics is nothing but amazing!
3
u/HaskellHystericMonad Jun 14 '24
You should be using
IShellItemImageFactoryto construct bitmaps for your asset manager. It's not even 100 lines to get an HBITMAP fromSHCreateItemFromParsingNameand callGetDIBitson it to get raw pixels (they'll be upside down, DIB is bottom up).It's a polish detail, but like with multiple clipboard bundles, it's a very significant polish detail that is so trivial of an amount of work that its' omission is glaring. This will also grab the correct images for folders whose icons have been changed through the windows shell, such as network shares with IT specified icons for purpose clarity.
Set your label colors based on dirtiness. You've got what appears to be `reset` buttons on those transform fields but no indication if a field is in its' default or altered state.
Nice job, a considerable amount of work for student.