Using Modern OpenGL in C++

  Рет қаралды 413,622

The Cherno

The Cherno

6 жыл бұрын

Patreon ► / thecherno
Twitter ► / thecherno
Instagram ► / thecherno
Discord ► thecherno.com/discord
Series Playlist ► thecherno.com/opengl
GLEW ► glew.sourceforge.net/
In this video we're going to be loading all of the OpenGL functions that are accessible to us from our GPU drivers, using a library called GLEW. This will allow us to use the modern functionality of OpenGL in our application.
Thank you to the following Patreon supporters:
- Samuel Egger
- Dominic Pace
- Kevin Gregory Agwaze
- Sébastien Bervoets
- Tobias Humig
Gear I use:
-----------------
BEST laptop for programming! ► geni.us/pakTES
My FAVOURITE keyboard for programming! ► geni.us/zNhB
FAVOURITE monitors for programming! ► geni.us/Ig6KBq
MAIN Camera ► geni.us/t6xyDRO
MAIN Lens ► geni.us/xGoDWT
Second Camera ► geni.us/CYUQ
Microphone ► geni.us/wqO6g7K

Пікірлер: 468
@dimitri929
@dimitri929 3 жыл бұрын
Cherno: "Watch this video linked up there" Top right corner: *crickets chirping*
@neillunavat
@neillunavat 3 жыл бұрын
How do I add the preprocessor definition if I am using g++ to compile my program?
@kenan2386
@kenan2386 3 жыл бұрын
@@neillunavat while compiling at the -D flag in the g++ command to add a preprocessor definition or simply do #define SOMETHING_IDK
@Marnie_C
@Marnie_C 3 жыл бұрын
I went to college for computer programing and we had a course for OpenGL. Not once did our teacher tell us what GLEW was for, he just said download it from the college's server and add it to our project. You simply explaining what it does and its purpose has helped me better understand it. You actually saying its name and thus learning the W stands for wrangler has helped me understand this better.
@sohailape
@sohailape 2 жыл бұрын
My college professor didn't even tell me to download GLEW. He just said to complete assignment lol
@4tehath
@4tehath 2 жыл бұрын
@@sohailape i have question, if i were to open a new project, i would need to do all the linking again right ?
@DagreenApple
@DagreenApple Жыл бұрын
@@4tehath yes
@4tehath
@4tehath Жыл бұрын
@@DagreenApple thank you sir
@lorenzovelasque3668
@lorenzovelasque3668 Жыл бұрын
yep, that's college/uni alright lol
@MarinPlayLista
@MarinPlayLista 6 жыл бұрын
Just one VS tip. You don't need c/p piece of code if you move it up or down. Just select piece of code, keep ALT and UP or DOWN key, and move that peace through code.
@stickmaker10111
@stickmaker10111 5 жыл бұрын
THANK YOU. Yall need to listen up to this guy Keyboard shortcuts ftw
@krycerkris
@krycerkris 5 жыл бұрын
Thank you!
@arne1881
@arne1881 5 жыл бұрын
Haha, how did i not know that.... Been using VS for many years. Thanks for that one, mate!
@stickmaker10111
@stickmaker10111 5 жыл бұрын
​@@arne1881 The keyboard shortcuts I use: alt tab, alt backspace, ctrl backspace, alt up and down, shift click, click + shift click (mark places without carot, shift click), ctrl a, ctrl c, ctrl v, windows e, windows d, windows p, (windows tab is a thing), ctrl w, ctrl q, windows key 1-x where x is the amount of things on your taskbar whether open or not), ctrl / (comments depending on editor), shift home, shift end, shift page up, shift page down, ctrl delete, and probably more
@stathisstathopoulos9007
@stathisstathopoulos9007 5 жыл бұрын
I was using this tip on ATOM Text Editor, but instead of ALT it used the ctrl + up/down. When tried it on VS thought it doesn't exists as a feature lel
@edwinjata4301
@edwinjata4301 4 жыл бұрын
Do you have the entire EA Orchestra making music for your series?
@zorbix3652
@zorbix3652 3 жыл бұрын
69th like lol
@ammyvl1
@ammyvl1 3 жыл бұрын
yeah I think so
@neillunavat
@neillunavat 3 жыл бұрын
How do I add the preprocessor definition if I am using g++ to compile my program?
@alphaios7763
@alphaios7763 3 жыл бұрын
@@neillunavat A preprocessor definition can also be added by using #define. For example, you can do on the start of the file (before #include ) #define GLEW_STATIC
@69bruh
@69bruh 2 жыл бұрын
is this a joke? im not being sarcastic or anything im genuinely wondering if this is a joke or not
@Solo6R
@Solo6R 6 жыл бұрын
Love these videos so far. If you take these into depth and really cover it all (Cameras, Lighting, 3D), etc, etc then it will hands down be the best series on the topic out there, and that's saying a lot because there are some REALLY good tutorial series on this subject, so keep up the great work! Also ignore my comment on the last video, I thought I was writing it from this one, and I see this one was only uploaded a day ago, so it's quite clear you're still working on these :)
@OoElectron
@OoElectron 2 жыл бұрын
For those wondering, at 12:39 is the VisualAssist extension feature for searching methods, that can also be seen in Cherno's "My Top 5 Visual Assist Features" video at 6:04. In visual studio I think the closest you can get is the ctrl+T.
@user-nb9sb3te8d
@user-nb9sb3te8d 13 күн бұрын
谢了哥们
@rajasmahadule2697
@rajasmahadule2697 3 жыл бұрын
I really love how you explain the errors and solutions, thank you for that. It's really informative.
@HungryEagle2610
@HungryEagle2610 Ай бұрын
I love how you can just get a coffee cup and chill watching these videos while typing the fun stuff out... Love the energy. I know am like 7 years late to this, but keep it going man! Love the content! So much to learn from you!
@rfdave3980
@rfdave3980 Жыл бұрын
I have watch many of your video's , and clearly you are the best to explain the errors and how to fix them. I enjoy your channel, have learnt so much from you. thank you.
@tttopcattt
@tttopcattt 3 жыл бұрын
Thank you Yan. These videos are wonderful. As a point for those running on Mac hardware (in Windows) when choosing the linking folders, be sure to use the x64 folder instead of the Win32.
@calumjohndiprose1809
@calumjohndiprose1809 5 жыл бұрын
Very thorough! Really enjoying your speaking and video style.
@BOTHLine
@BOTHLine 6 жыл бұрын
Great video, as always. I just can tell you again and again how much I like all the in depth stuff like showing how to reverse engineer libraries etc. And I just want to mention you forgot to link the glew homepage for all the lazy guys inside your description :D
@MichaelDavydoff
@MichaelDavydoff 6 жыл бұрын
but I can't download and install it for you, sorry me
@runetimon
@runetimon 6 жыл бұрын
Loved the in depth look on opengl. Learned a lot of things i had no idea about. Keep going and i'll definetely support you on patreon.
@howl2339
@howl2339 Жыл бұрын
That is really cool
@d.a.t.6784
@d.a.t.6784 3 жыл бұрын
After following this tutorial series almost all the way to the end, I decided to make my own project from scratch again, using the tutorials as a basis for the new project. I got so many linker errors and couldn't figure out what they were from searching on the Internet. Then I re-watched this and remembered that I had to define the GLEW_STATIC. I missed that when I side-by-side compared the two projects to each other. So if you're making a new project, don't forget this define!
@aashnavaid6918
@aashnavaid6918 3 жыл бұрын
OMYGOD this is exactly what i did wrong! thank you so much.
@CreeperSlenderman
@CreeperSlenderman 3 жыл бұрын
wtf right when iread this comment the video got to that part
@anastasiapedan7496
@anastasiapedan7496 3 жыл бұрын
what if i define it and the linker still acts as if I hadn't. Like, it gives the same error?
@Adhithya2003
@Adhithya2003 2 жыл бұрын
Ohh ya , Now I learned through the hard way 🤣
@user-mq6zb7xy6d
@user-mq6zb7xy6d Жыл бұрын
@@anastasiapedan7496 l am facing the same problem bro
@codingwithsam4992
@codingwithsam4992 Жыл бұрын
Got to say your videos are too awesome. You are explaining every single bit of details. Thank you.
@lukenieuwenhuijsen322
@lukenieuwenhuijsen322 4 жыл бұрын
I have always wanted to learn OpenGL and C++. After many crappy videos I found your channel and this sires on OpenGL, and the way you explain things is amazing! Keep up the fantastic work!
@user-ps6yl7kl3e
@user-ps6yl7kl3e 2 жыл бұрын
Hi, Luke. Did you learn OpenGl? Maybe made some projects?
@llllNEOllllchannel
@llllNEOllllchannel Жыл бұрын
@@user-ps6yl7kl3e нет
@johnmcknight3931
@johnmcknight3931 6 жыл бұрын
Awesome, very little dead air, excellent pace keep on rocking
@dmaster20ify
@dmaster20ify 2 жыл бұрын
This is a very good series on OpenGL. Learnt alot of important points.
@tannishkmankar3998
@tannishkmankar3998 Жыл бұрын
This tutorial is amazing and you are really good at teaching !! great job sir !
@D1mas21
@D1mas21 4 жыл бұрын
Thanks for your help, bro. The video is very useful and I really enjoyed when I was watchining it!
@jonathanpeters9271
@jonathanpeters9271 5 жыл бұрын
Great videos. Im learning a lot. I love all the guitars too, well taken care of. I'm a programming guitar player as well. Subscribed.
@howl2339
@howl2339 Жыл бұрын
oh crap, i can't stop staring those guitars!
@lyte69
@lyte69 6 жыл бұрын
Awesome video as allways, and nice explaination keep it up love your videos.
@daifee9174
@daifee9174 3 жыл бұрын
Thank you man, your series are the best
@arkemal
@arkemal 9 ай бұрын
Excellent tutorial, thanks Cherno!
@spandana5432
@spandana5432 2 жыл бұрын
Thank you for your work. I learned something and am better today than yesterday!
@ZestyMuffins
@ZestyMuffins 6 жыл бұрын
So in depth. Awesome that you show errors. Awesome video
@Totiimon
@Totiimon 6 жыл бұрын
Pretty neat that you focus on not just putting all the stuff like a cook repice and take your time to explain most of the stuff that probably a non-cpp programmer doesn't really know :)
@LoereDami
@LoereDami 5 ай бұрын
doing this on linux, watching you fix the windows link madness, while i fix the linux link madness
@evanotoole787
@evanotoole787 Жыл бұрын
Learning this with VS Code, GCC on Linux! I appreciate your style of teaching. (By the way, I used to use windows and man VS sets up projects weirdly.)
@vectoralphaAI
@vectoralphaAI Жыл бұрын
same im wondering if we need to do this too or is this video just for Windows OS users.
@_trbr
@_trbr Жыл бұрын
@@vectoralphaAI This video has some Windows/visual studio specific things, but on Linux you will still likely be using GLEW for OpenGL development, and this video explains what GLEW is and why it is used. It also discusses linking and aspects of compiling that are useful on any platform, but demonstrated here on Windows.
@patrykoo2134
@patrykoo2134 6 жыл бұрын
Your keyboard sounds so nice. :D
@nextlifeonearth
@nextlifeonearth 6 жыл бұрын
It's just the laptop's keyboard.
@jonf9989
@jonf9989 5 жыл бұрын
It's Dell XPS 13/15.
@bjorn6437
@bjorn6437 Жыл бұрын
You helped me so much!! many thanks!
@roberthambrook150
@roberthambrook150 Жыл бұрын
I am learning Linux and OpenGL. I found a guide to set up OpenGL. It then had some code to cut and paste. The instructions showed how to compile the code. I then run the program and a white square appeared. Job done.
@sigillumdei887
@sigillumdei887 4 жыл бұрын
@11:10 Q:"The order really does not matter...". TIP: The order really matters if you want to succesfully cross-link for multiple operating systems without headaches. For example in the Linux OS for latest versions of gcc-ld linkers, clang, object linking will fail if the function symbols dependency graph will not match the exact ordering, which is fine because the architecture imply a better time performance at the link time. Let's no go further and talk about circular dependencies....
@sander_bouwhuis
@sander_bouwhuis 4 жыл бұрын
First, you speak very fast, which is very good! Second, you show/explain things very clearly, which is VERY very good! Third, maybe I missed this, but why would you build a 32-bit application in this day and age? Memory limits, memory fragmentation, and lack of registers are major hindrances in 32-bit.
@Poneglyph
@Poneglyph 4 жыл бұрын
*When you read way too many tutorials before and you see someone including opengl stuff after glfw Dude, I already know where this is going.
@lucasmorais3694
@lucasmorais3694 6 жыл бұрын
Better explanations about OpenGL of KZbin! Plz continue with dat great series.
@Youngduck93
@Youngduck93 2 жыл бұрын
Thank you for the quality content!
@tshichan
@tshichan 5 жыл бұрын
this video makes me feel like I am stupid. "what I was doing until now?" T-T
@jeffreytawiah2752
@jeffreytawiah2752 3 жыл бұрын
well am sure you are smarter now :)
@nikse2028
@nikse2028 3 жыл бұрын
@@jeffreytawiah2752 i'm not :(
@milo20060
@milo20060 2 жыл бұрын
Crazy. Thanks amd for giving me functions to use! Hahaha
@raboija
@raboija 6 жыл бұрын
Amazing video thanks a lot !!
@logins
@logins 6 жыл бұрын
It took me a lot of time to discover these notions by myself, and I did not go that deep so this video got me a lot more knowledge! Thanks Cherno!
@fungalwater3175
@fungalwater3175 2 жыл бұрын
I had a ton of errors in the actual glew.h file even tho I hadn't touched it so I took a break, got some air and came back only to find that now the thing is completely fine. Patience is key.
@ShayminMaster2
@ShayminMaster2 5 жыл бұрын
Hi! I just discovered your channel, looking for resources for learning OpenGL (currently in College Computer Graphics). I tutor Computer Science and some Math at my campus, and I also employ the learn by example/mistakes and DIY technique. I feel like making the mistakes and then correcting them or problem solving to correct them on the spot creates better programmers. Anyway, I love this series so far. It's so far, superior to the Lynda tutorial. I'll stick around on this channel. Thanks! =]
@drewbell5260
@drewbell5260 5 жыл бұрын
Great stuff. Thank you.
@ziyanwang6937
@ziyanwang6937 5 жыл бұрын
Greatly appreciate for making this video! I just have a small question: when I attempt to compile, I get a warning that "cannot open or find PDB files". How can I solve that?
@darrensweeney3381
@darrensweeney3381 6 жыл бұрын
Well produced video.
@johanrojassoderman5590
@johanrojassoderman5590 3 жыл бұрын
11:50 I had 230+ errors at this stage which had me a little worried, but they were all resolved on the next step.
@donbasti
@donbasti 6 жыл бұрын
What is the name of the Colour Theme you are using for Visual Studio? I want to get it for VS Code in Linux, but could not find anything similar :?
@CRBarchager
@CRBarchager 6 жыл бұрын
Great video. - What is your resolution on your laptop? - Even when watching your video at 1080p the text/code still looks blurred.
@vasiadobra
@vasiadobra 6 жыл бұрын
God, that was a verbal attack on my brain
@lodostic1015
@lodostic1015 3 жыл бұрын
Lmao you're not alone
@brainloading5543
@brainloading5543 2 жыл бұрын
@@lodostic1015 I'm here with u
@zoe4622
@zoe4622 2 жыл бұрын
That end music crept up on my left shoulder and I actually got scared and flinched. xD help
@marioluigi2995
@marioluigi2995 6 жыл бұрын
My macOS supports till OGL 3.3 but It's getting only 2.1. How to force to use the this version?
@batuhanyigit4342
@batuhanyigit4342 2 жыл бұрын
Why the background music is so epic. I feel like I'm about to get into combat against my GPU
@stepanhrbek8151
@stepanhrbek8151 3 жыл бұрын
Dude, how did you learn all this stuff? Of course great video, thanks
@sampson4844
@sampson4844 4 жыл бұрын
how can i have the same setup,i can either have error list or output at the bottom but it seems i cant have both at the same time??
@petarivanov2836
@petarivanov2836 2 жыл бұрын
Do you have any idea for the following error message: "mismatch in formal parameter list" it comes after I entered the code :" std::count
@ycombinator765
@ycombinator765 Жыл бұрын
I LOVE THIS
@totallynuts7595
@totallynuts7595 6 жыл бұрын
If I add GLEW and GLFW by source code, should I also shove them in a 'Dependecies' folder? I mean it doesn't really really matter but I want to know how you do it.
@dex6596
@dex6596 6 жыл бұрын
Awesome video, I learned a lot, thanks for it :3 BTW What the hell is that outro song? I can't find it anywhere.
@user-ym2iz8vy2n
@user-ym2iz8vy2n 6 ай бұрын
Hi chreno,you r the god of the cpp
@niravshah1731
@niravshah1731 4 жыл бұрын
Hey, The Cherno can you please make a tutorial for DirectX/Direct3D. PLEASE! can't find a good tutorial anywhere else and you are the best youtuber that does this kind of stuff THANK YOU!
@anonymoussloth6687
@anonymoussloth6687 2 жыл бұрын
I have always wondered, where did you learn c++ and OpenGL? and what resource, other than your videos, is really good for learning this stuff?
@samdash3216
@samdash3216 5 жыл бұрын
this background music! TA-DAAAAAA !!!
@davidsurry1089
@davidsurry1089 5 жыл бұрын
Trying to compile glew with the g++ compiler, so far I have this as my cmd g++ openGL.cpp -lglfw3 -framework Cocoa -framework OpenGL -framework IOKit -framework CoreVideo but I cant find the flag for glew and glut. Ive tried lglut, lGLEW, and lGLU. those 3 plus the command I listed earlier gives me a bunch of errors, but when I take out the including glew and glut part and remove those 3 flags it works perfectly. Help?
@dylanp8994
@dylanp8994 6 жыл бұрын
For Linux users to compile the program with glew you can use "g++ ProgramName.cpp -lglfw -lGLEW -lGL -o ProgramName" as most Linux distributions already have glew and glfw installed.
@mikicerise6250
@mikicerise6250 2 жыл бұрын
Following along, but on Linux and using just Make for compiling, so kind of flying by the seat of my pants. Man is this a pain in the arse to set up. I hope this is the last library linking adventure. xD
@Ragazz037
@Ragazz037 5 жыл бұрын
THANK YOU SO MUCH
@arslantariq89
@arslantariq89 5 жыл бұрын
Hello, very nice tutorial. I download and use source code and to compile it I use CMake. Now, I need to know whether it is right or do you recommend any other program or it. (CMake doesn't actually compile it just makes .sln file for VS which can then be loaded in VS and be build)
@mananbhardwaj3976
@mananbhardwaj3976 6 ай бұрын
this guy deserves 2 million subs
@zvxcvxcz
@zvxcvxcz 4 жыл бұрын
Oh man, that comment about linking statically whenever you can surely raised some hackles somewhere, lol.
@aikinsderrick
@aikinsderrick 3 жыл бұрын
Cherno Thanks for the video series. Any resource on VTK ?
@jakemeyer8188
@jakemeyer8188 2 жыл бұрын
This video is hilariously balls-to-the-wall through the roof. I prefer that and appreciate it, mind you, but still...holy crap. I'd also like to mention that I've never met a single soul who's idea of doing something "just for fun" was creating linker errors. No one. Ever. ...but I still consider that to be a positive bonus...
@lukasriegler5223
@lukasriegler5223 6 жыл бұрын
what are those compiler intrinsics? should i know more about them?
@romulodurante2822
@romulodurante2822 4 жыл бұрын
Cmake in Linux target_link_libraries(projectName -lglut -lglfw -lGLEW -lGL -lGLU)
@andreiosypchuck5081
@andreiosypchuck5081 3 жыл бұрын
Dude, I spent like three hours trying to make gcc link everything correctly. Wish I saw your comment earlier...
@gower1973
@gower1973 3 жыл бұрын
For anyone who might getting an unresolved symbol error from the linker, make sure your preprocessor line is written like this "GLEW_STATIC;_MBCS;%(PreprocessorDefinitions)" somehow I got mine messed up when entering the text.
@amankharb2401
@amankharb2401 6 жыл бұрын
I'm using GLAD and when trying to print the version of OpenGl, I first need to check if GLAD loaded properly or not. If I don't check it then it shows an exception. Why's that because I've already included GLAD and I'm just checking it? Shouldn't it get access to the function since I've included it?
@echoanatolia5721
@echoanatolia5721 4 жыл бұрын
Where those marvelous sounds are coming from ? I really need to find them ! Please share us
@ramikassyoussef6310
@ramikassyoussef6310 5 жыл бұрын
Great video! I have an OpenGl 4.6 question Atomic Counters work fine when I use integrated graphics but when I use my nvidia geforce 920m running latest drivers I get random values from my buffer when I execute my compute shaders! So frustrating and I have not found anything regarding this on the internet
@yeumkyuseok
@yeumkyuseok 3 жыл бұрын
thank you so much
@muhammadtaimourafzal5285
@muhammadtaimourafzal5285 3 жыл бұрын
oh my god. i Leaaaaaaaarned so much . thank you
@KavehMagaura
@KavehMagaura 6 жыл бұрын
Looks, good, but it would be nice if the videos would be numbered ;)
@umbertoarmani3249
@umbertoarmani3249 6 жыл бұрын
Great video! Can you explain in the future what LNK4098 and LNK4099 warnings are? I keep getting them the first time I build something - on subsequent buildings, they just don't show up and everything looks fine
@learnsoftwareengineering6975
@learnsoftwareengineering6975 6 жыл бұрын
I believe you are referring to a warning that just says you don't have the file used for debugging which for glew you don't. This shouldn't cause any long-term issues and just mean if you debug you cant inspect glew functions. I could be thinking of something else. If you get those, do a cleaan and rebuild of project.
@deltav9784
@deltav9784 5 жыл бұрын
@@learnsoftwareengineering6975 I have got this warning (4098), and once I used glewInit() I got an error saying that it was an unresolved external symbol or something.
@bryanswaggbeast8194
@bryanswaggbeast8194 2 жыл бұрын
How do you know all of this stuff? Did you go to school or simply everything from documentation?
@awuuwa
@awuuwa 4 жыл бұрын
how much power it takes if you want to draw 2 073 600 one by one, i mean, can you do that at least 60 times sec with average pc?
@sashamuller9743
@sashamuller9743 3 жыл бұрын
i got nervous when i didn't get that linker error lol
@aryanparekh9314
@aryanparekh9314 3 жыл бұрын
I absolutely love your videos, please don't stop. If you do you will make about 200,000 people very sad
@tristunalekzander5608
@tristunalekzander5608 3 жыл бұрын
When I opened my directories all the .lib files I included last time were replaced with a "different options" thing and the I had to reenter everything in.
@puppergump4117
@puppergump4117 2 жыл бұрын
Every time I try to do exactly what you showed I get LNK2001 error for unreferenced glfw functions. Everything is fine and builds properly until I use a glfw or glew function.
@johnsknows3135
@johnsknows3135 Жыл бұрын
thx sir!!
@frosty7674
@frosty7674 2 жыл бұрын
"we don't talk about OpenGL 1.0 around here"
@jeanettefroderberg7271
@jeanettefroderberg7271 5 жыл бұрын
Hi everyone, as many others I have the LNK1104: cannot open file 'glew32s.lib' problem. I've looked about a thousand times, so my directory's are set correctly but I'm still getting the same problem. Any ideas? Also I had to change the header directory (shouldn't make an impact on the library linking) to lead straight to the header files and not the GL map and include manually from one directory up.
@urealaden3837
@urealaden3837 3 жыл бұрын
If anyone else ran into this error I ended up having the same issue. Turns out that when setting additional library dependencies, i typed $(Solution) instead of $(SolutionDir). That fixed the link error for me
@sivaramannies8260
@sivaramannies8260 5 жыл бұрын
I am trying to display a triangle in my Qopenglwidget window in Qt GUI Application using openGL. I am getting this error dependencies\glew-2.1.0\include\gl\glew.h(85): fatal error C1189: #error: gl.h included before glew.h (compiling source file GuiApplication.cpp) can anyone tell how can i solve this error?
@cptray-steam
@cptray-steam 2 жыл бұрын
lol 'We don't talk about that..." :D I finished the tutorial XD
@lodostic1015
@lodostic1015 3 жыл бұрын
this is hard af idek what else to say
@lodostic1015
@lodostic1015 3 жыл бұрын
@@abdulwahabjag thx alot bro i actually didn't give up it is just that it was kinda confusing but i kept trying again and again and it worked it is a very happy moment when your code works after trying very hard and thank you again :)
@lodostic1015
@lodostic1015 3 жыл бұрын
@@abdulwahabjag yes I will gl to you too on what ever you're working on rn I hope u will be successful
@bimDe2024
@bimDe2024 2 жыл бұрын
vcpkg could save all this hardwork of linking manually
@hichamwarryor3547
@hichamwarryor3547 3 жыл бұрын
Thanks for the tutorial Exaخtly 😂😂😂
@CodewithPosidoon
@CodewithPosidoon 5 жыл бұрын
i have these error unresolved external symbol glewInit referenced in function main how can i solve it
@diamondcreeper0982
@diamondcreeper0982 3 жыл бұрын
IDK what compiler/IDE you are using but you have to link the libraries to resolve the errors.
@techtycho4752
@techtycho4752 3 жыл бұрын
My brain melted, I just learned macros yesterday, I am bad at C++, It is literally nerdy looking code. C# is kinda more concise and clean ya know!
@alonepoptart24_6
@alonepoptart24_6 4 күн бұрын
yeah cuz c++ is low level and c# is high level
@rockerirwin
@rockerirwin 6 жыл бұрын
are you gonna go a vulkan tutorial ?
@BobBeatski71
@BobBeatski71 2 жыл бұрын
Can openGL draw straight lines of a defined width ? Is it possible to have a uniform global illumination (like a cad 2d drawing) ?
@tomjesten3945
@tomjesten3945 2 жыл бұрын
OpenGL "can" do this, but you have to do the implementation yourself. If you just want to draw lines, you should take a look at Windows GDI.
Vertex Buffers and Drawing a Triangle in OpenGL
20:06
The Cherno
Рет қаралды 366 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 46 М.
CAN YOU HELP ME? (ROAD TO 100 MLN!) #shorts
00:26
PANDA BOI
Рет қаралды 36 МЛН
Using Libraries in C++ (Static Linking)
18:43
The Cherno
Рет қаралды 424 М.
Setting up OpenGL and Creating a Window in C++
22:03
The Cherno
Рет қаралды 788 М.
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 74 М.
Making Simple Windows Driver in C
7:26
Nir Lichtman
Рет қаралды 303 М.
100 Hours Of Graphics Programming
6:48
Tantan
Рет қаралды 143 М.
How I Became a Sea of Thieves Developer
8:05
Zyger
Рет қаралды 137 М.
I Rewrote This Entire Main File // Code Review
16:08
The Cherno
Рет қаралды 104 М.
fixing my old game engine that apparently doesn't work
13:56
The Cherno
Рет қаралды 75 М.