Learn OpenGL ES: For Mobile Game and Graphics Development (Paperback)

Prateek Mehta

買這商品的人也買了...

商品描述

Want to create sophisticated games and graphics-intensive apps? Learn OpenGL ES gets you started immediately with OpenGL ES.  After mastering the basics of OpenGL ES itself, you will quickly find yourself writing and building game apps, without having to learn about object oriented programming techniques.







This book demonstrates the use of a powerful open-source modeling tool, Blender. You will be guided, step by step, through the development of Tank Fence, a dynamic, interactive 3D game. Along the way you'll gain skills in building apps with Eclipse and the Android SDK or NDK, rendering graphics using hardware acceleration, and multithreading for performance and responsiveness. iOS developers will also find this book's information invaluable when writing their apps.







You'll learn everything you need to know about:







  • Creating simple, efficient game UIs
  • Designing the basic building blocks of an exciting, interactive 3D game
  • Pulling all the elements together with Blender, a powerful open-source tool for modeling, animation, rendering, compositing, video editing, and game creation
  • Taking the next big step using custom and inbuilt functions, texturing, shading, light sources, and more
  • Refining your mobile game app through collision detection, player-room-obstacle classes, and storage classes
  • Doing all this efficiently on mobile devices with limited resources and processing

What you’ll learn

  • How to install and use OpenGL ES 2.0 on Android
  • GLSL ES Fundamentals
  • State Management
  • Modeling 3D Objects Using Blender
  • Using the Perl Mesh Parser
  • Vertex Buffer Objects
  • Using Color Masks
  • sampler2D and samplerCube Uniforms
  • Multi-Texturing
  • Lambert Illumination Model
  • Implementing the Lighting Equation
  • Design, write, and build Tank Fence, an interactive 3D game

    Who this book is for

    Learn OpenGL ES is ideal for mobile game and interactive app developers who want to know more about the OpenGL ES engine and and use it to build more sophisticated, graphically-rich games and other apps. While the code is developed on Android, iOS developers will also find this book invaluable.



    Table of Contents

    1. Why OpenGL ES?



    2. UI for games: Keep it simple



    3. First Steps:  Mobile Game App Development



    4. 3D Modeling



    5. Functions, Shading, Light Source and Objects



    6. Carrying Further: Collision Detection

    商品描述(中文翻譯)

    想要創建複雜的遊戲和圖形密集型應用程式嗎?《Learn OpenGL ES》將立即讓您開始使用OpenGL ES。在掌握了OpenGL ES的基礎知識之後,您將迅速開始編寫和構建遊戲應用程式,而無需學習面向對象的編程技巧。

    本書演示了一個強大的開源建模工具Blender的使用。您將逐步指導開發動態、互動的3D遊戲Tank Fence。在此過程中,您將學習使用Eclipse和Android SDK或NDK構建應用程式、使用硬體加速渲染圖形,以及使用多線程實現性能和響應性。iOS開發人員在編寫應用程式時也會發現本書的信息非常有價值。

    您將學到以下所有知識:

    - 創建簡單高效的遊戲用戶界面
    - 設計令人興奮、互動的3D遊戲的基本構建塊
    - 使用Blender這個強大的開源工具進行建模、動畫、渲染、合成、視頻編輯和遊戲創建
    - 進一步使用自定義和內建函數、紋理、著色、光源等
    - 通過碰撞檢測、玩家-房間-障礙物類和存儲類來完善您的移動遊戲應用程式
    - 在資源和處理能力有限的移動設備上高效執行所有這些操作

    您將學到以下內容:

    - 如何在Android上安裝和使用OpenGL ES 2.0
    - GLSL ES基礎知識
    - 狀態管理
    - 使用Blender建模3D物體
    - 使用Perl Mesh解析器
    - 頂點緩衝對象
    - 使用顏色遮罩
    - sampler2D和samplerCube統一
    - 多紋理
    - Lambert照明模型
    - 實現照明方程
    - 設計、編寫和構建互動的3D遊戲Tank Fence

    本書適合移動遊戲和互動應用程式開發人員,他們想要了解更多關於OpenGL ES引擎並使用它來構建更複雜、圖形豐富的遊戲和其他應用程式。雖然代碼是在Android上開發的,但iOS開發人員也會發現本書非常有價值。

    目錄:

    1. 為什麼選擇OpenGL ES?
    2. 遊戲的用戶界面:保持簡單
    3. 第一步:移動遊戲應用程式開發
    4. 3D建模
    5. 函數、著色、光源和物體
    6. 進一步:碰撞檢測