Top Banner
Chapter 1: Setting Up OpenGL
46

Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Aug 16, 2019

Download

Documents

votu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 1: Setting Up OpenGL

Page 2: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 3: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 4: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 5: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 6: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 7: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 8: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 9: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 10: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 11: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 12: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 13: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 14: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 15: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 2: Drawing Shapes and ApplyingTextures

Page 16: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 17: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 18: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 3: Transformations, Projections,and Camera

Page 19: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 20: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 21: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 22: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 4: Effects of lighting, Materials andLightmaps

Page 23: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 24: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 25: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 26: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 27: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 5: Types of light sources andcombining of lights

Page 28: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 29: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 30: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 31: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 32: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 33: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 34: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-

Chapter 6: Implementing a Skybox Using aCubemap

Chapter 7: Model Loading

Page 35: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 36: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 37: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 38: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 39: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 40: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 41: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 42: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 43: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 44: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 45: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-
Page 46: Chapter 1: Setting Up OpenGL - static.packt-cdn.com · The OpenGL Extension Wrangler Library (GLEW) is a cross-platform C/C++ extension loading library. GLEW provides efficient run-