Join Pablo Colapinto for an in-depth discussion in this video Rotating, translating, and scaling, part of Learning OpenGL.
-Before we leave Immediate Mode behind for good,…I'd like to show you a little more Legacy OpenGL…so you can recognize it if you see it.…Also, I think it's useful to know exactly what the…Programmable Pipeline that we'll be discussing is replacing.…Here on lines 28 to 38, we've taken our GL begin…and our GL end triangle function and put it…into something called "Draw Triangle."…We've also changed some of…the vertex positions a little bit.…Now, let's take a look at our new draw function.…
Let's ignore lines 45 to 52 for now.…These are called matrix transforms and we dedicate…a whole chapter to that later on.…On lines 55 to 68, we're drawing 10 triangles.…Each time we draw a triangle, we push and pop the GL…matrix stack.…This GL matrix stack, a series of transformations…on vertex positions, is known as the…"Fixed Function Pipeline" and it's what we're going…to be replacing with the Programmable…Pipeline throughout the course.…
We're not going to go into projection matrix modes…and model view matrix modes are right now.…
- What is OpenGL?
- Setting up an OpenGL workflow
- Creating a window with GLFW
- Working with geometric primitives
- Rotating, translating, and scaling
- Understanding matrix transformations
- Creating mesh data structures
- Buffering mesh data
- Getting mouse and keyboard input
Skill Level Intermediate
Q: Why am I getting errors saying I don’t have GLEW installed when I try to create the Xcode projects with Cmake?
1) Download, Install, and Run Xcode
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew install glew
./bootstrap && make && make install
brew install cmake
cd Exercise Filesmkdir xcodecd xcodecmake -G "Xcode" ..