Book description
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
- Title Page
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Preface
- Chapter 1: Benefits of the New API
-
Chapter 2: Implementation Prerequisites
- Selecting a Development Device: Why Upgrade to Gingerbread?
- Choosing Inputs That Your Game Needs
- Tank Fence
- Creating Menus for the Game
- Setting Views Using setContentView and addContentView
- Sleek Design of XML Views
- Working with Buttons and the Counter Class
- Using Touch for Rotation
- Rotation Using Android Sensors
- Summary
- Chapter 3: ES 2.0 Fundamentals
- Chapter 4: 3D Modeling
- Chapter 5: Texturing and Shading
- Chapter 6: Taking the Development Ahead
- Index
Product information
- Title: Learn OpenGL ES: For Mobile Game and Graphics Development
- Author(s):
- Release date: August 2013
- Publisher(s): Apress
- ISBN: 9781430250531
You might also like
book
OpenGL ES 2 for Android
Android is booming like never before, with millions of devices shipping every day. It's never been …
book
Game and Graphics Programming for iOS and Android® with OpenGL® ES 2.0
Develop graphically sophisticated apps and games today! The smart phone app market is progressively growing, and …
book
Learning OpenGL ES for iOS: A Hands-On Guide to Modern 3D Graphics Programming
Get Started Fast with Modern OpenGL ES Graphics Programming for iPhone, iPod touch, and iPad OpenGL …
book
Hands-On C++ Game Animation Programming
Learn animation programming from first principles and implement modern animation techniques that can be integrated into …