Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learn OpenGL

You're reading from   Learn OpenGL Beginner's guide to 3D rendering and game development with OpenGL and C++

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789340365
Length 208 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Frahaan Hussain Frahaan Hussain
Author Profile Icon Frahaan Hussain
Frahaan Hussain
Arrow right icon
View More author details
Toc

Index

A

  • ambient lighting /  Ambient lighting

C

  • Camera class
    • adding, to project / Adding a Camera class to the project
    • camera.h header file, creating / Creating a Camera.h header file
    • main.cpp, modifying /   Making modifications to main.cpp
  • cube object
    • adding / Adding an object and a light source
    • code, modifying / Modifying the main code to implement a cube and a light source 

D

  • diffuse lighting / Diffuse lighting
  • directional light
    • about / Directional light, Directional lights
    • code changes, creating / Making changes to main code to integrate directional light in our world
  • Dynamic Link Library (DLL) / Adding a dynamic link library to the project

G

  • GLM
    • used, for transformations / Transformations using GLM
    • used, for setting up project on Windows/Mac / Setting up a project to use GLM on Windows / Mac
    • shader files, updating / Updating shader files
    • transformations, applying to objects / Applying transformations to the objects

H

  • Homebrew
    • about / Downloading the GLFW and GLEW libraries for a Mac
    • URL / Downloading the GLFW and GLEW libraries for a Mac

L

  • lighting.frag shader
    • updating / Updating the lighting.frag shader
  • light maps
    • about / Lightmaps
    • shader files, modifying / Making modifications to shader files
    • code, changing / Changes to the main code to implement lightmaps
    • while loop, modifying / Modifying while loop
  • light sources
    • adding / Adding an object and a light source
    • lamp shader files, creating / Creating  lighting and lamp shader files
    • lighting, creating / Creating  lighting and lamp shader files
    • code, modifying / Modifying the main code to implement a cube and a light source 
    • combining / Combining light
    • directional light / Combining light
    • point light / Combining light
    • spotlight / Combining light
    • shader files, obtaining / Getting the shader files ready 
    • void main of lighting.frag, modifying / Making modifications void main of lighting.frag 
    • code, changing / Changes to the main code

M

  • main.cpp file
    • modifications / Modifications to the main.cpp file
    • texture.h file, creating / Creating the Texture.h file
    • cube mapping code, adding to Texture.h / Adding cube mapping code to Texture.h
    • skybox, drawing / Drawing the skybox
  • materials
    • about / Materials
    • shader files, updating / Updating shader files for Materials
    • code, changing / Making changes to the main code to add materials to our object

N

  • normals / What are normals ?

O

  • objects
    • lighting up / Lighting up objects 
    • shaders, updating / Updating the shaders
    • camera.h, changing / Minor change in Camera.h 
    • code, changing / Making changes to the main code
  • OpenGL Extension Wrangler (GLEW)
    • about / Setting up OpenGL using GLFW and GLEW on Windows, Setting up OpenGL using SDL on Windows
    • used, for setting up OpenGL on Windows / Setting up OpenGL using GLFW and GLEW on Windows
    • libraries, downloading / Downloading the essential libraries, Downloading the SDL and GLEW libraries
    • URL, for downloading / Downloading the essential libraries
    • libraries, linking with absolute linking / Linking GLFW and GLEW libraries with absolute linking
    • libraries, linking with relative linking / Linking GLFW and GLEW libraries with relative linking
    • Dynamic Link Library (DLL), adding / Adding a dynamic link library to the project
    • libraries, downloading for Mac / Downloading the GLFW and GLEW libraries for a Mac
  • OpenGL framework
    • URL / Downloading the essential libraries
  • OpenGL framework (GLFW)
    • used, for setting up OpenGL on Windows / Setting up OpenGL using GLFW and GLEW on Windows
    • libraries, downloading / Downloading the essential libraries
    • libraries, linking with absolute linking / Linking GLFW and GLEW libraries with absolute linking
    • libraries, linking with relative linking / Linking GLFW and GLEW libraries with relative linking
    • Dynamic Link Library (DLL), adding / Adding a dynamic link library to the project
    • used, for setting up OpenGL / Setting up OpenGL using GLFW on a Mac
    • libraries, downloading for Mac / Downloading the GLFW and GLEW libraries for a Mac
    • used, for creating OpenGL rendering window / Creating the OpenGL rendering window using GLFW
  • Open Graphics Library (OpenGL)
    • setting up, GLFW used on Windows / Setting up OpenGL using GLFW and GLEW on Windows
    • setting up, GLEW used on Windows / Setting up OpenGL using GLFW and GLEW on Windows
    • setting up, GLFW libraries used on Mac / Setting up OpenGL using GLFW on a Mac
    • Xcode, setting up / Setting up Xcode for OpenGL
    • rendering window, creating GLFW libraries used / Creating the OpenGL rendering window using GLFW
    • setting up, SDL used on Windows / Setting up OpenGL using SDL on Windows
    • SDL library, downloading / Downloading the SDL library
    • setting up, SDL used with absolute linking / Setting up OpenGL using SDL and GLEW with absolute linking
    • setting up, SDL used with relative linking / Setting up OpenGL using SDL and GLEW with relative linking
    • setting up, GLEW used with relative linking / Setting up OpenGL using SDL and GLEW with relative linking
    • DLL file, adding / Adding a DLL file to the project, Adding a DLL file to the project
    • setting up, SDL used on Mac / Setting up OpenGL using SDL on a Mac
    • Xcode, setting up SDL used / Setting up Xcode for OpenGL using SDL
    • rendering window, creating SDL used / Creating the OpenGL rendering window using SDL
    • setting up, SFML used on Windows / Setting up OpenGL using SFML on Windows
    • setting up, SFML used on Mac / Setting up OpenGL using SFML on a Mac
    • rendering window, creating SFML used / Creating the OpenGL rendering window using SFML
    • triangle, drawing / Drawing a triangle
    • code, adding to draw shape / Adding code to draw the shape

P

  • point light
    • about / Point lights
    • concept / The point light concept
    • diffuse section / The diffuse section
    • specular section / The specular section
    • attenuation section / The attenuation section
    • main.cpp, changes creating / Time for changes in main.cpp
  • projection and coordinate systems
    • about / Projections and coordinate systems
    • code, modifying / Modifications to the code, Modifications to the main code
    • shader files, modifications creating / Making modifications to the shader files
  • projection and coordinate systems, code
    • View Frustum / View Frustum
    • while loop, modifying / Modifications to while loop 
    • orthographic projection / Orthgraphic projection

S

  • shader files
    • creating, for lamp / Creating shader files for the lamp
  • shaders
    • abstracting / Abstracting the shaders
    • files, creating / Creating the shader files
    • Shader.h header file, creating / Creating the Shader.h header file
    • draw triangle code, changes creating / Making changes to the draw triangle code
    • creating, for skybox / Creating shaders for the skybox
  • simple and fast multimedia library (SFML)
    • about / Setting up OpenGL using SFML on Windows
    • used, for setting up OpenGL on Windows / Setting up OpenGL using SFML on Windows
    • library, downloading / Downloading the SFML library
    • library, linking / Linking the SFML and GLEW libraries to the project
    • GLEW library, linking / Linking the SFML and GLEW libraries to the project
    • used, for setting up OpenGL on Mac / Setting up OpenGL using SFML on a Mac
    • used, for creating OpenGL rendering window / Creating the OpenGL rendering window using SFML
  • Simple DirectMedia Layer (SDL)
    • about / Setting up OpenGL using SDL on Windows
    • used, for setting up OpenGL on Mac / Setting up OpenGL using SDL on a Mac
    • downloading / Downloading the SDL and GLEW libraries
    • used, for setting up Xcode / Setting up Xcode for OpenGL using SDL
    • used, for creating OpenGL rendering window / Creating the OpenGL rendering window using SDL
  • specular lighting / Specular lighting
  • spotlight
    • about / Spotlight 
    • shader files, changes creating / Making changes to shader files
    • camera.h, modifying / Minor modification to Camera.h
    • code changes, creating / Making changes to the main code

T

  • textures
    • loading, to shape / Loading and applying textures to the shape
    • applying, to shape / Loading and applying textures to the shape

V

  • vertex array object (VAO) / Drawing a triangle
  • vertex buffer object (VBO) / Drawing a triangle
  • Visual Studio Community 2017 / Downloading the essential libraries

W

  • while loop
    • modifying / Modifications to the while loop
lock icon The rest of the chapter is locked
arrow left Previous Section
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images