OpenGL ES 2 for Android: A Quick-Start Guide (Paperback)

Kevin Brothaler

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2013-07-30
  • 售價: $1,250
  • 貴賓價: 9.5$1,188
  • 語言: 英文
  • 頁數: 346
  • 裝訂: Paperback
  • ISBN: 1937785343
  • ISBN-13: 9781937785345
  • 相關分類: AndroidOpenGL
  • 立即出貨(限量) (庫存=2)

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

商品描述

Android is booming like never before, with millions of devices shipping every day. It's never been a better time to learn how to create your own 3D games and live wallpaper for Android. You'll find out all about shaders and the OpenGL pipeline, and discover the power of OpenGL ES 2.0, which is much more feature-rich than its predecessor. If you can program in Java and you have a creative vision that you'd like to share with the world, then this is the book for you.

This book will teach you everything you need to know to create compelling graphics on Android. You'll learn the basics of OpenGL by building a simple game of air hockey, and along the way, you'll see how to initialize OpenGL and program the graphics pipeline using shaders. Each lesson builds upon the one before it, as you add colors, shading, 3D projections, touch interaction, and more.

Then, you'll find out how to turn your idea into a live wallpaper that can run on the home screen. You'll learn about more advanced effects involving particles, lighting models, and the depth buffer. You'll understand what to look for when debugging your program, and what to watch out for when deploying to the market.

OpenGL can be somewhat of a dark art to the uninitiated. As you read this book, you'll learn each new concept from first principles. You won't just learn about a feature; you'll also understand how it works, and why it works the way it does. Everything you learn is forward-compatible with the just-released OpenGL ES 3, and you can even apply these techniques to other platforms, such as iOS or HTML5 WebGL.

Printed in full color.

商品描述(中文翻譯)

Android正如火如荼地發展,每天都有數百萬台設備出貨。現在是學習如何在Android上創建自己的3D遊戲和動態桌布的最佳時機。您將了解有關著色器和OpenGL管線的所有知識,並發現OpenGL ES 2.0的強大功能,它比其前身更豐富多樣。如果您懂得使用Java並且有創意想與世界分享,那麼這本書就是為您而寫的。

本書將教您在Android上創建引人入勝的圖形所需的一切知識。通過構建一個簡單的空氣曲棍球遊戲,您將學習OpenGL的基礎知識,並了解如何使用著色器初始化OpenGL並編程圖形管線。每一課都建立在前一課的基礎上,您將逐步添加顏色、陰影、3D投影、觸摸交互等功能。

然後,您將了解如何將您的想法轉化為可以在主屏幕上運行的動態桌布。您將學習更高級的特效,包括粒子、照明模型和深度緩衝區。您將了解在調試程序時要注意什麼,以及在部署到市場時要注意什麼。

對於初學者來說,OpenGL可能有些神秘。通過閱讀本書,您將從基本原理開始學習每個新概念。您不僅會了解功能,還會了解其工作原理以及為什麼以這種方式工作。您所學的一切都與剛發布的OpenGL ES 3兼容,甚至可以將這些技術應用於其他平台,如iOS或HTML5 WebGL。

全彩印刷。