SFML Tutorial - Install
3:01
2 жыл бұрын
OpenGL Tutorial 30 - Bloom
4:06
2 жыл бұрын
OpenGL Tutorial 27 - Normal Maps
5:06
Q&A - 1024 Subscribers Special
18:51
2 жыл бұрын
OpenGL Tutorial 21 - Instancing
4:56
OpenGL Tutorial 20 - Geometry Shader
5:34
OpenGL Tutorial 14 - Depth Buffer
4:40
Пікірлер
@alonepoptart24_6
@alonepoptart24_6 18 сағат бұрын
correct indicies: 5, 3, 0, // Lower left triangle 4, 2, 3, // Upper triangle 1, 4, 5 // Lower right triangle the winding order was wrong
@atljBoss
@atljBoss 2 күн бұрын
Perfect video! Thanks, I was able to implement it using WebGPU
@Test-iv4pm
@Test-iv4pm 2 күн бұрын
How can we add subsurface scattering to the implementation?
@DidIJustDoThat
@DidIJustDoThat 4 күн бұрын
A while back in math class I was doing simultaneous equations and got that 27 equals to 9(I don't know what was in my mind ). This is how I feel like after watching this video. I have tried reading the learn opengl website and I think I am understanding a small portion of what is happening.
@friggindoc
@friggindoc 4 күн бұрын
Blinn-Phong is not really better looking or more realistic then Phong but its much faster. Thats why it is used :)
@chorong7351
@chorong7351 7 күн бұрын
you saved my graphics homework
@mr.hashundredsofprivatepla3711
@mr.hashundredsofprivatepla3711 9 күн бұрын
It’s exciting to think about how happy the original mathematicians (e.g. Lambert, Fresnel, Phong etc.) would be to see all of their work finally come to life like this
@icaroamorim3123
@icaroamorim3123 11 күн бұрын
I belive mesh shaders can replace all of this functionalities...
@EmosGambler
@EmosGambler 12 күн бұрын
Last minute be like 0,25 speed :D :D
@flame3303
@flame3303 12 күн бұрын
after Orginization , why my triangle color is black instead of orange yellow before ?
@x3n662
@x3n662 12 күн бұрын
Since this is the first video I believe is the one where I should be thanking you. You literally saved my grade in project this semester. I couldn't be more grateful with you. TYSM <3
@Montazeran8
@Montazeran8 15 күн бұрын
❤❤❤
@oogway_hussein
@oogway_hussein 17 күн бұрын
its too fast
@nizarbk866
@nizarbk866 19 күн бұрын
Hello,i followed all your instructions and at the and when running the main.c file,it givese the " file not found error"
@ziphy_6471
@ziphy_6471 17 күн бұрын
You are having build errors
@ishanprajapati9967
@ishanprajapati9967 19 күн бұрын
dhanyavad
@Jtnn713
@Jtnn713 20 күн бұрын
How come the color of the traingle is orange even though you used the same color that you used for the bg?
@Banaannaa
@Banaannaa 5 күн бұрын
the color was decided in the "Fragment shader" at the top of the code in which it says "FragColor = vec4(0.8f, 0.3f, 0.02f, 1.0f);" which is a orange red color The fragment shader is the code that controlls the triangle and its color
@ishanprajapati9967
@ishanprajapati9967 21 күн бұрын
your vids. help a LOT! THANKS FOR YOUR SUPPORT
@RetroEcoChicken
@RetroEcoChicken 21 күн бұрын
if you change inner and outer cone you get shadows for some reason.
@drimiteros_21
@drimiteros_21 22 күн бұрын
Great video, I resently started messing around with Graphics programming and your videos are gold! I have a question, have you considered making another series using glew instead of glad? As far as I know, glew is easier to work with, but does not provide the flexibility of glad. I followed another tutorial that was using glew and I got to draw a triangle in no time.
@VictorGordan
@VictorGordan 22 күн бұрын
You can use GLAD, doesn't rly make a difference for 99% of the tutorial series
@drimiteros_21
@drimiteros_21 22 күн бұрын
@@VictorGordan Got it, thank you
@ishanprajapati9967
@ishanprajapati9967 23 күн бұрын
7:23 FR 💀
@RetroEcoChicken
@RetroEcoChicken 23 күн бұрын
recomend getting the glsl extention. it gives error debugging to fragment and vertex shaders so your mistakes are 100 times easier to see.
@RetroEcoChicken
@RetroEcoChicken 24 күн бұрын
in case anyone else has this issue, i had no config menu's, then i created a new app and then reopened my empty sulution and suddently it also had config menu's..........
@lobstercrab-neverdie
@lobstercrab-neverdie 24 күн бұрын
nvm the triangles showed up thanks for the video
@lobstercrab-neverdie
@lobstercrab-neverdie 24 күн бұрын
welp the triangle dont show help how do i fix it
@geostargames
@geostargames 25 күн бұрын
why are your tutorials getting faster and faster each video? it's hard to follow 🤧
@rdas7014
@rdas7014 28 күн бұрын
you my friend with all the break downs of code and analysis you do, just earnt another subscriber xoxoxooxoxo
@kyu32112
@kyu32112 29 күн бұрын
How does a smooth shadows shader work?
@sephjfox
@sephjfox Ай бұрын
this video is an absolute lifesaver 🥰
@fjodorz3474
@fjodorz3474 Ай бұрын
After a total of 3 maybe 4 hours of effing around trying to get SFML and ImGui to work I finally got it. Followed this guide and this channels SFML guide however it was also achieved thanks to RougesDivision SFML guide. Idk why but the complier was just not linking everything till I added: sfml-system.lib sfml-window.lib sfml-graphics.lib sfml-main.lib ** sfml-system-d.lib sfml-window-d.lib sfml-graphics-d.lib sfml-main-d.lib ** into the additional dependencies in the linker input. I got it working, I am so happy, time to level up.
@vladislav6700
@vladislav6700 Ай бұрын
THANK YOU SO MUCH!!! I spent the whole day linking libraries via cmake, but as a result I gave up and decided to go the usual way through your video🥲
@ReleaseTheKraken25
@ReleaseTheKraken25 Ай бұрын
I want to kiss this man’s face. Great work, these are very well made and your effort shows. I really appreciate the time you spent making these for us and I am excited to continue the series ❤
@sergant445
@sergant445 Ай бұрын
my vao class always broken
@78cunobelin
@78cunobelin Ай бұрын
Trying to learn this is frustrating. I feel really dumb. I have all the code and I can access the models in your github but what do I do with the files? Where do they go? You did not show us where to put the files for the models. I tried putting the file "Object001_mtl_baseColor.jpeg" inside the project folder but get the error when I try to run the program in VS "unhandled exception" again on the throw(errno) line of the ShaderClass.cpp....resolution below: I see that you did very quickly show where the "models" folder is. I created this folder, added the folder "sword" to it, made sure that the main.cpp file had the correct name (your github version has "bunny" instead of "sword") but now I get an unhandled error on line 78 inside the Texture.cpp at glGenerateMipmap(GL_TEXTURE_2D). I was able to resolve this by closer observation of the very fast screenshots you showed of the Models folder. I had put a subfolder in there called sword, but in that subfolder I put the model and textures without making a subfolder called "textures". Once I did this and put the jpeg in there the program ran as intended.* *The camera was VERY close to the sword so at first it was entirely clipped and the sword was so large that I had to hold S quite awhile before I had backed away enough to see it. This caused me to run the program a couple times and assume I had something wrong, still, then watching your final reveal of the sword I noticed you also zoomed-out, but everything is so sped-up in your tutorials I had missed it, so on my third run I just held S until I could begin to see the sword.
@RatedA4Aliens
@RatedA4Aliens Ай бұрын
10:43 glGenVertexArray proc function is not available before OpenGL3.0, how was it done in prior versions?
@78cunobelin
@78cunobelin Ай бұрын
With this video I had another error, so I tried something different. Rather than writing the code in real time as I watched, constantly pausing, rewinding, etc., I just copied all the code from your github, pasted it where it belonged (creating new items as necessary and pasting the code into them as you showed them) and just followed along with you as you spoke. This made what you are saying much more sensible as I was not half preoccupied with trying to type quickly and accurately.
@78cunobelin
@78cunobelin Ай бұрын
Another error I was having is that my texture image was not appearing after the final steps of the tutorial. I read through the code and made sure I had no typos, and saw the note about adding the C++17 language, and did that, but it still only showed a blank blue square at the end. So I commented-out the code requiring the C++17 language and reverted to the code that says "original tutorial code" and it worked. Here is what worked for me, note that I used a different image file for my texture and simply called it "horse" // Texture //Texture horse((parentDir + texPath + "horse.png").c_str(), GL_TEXTURE_2D, GL_TEXTURE0, GL_RGBA, GL_UNSIGNED_BYTE); //horse.texUnit(shaderProgram, "tex0", 0); Texture horse("horse.png", GL_TEXTURE_2D, GL_TEXTURE0, GL_RGBA, GL_UNSIGNED_BYTE); horse.texUnit(shaderProgram, "tex0", 0);
@78cunobelin
@78cunobelin Ай бұрын
It will not compile. Gives error "C1083 Cannot open include file: 'stb/stb_image.h': No such file or directory. SOLUTION: Someone below had this problem, and at first I did not think their comment was relevant, but it was the problem, and I fixed it. As they say, if you try to compile and get an error that says "no such file" simply go to the stb folder you made in the include folder, and click View at the top of the window, make sure you click "show" then "show file extensions". I had renamed the file stb_image.h, but it kept the .txt extension after that and did not show it to me until I changed that setting. once I did so I was able to simply delete the .txt file extension and the compiler worked.
@78cunobelin
@78cunobelin Ай бұрын
I am getting an unhandled exception error in the shaderClass.cpp, at throw(errno); took me quite awhile to find what I did wrong. I initially went through all of the code to make sure I had no typos, though I did change the OpenGL version to 4 (most recent), then I started rewatching the tutorial and the error I had made was creating default.vert and default.frag as code and not as Utility>Text File. Once I corrected this I have completed this tutorial successfully.
@TheCodingSeal
@TheCodingSeal Ай бұрын
I have been trying to get to grips with how to tie some of the controls to the game objects in OpenGL and was really struggling, I then decided to watch your video to revisit an old 2d SFML project and you have taught me more in this 4 minute video than I learned in a whole evening working on OpenGL. I went back to my Opengl 3d project and omg I can apply what I learned. Thank you so much keep up the great content. Absolutely loved this. Okay so it took 15 minutes to keep rewinding to see the code develop due to the speed and to follow along but in any case you are a brilliant teacher thank you so much!!!! Subscribed and looking forwards to seeing what else you teach.
@millopodia
@millopodia Ай бұрын
at the end, it give me the error: "Error C1083 Cannot open source file: 'include\glad.c': No such file or directory 'E:\include\glad.c'", it wants me to put glad.c at the start of the drive ;-; i did everything you said, but at least it works compared to 1000 other tutorials! thanks!
@millopodia
@millopodia Ай бұрын
oml i just did 'E:\include\glad.c' now its asking for 'include\glad.c' WHY IS THERE NO DRIVE HELPPP
@78cunobelin
@78cunobelin Ай бұрын
I was stuck at the part where you configured using CMake. It kept giving me an error "no instance of VisualStudio found". I checked online and found some others had experienced this error, and I tried ensuring VisualStudio was configured to allow for C++ projects (under tools) but that was unnecessary. The issue turned-out to be that VS is now 2022 version, and your tutorial shows the 2019 setting when you Configure in CMake. I simply used the 2022 setting and it worked.
@JoeyTeam31
@JoeyTeam31 27 күн бұрын
Same here I was stuck at this part
@MasonDixonAutistic
@MasonDixonAutistic Ай бұрын
This is the part where all programming tutorials go wrong. It's the 'How To Draw An Owl' problem. 1. Draw two circles 2. Draw the rest of the owl
@giusepperana6354
@giusepperana6354 Ай бұрын
Your code here is different from the one on the website. float beforeDepth here is 1.0f - at the start, but on the website the 1.0f- is missing.
@thecoolaydang8104
@thecoolaydang8104 Ай бұрын
For some reason the compiler is unable to find opengl32.lib, any fixes?
@x3n662
@x3n662 Ай бұрын
GOOD TUTORIAL but one side note... 13:08 For those who had an AMD cpu I recomend to not Delete the VBO
@CarlosCendros
@CarlosCendros Ай бұрын
If you find you camera to be moving extremely fast like it happened to me, make sure to add "glfwSwapInterval(1);" right after "glfwMakeContextCurrent(window);" in your main.cpp and that will work :)
@moribasson
@moribasson Ай бұрын
Thank you so much for the tutorial <3
@PatrickFrom
@PatrickFrom Ай бұрын
-When resizing the window, should I recreate the framebuffer?- -Since I've noticed that if I change the window size, it looks weird.- For anyone else who doesn't want a static size, you can do for example GL.TexImage2D(TextureTarget.Texture2D, 0, PixelInternalFormat.Rgb, ClientSize.X, ClientSize.Y, 0, PixelFormat.Rgb, PixelType.UnsignedByte, IntPtr.Zero); GL.BindRenderbuffer(RenderbufferTarget.Renderbuffer, _postprocessRenderbuffer); GL.RenderbufferStorage(RenderbufferTarget.Renderbuffer, RenderbufferStorage.Depth24Stencil8, ClientSize.X, ClientSize.Y); If you encounter Framebuffer Incomplete when in fullscreen and alt + tabbing, skip rendering all together since that could mean that the screen size is 0.
@MaximoComperatore
@MaximoComperatore Ай бұрын
takes more time to learn whats blinn phong than to implement it lmao
@MaximoComperatore
@MaximoComperatore Ай бұрын
God bless you men. You are a godsend. You are amazing. THANKS for this. Thank you Victor, seriously, T H A N K Y O U <3