C++ OpenGL 3D Game Tutorial 2: Making OpenGL 3D Engine

preview_player
Показать описание


DESCRIPTION:
Hello everyone, and welcome back to the OpenGL 3D Game Tutorial Series.

In this second episode we will face the making of the Cross-Platform 3D Engine for our 3D Game! In particular we will see how to initialize OpenGL through the Glad library, how to send draw commands to the GPU through the OpenGL Context and as last thing we will see how to use the first OpenGL functions to clear the content of our window with a specific color.
Also, from this episode onwards, we will support all the main Operating Systems, so Windows, Linux and macOS!

TOOLS:

-----------------------------------------------------------------------------------------------------------------

Chapters:
0:56 Requirements
1:27 Design
4:46 Implementation
45:09 Final Result
46:35 Final Result on macOS (and Linux)
47:22 End
Рекомендации по теме
Комментарии
Автор

Mr. PardCode, I am very glad that this series is cross platform. I was watching with interest your series on directx. However I switched to Linux so this time I am very hyped about cross platform programming for c++ and opengl. Keepung the content short, I am very glad for this series and god bless you for your great teaching. I learned a lot from you and looking forward to more!

yadsarwat
Автор

When will you continue with the game engine development series? I really miss that stuff and I was hoping to see more videos regarding this series and even much more often. Anyway you're doing a great job.Keep going

mihairadita
Автор

Hy i have a plan of a game and i need a game engine like moontone eingine of mobile legend game so can you show how can i create it by a tutarial?

IftekharTechBD
Автор

Great video although i feel like writing code to then just delete it/ replace it later is diminishing returns. atleast comment it out so that we understand what we did before hand.

VoidsEmbrace
Автор

Hello, near ~33 minute you have pointed out, that the output log should print information about graphics driver being unloaded. Sadly, in my case there's only message on load, and unload is missing, and I'm a bit worried, that I have missed something in the code (like some leak or something). Im looking for some help. Thans in advance, you create great stuff.

cruzaofdeath
Автор

Im having a problem, and when i execute the game, it sends me a debug error: abort() has been called. How can i fix it?

tonianino
Автор

I had a hard time following this, why did you copy the window code from the window file to the graphics file and then create a second dummy window, only to delete it at the end of the constructor? and then do some other window stuff back in the window file.

gower
Автор

I have a problem. After clicking Local Windows Debugger, My computer say's "There were build errors. Would you like to continue and run the last successful build?". If I click no, my program does not run, but if I click yes, I get this error, "k:\3dgarphicsjavidx9\OpenGLGame\x64\Debug\OpenGLGame.exe The system cannot find the file specified.". Can you please help?

lead
Автор

So i'm trying to add the vendor folder but it only adds the .h & .c files, underneath the 64x files and i can't drag them anywhere. There's also a blue square with an arrow on the icon for the files. Cheers

georgerthacker
Автор

Thanks for the tutorial, I just got a problem here: the main process doesn't end itself after the window is closed. Did some debugging and found out that the WM_CLOSE message can never be received. Any ideas could help.

tomchu
Автор

I'm waiting for how you will implement the GUI like buttons menus contexte menus etc... Can we use WPF ?

Xphy
Автор

Hi from colombia: 8:39 -> is better
MSG msg;
while (m_isRunning)
{
msg = {};

Cuz we cant define varible type message for each frame
If u want define variable type try to do that out of cicle while

thank for your work is awesome

stcpimus
Автор

I used some pieces of your code (not everything), do you have copyright on certain parts of your code?

charli_rl
Автор

Ok. I got problem with wglChoosePixelFormatARB - she trows exception "Access violation executing location"(((

eyrpbln
Автор

Could anyone help me? 7:26 when he writes msg.message, it says message isn't defined!

Theamigos-zlnr
Автор

Dear sir, I am stuck at the clone and copy of the glad library and need your help to explain further.

teohongkeng
Автор

hey man...
i got 2 LNK2019 error over there...

i included opengl32.lib to the project, and all the includes that you included in the video, but still i got those two errors and i don't know why....

imblark
Автор

i spend a entire day trying to resolve a typing error

capivaraMaster
Автор

why didn't you bother showing how you cloned the repository ? i just wasted an hour of my time trying to get the specific vendor folder in the project.

VoidsEmbrace
Автор

well i guess i cant continue learning open gl on your channel because youre too lazy to add a crucial step ..

VoidsEmbrace