Learn OpenGL: Beginner's guide to 3D rendering and game development with OpenGL and C++ (學習OpenGL:3D渲染與遊戲開發的初學者指南)
Frahaan Hussain
- 出版商: Packt Publishing
- 出版日期: 2018-08-31
- 售價: $1,370
- 貴賓價: 9.5 折 $1,302
- 語言: 英文
- 頁數: 208
- 裝訂: Paperback
- ISBN: 1789340365
- ISBN-13: 9781789340365
-
相關分類:
C++ 程式語言、OpenGL
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,640$1,558 -
$454計算機圖形學, 4/e
-
$1,840$1,748 -
$352自己動手構造編譯系統:編譯、彙編與鏈接
-
$354$336 -
$2,185Vulkan Programming Guide: The Official Guide to Learning Vulkan (Paperback)
-
$500$390 -
$450$405 -
$3,350$3,183
相關主題
商品描述
A step-by-step instructional guide to understanding the fundamentals of game development with OpenGL. Right from the setup to the important features, we'll get a better understanding of games and the engines behind them.
Key Features
- Learn the basics of drawing along with fundamentals of shading to create amazing objects.
- Get in-depth knowledge of lighting and materials to make realistic objects.
- Understand the fundamentals of model loading and cube mapping.
Book Description
Learn OpenGL is your one-stop reference guide to get started with OpenGL and C++ for game development. From setting up the development environment to getting started with basics of drawing and shaders, along with concepts such as lighting, model loading, and cube mapping, this book will get you up to speed with the fundamentals.
You begin by setting up your development environment to use OpenGL on Windows and macOS. With GLFW and GLEW set up using absolute and relative linking done, you are ready to setup SDL and SFML for both the operating systems.
Now that your development environment is set up, you'll learn to draw using simple shaders as well as make the shader more adaptable and reusable. Then we move on to more advanced topics like texturing your objects with images and transforming your objects using translate, rotate and scale.
With these concepts covered, we'll move on to topics like lighting to enable you to incorporate amazing dynamic lights in your game world.
By the end of the book, you'll learn about model loading, right from setting up ASSIMP to learning about the model class and loading a model in your game environment. We will conclude by understanding cube mapping to bring advance worlds to your game.
What you will learn
- Set up GLFW and GLEW on Windows and macOS with absolute, relative Linking
- Set up SDL and SFML on your system using absolute and relative Linking
- Draw using the simple shaders
- Create a camera and learn to populate your game world with objects
- Learn about color and lighting concepts to create an amazing game world
- Understand model loading and cube mapping to advance your game
Who this book is for
This book is targeted towards anyone and everyone who is interested in creating games, learning how game engines work and most importantly for anyone who is interested in learning OpenGL. The ideal reader for this book would be anyone with a passion for learning game development or looking out for an OpenGL reference guide. The skills that you'll learn in this book will be applicable to all your game development needs. You'll require a strong foundation in C++ to understand and apply the concepts of this book.
Table of Contents
- Setting Up OpenGL
- Drawing Shapes and Applying Textures
- Transformations, Projections, and Camera
- Effects of lighting , Materials and Lightmaps
- Types of light sources and combining of lights
- Implementing a Skybox Using a Cubemap
- Model Loading
商品描述(中文翻譯)
一本逐步指導的教學指南,旨在理解使用OpenGL進行遊戲開發的基礎知識。從設置到重要功能,我們將更好地理解遊戲及其背後的引擎。
主要特點:
- 學習繪製基礎知識以及創建驚人物體的著色基礎知識。
- 深入了解照明和材料,以製作逼真的物體。
- 理解模型加載和立方體映射的基礎知識。
書籍描述:
《學習OpenGL》是您開始使用OpenGL和C++進行遊戲開發的一站式參考指南。從設置開發環境到開始繪製和著色器的基礎知識,以及照明、模型加載和立方體映射等概念,本書將使您迅速掌握基礎知識。
您首先需要在Windows和macOS上設置開發環境以使用OpenGL。使用絕對和相對鏈接設置GLFW和GLEW後,您可以為兩個操作系統設置SDL和SFML。
現在,您的開發環境已經設置好,您將學習使用簡單的著色器進行繪製,並使著色器更具適應性和可重用性。然後,我們將進一步探討更高級的主題,例如使用圖像為對象添加紋理以及使用平移、旋轉和縮放來變換對象。
在掌握這些概念後,我們將轉向照明等主題,使您能夠在遊戲世界中加入令人驚嘆的動態燈光。
通過本書,您將學習有關模型加載的知識,從設置ASSIMP到了解模型類和在遊戲環境中加載模型。最後,我們將了解立方體映射,將先進的世界帶入您的遊戲中。
您將學到什麼:
- 在Windows和macOS上使用絕對和相對鏈接設置GLFW和GLEW。
- 使用絕對和相對鏈接在系統上設置SDL和SFML。
- 使用簡單的著色器進行繪製。
- 創建相機並學習如何在遊戲世界中填充物體。
- 了解顏色和照明概念,創建令人驚嘆的遊戲世界。
- 理解模型加載和立方體映射,提升遊戲水平。
本書適合對創建遊戲、了解遊戲引擎運作以及學習OpenGL感興趣的任何人。本書的理想讀者是對學習遊戲開發充滿熱情或尋找OpenGL參考指南的人。本書中所學的技能將適用於您所有的遊戲開發需求。您需要具備扎實的C++基礎,以理解和應用本書的概念。
目錄:
1. 設置OpenGL
2. 繪製形狀和應用紋理
3. 變換、投影和相機
4. 照明效果、材料和光照圖
5. 不同類型的光源和光照組合
6. 使用立方體貼圖實現天空盒
7. 模型加載