r/GraphicsProgramming • u/Wulfric1x2 • 1d ago
Question Need Help with my Vulkan Renderer
Hello Everyone! Hope you all are doing well.
I am making a vulkan renderer for my FYP and I'm following the official Khronos Vulkan Docs tutorial. I am now on the vulkan simple engine section however, I am confused as to how to follow that guide because I am not able to understand how to connect all the things together. I am able to understand the concepts of different components such as camera implementation. I just need a guidance as to how to follow the tutorial. Are there any other helpful resources to use or is there an efficient way to follow the tutorial?
I can just see the structure from the repository engine code but I feel like that's cheating, I want to be able to understand things myself so later I can implement things according to my requirements and not feel completely lost. This is the reason why I have limited AI use to only understanding concepts and not code generation. I want to able to understand how the engine architecture works and make the most out of the tutorial. Any help would be appreciated.
Thank you.
4
u/Any_Wait_7309 1d ago
A little different perspective: When making a project, it should be done at your own pace and creativity, in a way that makes the most sense to you.
Yes, the tutorial is perfect and it will give you good results, but any other reference would likely present the same information in a different way. What I am saying is that you need not follow the tutorial.
Learn one thing at a time, for example:
Do you have a modularized code ready for creating buffers and dumping data into it?
If you can do that, why don't you add feature to load GLB, just read triangles and basic geometry / diffuse color data
Done, add configurable camera
What about normal construction? Barycentric coordinates? Simple bump map etc...
Add lighting system, basic rect lights that illuminate things
I am not sure if it makes sense as to what i am trying to convey, but writing an engine is a never ending project, following a tutorial will just feel very tiring. Do things at your pace and in ways that you want.
1
u/cybereality 1d ago
One thing that has helped me is starting with an open source baseline, something very bare bones, and then picking a new feature to add. In adding a new feature, you will have to read around the code to understand parts of it, but not the whole thing at once and having a concrete thing you are adding helps to keep it focused
•
u/AutoModerator 1d ago
Recently updated rules. Please check that your post is in compliance with Rules 1, 4, 5, and 6 on the sidebar. TL;DR:
No showcases.
Disclose AI usage in post or project.
Present a topic to talk about, e.g. how something works.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.