Learn OpenGL: Beginner's guide to 3D rendering and game development with OpenGL and C++
暫譯: 學習 OpenGL:使用 OpenGL 和 C++ 的 3D 渲染與遊戲開發初學者指南
Frahaan Hussain
- 出版商: Packt Publishing
- 出版日期: 2018-08-31
- 售價: $1,390
- 貴賓價: 9.5 折 $1,321
- 語言: 英文
- 頁數: 208
- 裝訂: Paperback
- ISBN: 1789340365
- ISBN-13: 9781789340365
-
相關分類:
C++ 程式語言、OpenGL
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$1,670$1,587 -
$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,390$3,221
商品描述
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++ 基礎,以理解和應用本書的概念。
目錄
- 設置 OpenGL
- 繪製形狀和應用紋理
- 變換、投影和相機
- 照明、材質和光照圖的效果
- 光源類型和光的組合
- 使用立方體映射實現天空盒
- 模型加載