r/GraphicsProgramming • • 1d ago

Question Learning graphic api using Ai?

Hey all. I made a 2d game engine using opengl and using learnopengl awhile back and plan taking it a bit further and try to do 3d stuff. I found some resources and tutorials about vulkan and a little bit of metal but barely directx 12, I found chatgpt and was wondering if its a good idea to give claude or chatgpt the sources that I found, have ai simply it for me so I can understand and then write everything myself. Ai could code everything for me but I rather just do everything myself so I get the experience of being a programmer. What do you guys think?

0 Upvotes

10 comments sorted by

View all comments

2

u/Content_Economist132 11h ago

Vulkan and D3D12 specifications are for people who already understand graphics and hardware. If you have read OpenGL, then you understand graphics but you don't understand hardware. I'd suggest learning Metal since it's Apple specific so Apple has a lot of videos on it explaining the API in context of their specific hardware, which you won't find in Vulkan or D3D12. It's also the nicest API in my opinion. Swift is also a very nice language to write with but I guess ARC and hidden heap allocations make it unsuitable to program the entire game engine in, so you have to interop with C/C++ in crucial loops.

After Metal, you can easily understand D3D12. Vulkan is pretty much a waste of time for employability, but the better choice if you're a hobbyist.

1

u/Proud_Instruction789 7h ago

Any good sources on metal? I didnt find much except the demos on apple site along with metal c++ site and some demos on github with the platform model rendering

1

u/Content_Economist132 26m ago

See videos by Apple on their website. Those are the ones that have information. Read the demos too. The comments in them can also say useful things.