Learn to set up an OpenGL window using GLFW and the OpenGL API
Learn programming with modern OpenGL
Description
This course will introduce you to modern OpenGL programming. We’ll teach you a brief history of OpenGL to help you understand why we chose to teach modern OpenGL with its programmable rendering pipeline over the fixed function pipeline.
We’ll begin with the basics of getting OpenGL running in a window using the GLFW library. Then we move on to the basics of rendering polygons to the display by sending buffers of data to the computers graphics card and programming it using shaders with the GLSL shading language. Then you’ll learn how to map textures to your objects. You'll also set up a virtual camera using keyboard and mouse inputs to enable you to move around in the scene.
After you have the fundamentals working, you can start building more complex things. You’ll learn how to load 3D models and add interesting lighting to the scene. By the end of this course, you’ll know how to set up and render in 3D with modern OpenGL. With each lesson, we’ll build the framework with reusable C++ and OpenGL code. This is a great starting place for you to build your own game engine.
We’ll start with a blank project and write code each step of the way. Each lesson builds on the last. Even if you’ve never touched OpenGL, you should find the course easy to follow and everything is explained along the way. All the source code, pre-built third-party libraries, and Visual Studio solutions for each lesson are included are placed at https://github.com/PacktPublishing/Learn-Modern-OpenGL-Programming
Who is this book for?
People who wish to learn modern OpenGL and its programmable rendering pipeline. Whether you’re trying to learn OpenGL for school, in the pursuit of a career, or simply looking for a hobby, this course will be perfect for you.
What you will learn
Learn a practical level of programming with modern OpenGL
You will learn how to set up an OpenGL window using GLFW and the OpenGL API
You will learn how to write GLSL shaders that program your PCs video card for hardware accelerated graphics
You will learn how to render simple textured rectangles to complex 3D models with realistic lighting
You will learn different types of lighting to make the models look more realistic
You will learn how to set up and control a virtual camera to move around and view objects in the 3D scene
How can I download a video package for offline viewing?
Login to your account at Packtpub.com.
Click on "My Account" and then click on the "My Videos" tab to access your videos.
Click on the "Download Now" link to start your video download.
How can I extract my video file?
All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.
How can I get help and support around my video package?
If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.
Video
Format watched (HTML, MP4, streaming)
Chapter or section that issue relates to (if relevant)
System being played on
Browser used (if relevant)
Details of support
Why can’t I download my video package?
In the even that you are having issues downloading your video package then please follow these instructions:
Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.