Lua游戲AI編程入門(影印版)

Lua游戲AI編程入門(影印版)
定價:408
NT $ 355
  • 作者:DAVID YOUNG
  • 出版社:東南大學出版社
  • 出版日期:2016-01-01
  • 語言:簡體中文
  • ISBN10:756416090X
  • ISBN13:9787564160906
  • 裝訂:328頁 / 普通級 / 1-1
 

內容簡介

游戲AI很容易被划分成各種組件,如決策、動畫處理和策略,但如果想要在AI和差勁的AI之間達成平衡,就需要考慮各個系統之間的權衡和交互。《Lua游戲AI編程入門(影印版)(英文版)》首先引入了AI沙盒,介紹、實現並擴展了游戲A I中各個方面。隨后你會學習到如何利用諸如Ogre 3D、Bullet Physics、Opetlsteer、Recast、Detour、Lua這類開源庫來創建一個AI沙盒,這些基礎代碼可進行擴展及改進。

通過逐步講解的方式來完成從基本造型移動到完整的士兵動畫的學習。閱讀完《Lua游戲AI編程入門(影印版)(英文版)》之后,你將能夠實現一個可以導航、探路、管理動畫回放、通信、感知周邊環境的AI。

楊(Dayid Young),是一名在游戲界工作的專業軟件工程師。他最初就職於美國國家航空航天局NASA的深空網絡,隨后進入噴氣推進實驗室從事「好奇」號探測車任務。Dayid目前在南加州大學攻讀博士學位,致力於實時毛發渲染及模擬領域的圖形研究工作。
 

目錄

Preface

Chapter 1:Gettinq Started with Al Sandbox
Introduction to Al sandbox
Understanding the sandbox
The project Iayout
The Premake build
Compiling the sandbox with VisuaI Studio 2008/201 0/201 2/201 3
Open source Iibraries
Open source tools
Lua IDE—Decoda
Running AI sandbox inside Decoda
Setting up a new Decoda project
Debugging Lua scripts
Decoda Watch window
Decoda Call Stack window
The Decoda VirtuaI Machines window
Simultaneous Lua and C+-I-debugging
VisuaI Studio—Attach to Process
Decoda——Attach to Process
Decoda..Attach System Debugger
Associating Lua scripts from code with Decoda
The Lua virtuaI machine
The Lua stack
Lua primitives
Metatables
Metamethods
Userdata
C/C++calling Lua functions
Lua calling C/C++functions
Function binding
Creating custom userdata
Looking at the vector data type
The demo framework
Ogre
Object-Oriented Input System
SandboxApplication
Sandbox
Agent
Utility classes
Lua binding
Summary

Chapter 2:Creating and Movinq Aqents
Creating a new sandbox project
Setting up the file structure
Extending the SandboxApplication class
Running your sandbox for the first time
Creating a new Decoda project
Configuring Decoda。S run executable
Creating a sandbox Lua script
Creating a floor
Adding a Iight
Adding a skybox
Adding meshes to the sandbox
Creating sandbox objects
Shooting blocks
Creating an agent Lua script
Creating a visual representation
Updating an agent position
Updating an agent orientation
Agent properties
Orientation
The forward axis
The leftaxis
The up axis
Location
Position
Size
Height
RadiLJS
……
網路書店 類別 折扣 價格
  1. 新書
    87
    $355