Learning Game Physics with Bullet Physics and OpenGL
暫譯: 使用 Bullet Physics 和 OpenGL 學習遊戲物理學
Chris Dickinson
- 出版商: Packt Publishing
- 出版日期: 2013-10-25
- 售價: $1,360
- 貴賓價: 9.5 折 $1,292
- 語言: 英文
- 頁數: 126
- 裝訂: Paperback
- ISBN: 1783281871
- ISBN-13: 9781783281879
-
相關分類:
OpenGL、物理學 Physics
海外代購書籍(需單獨結帳)
商品描述
Practical 3D physics simulation experience with modern feature-rich graphics and physics APIs
Overview
- Create your own physics simulations and understand the various design concepts of modern games
- Build a real-time complete game application, implementing 3D graphics and physics entirely from scratch
- Learn the fundamental and advanced concepts of game programming using step-by-step instructions and examples
In Detail
Physics simulation is an integral part of almost all game development projects as it is essential to the rules and feel of the game (gameplay) regardless of the project's scale. Bullet is a 3D Collision Detection and Rigid Body Dynamics Library for games, and special effects for film and animations. Bullet is integrated into many 3D modelers including Maya, Houdini, Cinema 4D, LightWave, and Blender. It is free for commercial use and open source under the permissive ZLib License.
A comprehensive guide to start building games with the Bullet Physics library. Learn how modern physics engines work by implementing key features such as collision event systems, user input handling, and simulation of soft bodies. Then learn to control it all with forces, constraints, and robust object management. This book will reveal what's going on under the hood of two modern and feature-rich graphics and physics APIs; OpenGL and Bullet Physics.
This book begins by teaching you to write your first OpenGL application, and then dives in to exploring the many features of the Bullet library in a straightforward manner. Each new feature expands upon the last, teaching you more about how physics is simulated in a video game, and how Bullet gives you the power to control every aspect of your simulation. You will learn how to render simple and complex shapes, apply some basic lighting, and construct a simple yet robust rendering system. From here, you will pull back the veil to see what's going on underneath Bullet Physics, and learn to implement key game logic features through this widely-used and extensive physics library. After you finish this book, you'll be armed with a wealth of knowledge to tackle the more advanced aspects of game graphics and physics going forward.
What you will learn from this book
- Develop game applications from scratch; create a window, render the scene, and interact with your game through mouse and keyboard input
- Write OpenGL code at a low-level; render objects and understand every line of code you write!
- Understand how to keep the graphical and physical components of the simulation isolated for ease of understanding and future changes
- Learn how to properly handle the rendering and physics processing of multiple objects
- Explore the technologies and concepts behind modern game physics simulation through a practical understanding of Bullet Physics and OpenGL
- Build crucial features that are essential to all games; collision events, user input, object control, and trigger volumes
- Implement advanced physics simulation features like soft body physics, constraints, and collision filtering
- Delve into a robust and modern physics engine game; and understand the challenges and solutions the developers of Bullet built into the library
Approach
A comprehensive set of straight-forward, easy-to-follow tutorials in OpenGL and Bullet Physics that will teach you how modern game physics and 3D graphics work.
商品描述(中文翻譯)
實用的 3D 物理模擬體驗,搭配現代功能豐富的圖形和物理 API
概述
- 創建自己的物理模擬,理解現代遊戲的各種設計概念
- 從零開始構建一個實時完整的遊戲應用程序,完全實現 3D 圖形和物理
- 通過逐步指導和範例學習遊戲編程的基本和進階概念
詳細內容
物理模擬是幾乎所有遊戲開發項目的重要組成部分,因為它對遊戲的規則和感受(遊玩體驗)至關重要,無論項目的規模如何。Bullet 是一個用於遊戲的 3D 碰撞檢測和剛體動力學庫,還可用於電影和動畫的特效。Bullet 被整合進許多 3D 建模工具中,包括 Maya、Houdini、Cinema 4D、LightWave 和 Blender。它對商業用途免費,並在寬鬆的 ZLib 許可下開源。
這是一本全面的指南,幫助你開始使用 Bullet Physics 庫構建遊戲。通過實現關鍵功能,如碰撞事件系統、用戶輸入處理和軟體體模擬,來學習現代物理引擎的工作原理。然後學習如何通過力量、約束和穩健的物件管理來控制所有這些。這本書將揭示 OpenGL 和 Bullet Physics 這兩個現代且功能豐富的圖形和物理 API 的內部運作。
本書首先教你編寫第一個 OpenGL 應用程序,然後以簡單明瞭的方式深入探索 Bullet 庫的許多功能。每個新功能都在前一個基礎上擴展,讓你更深入了解物理在視頻遊戲中的模擬方式,以及 Bullet 如何讓你控制模擬的每個方面。你將學會如何渲染簡單和複雜的形狀,應用一些基本的照明,並構建一個簡單而穩健的渲染系統。接著,你將揭開 Bullet Physics 的面紗,了解其底層運作,並學會通過這個廣泛使用且功能強大的物理庫實現關鍵的遊戲邏輯功能。完成本書後,你將擁有豐富的知識,能夠應對未來遊戲圖形和物理的更高級方面。
你將從本書中學到的內容
- 從零開始開發遊戲應用程序;創建窗口、渲染場景,並通過滑鼠和鍵盤輸入與遊戲互動
- 以低級別編寫 OpenGL 代碼;渲染物件並理解你所寫的每一行代碼!
- 理解如何保持模擬的圖形和物理組件隔離,以便於理解和未來的更改
- 學習如何正確處理多個物件的渲染和物理處理
- 通過對 Bullet Physics 和 OpenGL 的實踐理解,探索現代遊戲物理模擬背後的技術和概念
- 構建所有遊戲所需的關鍵功能;碰撞事件、用戶輸入、物件控制和觸發體積
- 實現高級物理模擬功能,如軟體體物理、約束和碰撞過濾
- 深入了解一個穩健且現代的物理引擎遊戲;理解 Bullet 開發者在庫中構建的挑戰和解決方案
方法
一套全面的、簡單易懂的 OpenGL 和 Bullet Physics 教學,將教你現代遊戲物理和 3D 圖形的運作方式。