Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 316 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
316
Dung lượng
10,75 MB
Nội dung
[...]... Touch and iPad simulator, which you can use to develop and test your application And it is fully compatible with everything contained in this book If you are planning to develop for Android, what you need is a Mac or a PC with an operating system that is supported by the Android SDK (for more information, visit http://developer .android com) Also, you will need an Android device with OpenGLES 2.0 support,... Graphics ProgrammingforiOSand Android withOpenGLES2.0 This book is not your usual OpenGL Hello Triangle” book — it’s not meant to explain the “why” (Google is there for that), but rather, to show you the “how.” This book will strictly teach you what works and what doesn’t when it comes to game andgraphicsprogramming Using more than 50 unique tutorials (which also include some full game frameworks),... can post new messages and respond to messages other users post You can read messages at any time on the Web If you would like to have new messages from a particular forum e-mailed to you, click the Subscribe to this Forum icon by the forum name in the forum listing For more information about how to use the Wrox P2P, be sure to read the P2P FAQs for answers to questions about how the forum software... book ForAndroid Developers To set up your environment for Android, it is unfortunately not as easy as foriOS First go to http://developer .android. com/sdk/installing.html and follow the instructions to install the Android SDK, Eclipse, and the ADT plug-in Please note that the Android SDK version used for this book was v2.3.4, but later versions should also work as well All the code in this book uses... Specify the location of the Android NDK c01.indd 3 12/31/11 8:53:33 AM 4 ❘ CHAPTER 1 GETTING STARTED Congratulations — your Android development environment is now all set! However, please note that in order to use this book withAndroid you will need an actual device withOpenGLES2.0 support The emulator provided by the Android SDK supports only OpenGLES 1.x, not OpenGLES2.0 So local deployment on... how to work with this book’s template project and walk you through three progressive exercises In these exercises, you will learn how to manipulate the most common types of graphic projections and draw simple geometry onscreen; handle vertex and fragment shaders and link them to a shader program; manipulate vertex attributes and uniform variables; translate, rotate, and scale basic geometry; and create... while programming games or 3D applications There is plenty enough content in here to get you started with real game andgraphicsprogramming in no time! WHAT YOU NEED TO USE THIS BOOK If you are planning to develop for iOS, all you need is a Mac that can support the latest version of the iOS SDK (for more information, visit http://developer.apple.com) An iDevice is optional since the iOS SDK provides... nal result of a tutorial, open this directory Inside the directory, you can then fi nd at the root the source fi les used by the tutorial (respectively named templateApp.cpp and templateApp.h) and two directories that contain the project fi les for iOSand Android You can then load the project into your IDE and rebuild it from scratch ➤ common: Contains the free and open source GFX 3D engine (the mini game. .. book’s errata page and fi x the problem in subsequent editions of the book P2P.WROX.COM For author and peer discussion, join the P2P forums at p2p.wrox.com The forums are a Web-based system for you to post messages relating to Wrox books and related technologies and interact with other readers and technology users The forums offer a subscription feature to e-mail you topics of interest of your choosing... straightforward practical approach (probably never seen before) that only focuses on what you need to learn to insure that you will be able to create a game You will learn all the necessary elements in order to create a full-fledged gamewith rich 3D graphics If you are looking for an aggressive teaching method that enables you to quickly move forward to create your dream game, this book is for you! . 1/11/ 12 8 :21 :00 AM1/11/ 12 8 :21 :00 AM
Game and Graphics Programming for iOS and Android with OpenGL ES 2. 0
This edition fi rst published 20 12
Copyright 20 12. class="bi x0 y0 w0 h0" alt=""
ffirs.indd iffirs.indd i 12/ 30/ 11 12: 05 :23 PM 12/ 30/ 11 12: 05 :23 PM
GAME AND GRAPHICS PROGRAMMING FOR IOS
AND ANDROID
®
WITH OPENGL
®