Honestly, you and the Cherno have the absolute best videos on OpenGL. Thank you for everything that you put out!
@VictorGordan3 жыл бұрын
Thank you for the kind words :,) This is the first time I was compared to the Cherno in a positive light haha
@hyblidblackbox88472 жыл бұрын
@@VictorGordan It can be personal opinion, Victor is better, coz he knows about KT. sometimes organized 100 words are better than 1000 words.
@maverikmiller67462 жыл бұрын
@@hyblidblackbox8847 Agree with you.
@mr.hashundredsofprivatepla3711Ай бұрын
@@hyblidblackbox8847 What does KT stand for?
@Sirbozo5 күн бұрын
daaa
@icrann3 жыл бұрын
This content is amazing lad keep it up it's the best tutorials I can find in the entire web. Well done 👍
@VictorGordan3 жыл бұрын
Thank you, I'm glad you're enjoying the tutorials :,)
@mvpjp32 жыл бұрын
@@VictorGordan you are a glad lad (did you get it?)
@VictorGordan2 жыл бұрын
Yup :p
@sogekiin3 ай бұрын
Sharing those computer graphics concepts is genius!
@Alexey_Pe2 жыл бұрын
This is very cool, thank you! I was also able to remove the console, for this I created a new configuration, where in the linker> system> subsystem> changed to "Windows (/SUBSYSTEM: WINDOWS)". Now I have a configuration with and without a console)
@VictorGordan2 жыл бұрын
That's really cool! Though keep in mind the console is useful haha
@robertt3963 жыл бұрын
That was a great explanation of buffering
@VictorGordan3 жыл бұрын
Thx :)
@uwu-pq1om3 жыл бұрын
Thanks! i just made my first openGL window to test Imgui !
@VictorGordan3 жыл бұрын
No problem :)
@harshitjoshi30822 жыл бұрын
Thanks this is the best opengl video i have ever watchd !
@VictorGordan2 жыл бұрын
Glad u enjoyed it :)
@baongocnguyenhong56745 ай бұрын
i hereby grant my soul and flesh to you dear glorious god jokes aside thank you for this tutorial
@Xmenbasketbol Жыл бұрын
Thank you buddy great video
@VictorGordan Жыл бұрын
Glad u found it helpful :)
@aminjonbobokhonov42362 жыл бұрын
Help pls, 4:22 it doesn't create window, instead it says "Failed to create window!" like in condition we wrote, it means that window=NULL. I did everything like on the "install" video and this one
@VictorGordan2 жыл бұрын
Download the repo on github and see if that one works for you. If it doesn't work, there's probably smth wrong with your drivers or maybe your hardware is too old... if it works, then you peobably just messed up a step at some point ;)
@aminjonbobokhonov42362 жыл бұрын
@@VictorGordan yeah, I already downloaded ur repo code, it doesn't work :( And yeah, my hardware is old :( Is there something I can do? Or I should buy a new laptop?
@VictorGordan2 жыл бұрын
Yeah, if your hardware is really old I'm not sure what you can do. You can try to maybe learn Legacy OpenGL. Though it it very different from Modern OpenGL, and I don't think there are many resources on it... :/
@FunnyStep_BK3 ай бұрын
7:23 Imaginary Friends 😆 pretty nice one i would say.
@ajenebrazl4 ай бұрын
amazing videos! subscribed
@Rubens-892 жыл бұрын
nice video, thanks!
@VictorGordan2 жыл бұрын
Glad u enjoyed it :)
@ankushroy1729 Жыл бұрын
Hey friend, my device doesn't support opengl3, but am eager to learn opengl, later I'll get a new device, for now for learning can I continue with your tutorial? Would there be any problems with the programme if I'm using opengl2?
@VictorGordan Жыл бұрын
It won't work with OpenGL2
@manuelmeekattukulamАй бұрын
You are hilarious bro!!
@ashwaqmunif77002 жыл бұрын
Thank you so much
@brainloading55433 жыл бұрын
God bless you, your family, your pet (cat or d-...cat), the fellow spider that is living in the corner of your bedroom, your imaginary friend and your system 32.
@VictorGordan3 жыл бұрын
May the one true god Jupiter do so! ;) Glad I could help ^-^
@reesebunker1996 Жыл бұрын
After years of programming I was too willing to doubt that 0, 0 was in the bottom left corner.
@VictorGordan Жыл бұрын
Haha, yeah, OpenGL has a different standard. I prefer it this way tbh
@sujalgvs987 Жыл бұрын
The window pointer returns null and i get the failed to make window error. When i comment out the glfwWindowHint functions, it works just fine. I'm not having any problems with the current tutorials(I've made it to the mesh loader class) But i can't run other people's projects i downloaded from github, please help.
@VictorGordan Жыл бұрын
Hmmm, I don't really understand how you made it to later tutorials and made them work, but this one doesn't... If you can't run other people's projects, it might just be that your hardware is not compatible
@mr_fire_6863 Жыл бұрын
same problem
@nikhilgaruda96343 жыл бұрын
I just started watching your tutorials and I love them. But do you any resources where I can use this for python? Like pyopengl or some library for opengl?
@VictorGordan3 жыл бұрын
Thank you for the compliment :) No, I do not know of any python libraries for opengl. All I know is that python has a graphics library called pygame, but I don't know anything about it. I only use python for quick and dirty programs when I need stuff like that. I would recommend DaFluffyPotato if u're interested in Python :)
@nikhilgaruda96343 жыл бұрын
Ahh thanks for the suggestion I’ll look through that channel
@nikhilgaruda96343 жыл бұрын
And do you do open source contributions?
@VictorGordan3 жыл бұрын
Do you mean if I do that, or if I allow people to contribute to my repos? Personally I haven't yet contributed to public repos because I've been focused on my projects. But if you find an error in my repos, feel free to put in a pull request :)
@nikhilgaruda96343 жыл бұрын
Oh I was asking if you contribute to repos, there is a repository known as manim (I think you have mentioned the creators playlist once) and the manim community repo is switching to OpenGL so I thought it would be nice if you could give some input. Repo: github.com/ManimCommunity/manim
@dashking50592 жыл бұрын
I have zero knowledge on opengl. But i want to create 3d building for graphics project. Hope this series will help me.
@invader63 Жыл бұрын
hello at 4:23 in my laptop it says 'glfwSetWindowShouldClose' function does not take 1 arguments and shows error on line 22
@VictorGordan Жыл бұрын
Hmmm, maybe since I've made this video they've changed the functions slightly. You might want to check their official tutorial on creating a window! ;)
@Yipinesis7 ай бұрын
(I'm very late) but it should be 'glfwWindowShouldClose' Instead of 'glfwSetWindowShouldClose'
@MustaphaMond-tt3pt Жыл бұрын
Thank you
@amanakeet6 ай бұрын
If I run glfwSwapBuffers(window); 0 times it's white If I run glfwSwapBuffers(window); 1 times it's black Without running glClear() or glColorClear, I expected it to turn back white if I run it once more because it it supposed to alternate between front and back buffer and by default the front buffer was white. But for some reason If I run glfwSwapBuffers(window); 2 times it's black
@desmondcraft21122 жыл бұрын
Very good tutorial, although I was not able to swap the clear color buffer outside the while loop. Inside the while loop, the color swap worked. Might anyone know the reasoning for this?
@VictorGordan2 жыл бұрын
Hm, that's weird. Maybe your graphics driver has something to do with that. In any case, it shouldn't matter too much where you put it ;)
@mailoisback3 жыл бұрын
I have a stupid question.. is it possible to create an exe file that will launch only the glfw window (with our drawn triangle etc.) without the terminal window which always opens in the background?
@VictorGordan3 жыл бұрын
I never tried to do this myself, but you might find this helpful :) discourse.glfw.org/t/eliminate-shell-window/354
@hyblidblackbox88472 жыл бұрын
Thank you so much...... if I use visual studio 2022... Should I consider or set up something?
@VictorGordan2 жыл бұрын
I haven't used it yet, but I would imagine it should work fine
@MieysoFelix2 жыл бұрын
no, in vs 2022, everything works fine
@skysoft11033 жыл бұрын
When I turn on the debugger, the window that should have turned out does not appear, but only the console remains.
@VictorGordan3 жыл бұрын
By debugger you mean "Debug" mode as opposed to "Release" mode? You might need to select "All Configurations" and "All Platforms" in the properties window of your VS project.
@skysoft11033 жыл бұрын
@@VictorGordan I'm just stupid ... I should have had "!" put.
@curtispuetz6379 Жыл бұрын
Can I get access to the exercises? Source Code and Exercises link shows "403 Forbidden".
@VictorGordan Жыл бұрын
Strange, the link seems to be working for me. Here is the full ink tho: github.com/VictorGordan/opengl-tutorials
@AlbertRyanstein Жыл бұрын
Is this still okay for me to go through, or should I look for a tutorial on newer versions? Thanks
@VictorGordan Жыл бұрын
It should still be quite ok. Some things are slightly different (look in the comments for solutions) but the foundation is the same as it is nowadays ;)
@thomasnguyen11502 жыл бұрын
What do u do if CMake doesn’t have the Visual Studio option when selecting generators (im on mac)
@VictorGordan2 жыл бұрын
Oh, no clue how to do it on Mac... check learnopengl.com there might be instructions for Mac there. Keep in mind OpenGL is deprecated on Mac though :/
@thomasnguyen11502 жыл бұрын
@@VictorGordan thank you for the fast reply 🙏 will do some research and worst case I’ll end up following the tutorials on my windows machine :) appreciate u bro
@GamingForLifeGF12 күн бұрын
2024, VS2022 and still works.
@wellsilver39722 жыл бұрын
I have a question, why do people always do int main() instead of void main() to avoid having to return something?
@VictorGordan2 жыл бұрын
I think it's because if u have an error you'll get -1 as the output, so u know u fucked smth up. Sometimes errors can hide at the end of a program (though debatabely they are not that important if they are at the end)
@wellsilver39722 жыл бұрын
@@VictorGordan okay thanks
@koalpu4207 Жыл бұрын
I have a question, How do I compile this with minGW, also great tutorial!
@VictorGordan Жыл бұрын
I sadly have no clue 😅
@koalpu4207 Жыл бұрын
@@VictorGordan Ok, Thanks for answering!
@4TechStore2 жыл бұрын
first thanks for your work good job and have truble i have macbook pro 2019 install windows in boot camp and ilearn for make window i create window fine but color not change and i try dowload your main page and run seam truble can you please tell me what truble thansk ahppy time
@VictorGordan2 жыл бұрын
I don't use Mac so I don't know how to help you. And from what I know Apple doesn't support OpenGL anymore so that's probably where the problem is coming from. That or you didn't properly link GLAD to your project. Good luck!
@4TechStore2 жыл бұрын
@@VictorGordan thanks so match 😀
@ИванОсокин-в3щ3 жыл бұрын
Error LNK2019: unresolved external symbol _glfwInit referenced in function _main. How to solve this problem? It relates to every function from glfw library. I've done all as in the video.
@VictorGordan3 жыл бұрын
You didn't properly link the GLFW library. Make sure you link it for "All Configurations" and both x64 and x86 in the project properties ;)
@familiagaspar74602 жыл бұрын
I tried to comment the line of glfwDestroyWindow() and glfwTerminate() and when I tried to run it, I got the same result as if they weren't commented. What does they actually do?
@VictorGordan2 жыл бұрын
They just wrap up the program before suddenly ending it. I don't know the details, but the GLFW documentation tells u to put them there, so I think it's just safer to do so haha
@adityachandran7002 Жыл бұрын
You didnt have to attack me like that ;-; 7:19
@VictorGordan Жыл бұрын
😈
@zuluaaa9 ай бұрын
after I took out the window, I really decided to show it to my friend, but then a phrase about imaginary frends was heard and I even felt sad🥲(but your guides are cool!)
@Montazeran87 ай бұрын
❤❤❤
@aayushmaan31282 жыл бұрын
I linked the libraries properly there were no error for it i also entered the code correctly but still my window is nowhere to be seen i get the statement failed to create glfw window i am confused on what i did wrong pls help
@VictorGordan2 жыл бұрын
Most likely you linked the libraries in a wrong way. There's also the possibility that your hardware is too old (10+ years) to run the library with OpenGL, but it's unlikely I think
@aayushmaan31282 жыл бұрын
@@VictorGordan yeah my hardware is old 🥲
@charliecharliewhiskey94032 жыл бұрын
Gah, I could do all the exercises except the last one. I'm dumb, I didn't even think of using sincostan, just ended up subtracting or adding 0.01f every second and got an ugly slow colour drift.
@VictorGordan2 жыл бұрын
That's still better than most ;) gj
@MieysoFelix2 жыл бұрын
hi, i'm getting an Error saying "absorb() has been called"
@VictorGordan2 жыл бұрын
I've never seen that before. Do you mean "abort" instead of "absorb"? 😅 In that case it could be caused by many things and I can't really tell u what the problem is. Try putting some break points down and finding where in the program the error occurs ;)
@MieysoFelix2 жыл бұрын
@@VictorGordan Hi, yeah it was autocomplete, (absorb) is a joke between me and my friend… no! But it only occurres when i don’t put in the part with the window failed to load thing… but when i do it just doesn’t loads the window
@VictorGordan2 жыл бұрын
Hmmm, maybe u didn't correctly link GLTF? Try running the code I have on gitHub to see if it's a hardware compatibility problem or smth with the code
@tengyuhuang87982 жыл бұрын
"Show off to ur imaginary friends" lol u know us too well
@VictorGordan2 жыл бұрын
👀
@devwiktor6 ай бұрын
7:20 I feel attacked
@ferivertid3 жыл бұрын
is it okay if i follow your code but in c instead of c++?
@VictorGordan3 жыл бұрын
I use data structures that are not present in C and also some libraries which I have a feeling are not compatible with C. Technically speaking you can use C for OpenGL, it's just that it will be a bit more of a pain in the ass 😅
@ferivertid3 жыл бұрын
@@VictorGordan damn man i cant find any tutorial with c
@VictorGordan3 жыл бұрын
I am not surprised. Not many people use C, at least not for this sort of stuff. I like C, but I would only use it in situations where I really really need speed. My suggestion to you would be to simply follow my tutorials in C++ and then once you got the hang of OpenGL do everything alone in C. Though I don't see why you want to stick to C 🤔
@ferivertid3 жыл бұрын
@@VictorGordan well thanks anyway
@josejimenez-wd5rw2 жыл бұрын
Cool
@VictorGordan2 жыл бұрын
👉😎👉
@not_halls Жыл бұрын
oh damn my imaginary friends were so proud of me
@VictorGordan Жыл бұрын
Glad to hear that! If they start speaking more often to you, let your GP know of these great news :)
@not_halls Жыл бұрын
He told me to stop using c++ to get well
@yourcommander34122 жыл бұрын
Just what I was looking for ! creating a rendering window; wanna learn to make some basic games for jams- kind of you just a camera navigating a simple environments: like those cheesy find a note spooy games. but less technical. Kind of feels good Unity/Unreal cant cancel me cause I put offensive shit my games as well :)
@ishanprajapati99677 ай бұрын
7:23 FR 💀
@rock8012 жыл бұрын
Linking does not work!!!
@VictorGordan2 жыл бұрын
Make sure you follow every step in the video ;)
@clifflin23073 жыл бұрын
Voice is a little bit low
@VictorGordan3 жыл бұрын
Is that sarcasm? I have my headphones at 15% volume and I can hear just fine. In any case, the latter videos have a higher volume ;)
@clifflin23073 жыл бұрын
@@VictorGordan In fact, I've set the speaker at 100% volume, but it is just fine, and some words become not clear. Thank you. Your videos are really helpful for a starter. Is it possible to talk about Assimp in the future?
@VictorGordan3 жыл бұрын
@@clifflin2307 Thank you. No, I won't do Assimp, sorry. I do show you how you can make your own basic glTF importer though (video number 13)
@clifflin23073 жыл бұрын
@@VictorGordan Yes, I've watched all of your videos. It seems Assimp is a general importer for arbitrary formats. Do you think glTF can be the unified format? I mean other formats can be easily converted to glTF.
@clifflin23073 жыл бұрын
May you can make a video introducing common formats for 3D models.