r/GraphicsProgramming • • Jan 18 '20

Hello Folks

Hello folks, i am just 20 years old digital game design student. My studying aims to learn game design basic, game theory, sound design for games, writing, gamer psychology some programming c# for unity, c++ and i had a math class which is just Matrices and etc. . Eventually it s like whole game desing in a nutshell. But ... i want to learn computer graphics deeply. Like real-time rendering, shader programming and more stuff. I do not need to learn but i d love to. So i ve just started a month ago to learn on my own. I ve almost finished Lineer Algebra. I gotta refresh my trigonometry and geometry knowledge which is last from highschool. And i ll gain my old c++ knowledge in two weeks. Because i m programming on Unity with c# nowadays. When i have prerequisites, i m planning start from here https://learnopengl.com/ and so. If you did not understand my goal, it is, like , i wanna learn customSRP, making maps, oceans , mountains for games by help of programming. Maybe this kind of stuff for games( https://www.instagram.com/p/B7IhxP6Hsm8/ ). At least i wanna learn the fundementals which is enough to do some of them. Thanks for reading....

4 Upvotes

15 comments sorted by

View all comments

1

u/Craiynel Jan 19 '20

I saw that you mentioned OpenGL as your go-to graphics api, but I would recommend DirectX 11 with Win32. Unfortunately it's then only windows specific, but I like directx more since it's seems more structured in my opinion and has great resources to understand what's happening. If you later transfer to DirectX 12, you will understand it a lot easier.

If you choose DirectX instead you have Frank Luna's Introduction to 3D Game Programing with DirectX 11. You also have MSDN (Microsoft Development Network) if you are stuck on specific functions or want help with the API. Both are great resources to start with. I use MSDN everyday and helps me a lot, so learn how to use it as fast as possible.

2

u/CodyDuncan1260 Jan 23 '20

What u/Craiynel said. I recommend trying both and picking one. I don't recommend Vulkan or DirectX12 until you're comfortable with either OpenGL or DirectX11 respectively.

Modern APIs like Vulkan or DirectX12 pull back the abstraction layer and ask the implementer to manage nearly every detail from scratch. The amount of code is easily 4-10x larger. It makes a difference when you have several threads assembling render jobs to submit to the GPU. But when you can't even saturate one thread, it's just extra complexity or an advanced learning exercise.

Master the basics to understand why those APIs are useful.

1

u/ledpearl Jan 19 '20

Alright then i will consider to learn DirectX as well, Thanks !!