• Complain

Mehta - Learn OpenGL ES For Mobile Game and Graphics Development

Here you can read online Mehta - Learn OpenGL ES For Mobile Game and Graphics Development full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Berkeley;CA, year: 2013, publisher: Apress, Imprint, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Mehta Learn OpenGL ES For Mobile Game and Graphics Development
  • Book:
    Learn OpenGL ES For Mobile Game and Graphics Development
  • Author:
  • Publisher:
    Apress, Imprint
  • Genre:
  • Year:
    2013
  • City:
    Berkeley;CA
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Learn OpenGL ES For Mobile Game and Graphics Development: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learn OpenGL ES For Mobile Game and Graphics Development" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 youll 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 books information invaluable when writing their apps. Youll 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.

Mehta: author's other books


Who wrote Learn OpenGL ES For Mobile Game and Graphics Development? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learn OpenGL ES For Mobile Game and Graphics Development — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learn OpenGL ES For Mobile Game and Graphics Development" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Prateek Mehta Learn OpenGL ES For Mobile Game and Graphics Development 10.1007/978-1-4302-5054-8_1 Prateek Mehta 2013
1. Benefits of the New API
Prateek Mehta 1
(1)
New-Delhi, India
Abstract
In this chapter I introduce you to OpenGL ES 2.0, and account for its increasing popularity compared to older graphic rendering APIs for embedded devices. I describe OpenGL ES 2.0s support from computer-graphics communities and leading embedded and mobile device vendors, which helps to ensure its increasing popularity. Finally, I show how easy it is to get started with ES 2.0 on Android devices, when we take our first step towards game development, by creating a blank OpenGL surface view.
In this chapter I introduce you to OpenGL ES 2.0, and account for its increasing popularity compared to older graphic rendering APIs for embedded devices. I describe OpenGL ES 2.0s support from computer-graphics communities and leading embedded and mobile device vendors, which helps to ensure its increasing popularity. Finally, I show how easy it is to get started with ES 2.0 on Android devices, when we take our first step towards game development, by creating a blank OpenGL surface view.
This chapter assumes you have some experience of setting up Android Software Development Kit (SDK) for Eclipse and installing SDK Platform for various API levels from SDK Manager.
Modern Graphic-rendering API
OpenGL ES (Open Graphics Library for Embedded Systems) is an API (Application Programming Interface) for rendering 3D graphics on embedded devices, such as mobiles, tablets, and gaming consoles.
The OpenGL ES 1.0 and ES 1.1 APIs (referred to jointly as OpenGL ES 1.x) were released by the non-profit Khronos Group as a fixed-function graphic-rendering API. OpenGL ES 1.x API does not provide graphics application developers full access to underlying hardware, because most rendering functions in this API are hard-coded, leading to popular namesfixed-function graphic rendering API or fixed-function pipeline.
Unlike OpenGL ES 1.x API, OpenGL ES 2.0 API was released as a programmable graphic-rendering API (programmable pipeline), giving developers full access to the underlying hardware through shaders (discussed in ).
Graphics rendered through a fixed-function pipeline involve device-provided algorithms for most rendering effects. These algorithms (and the rendering functions based on them) cannot be modified. They are fixed because they were made for special purpose graphics cards, for a specific data-flow. Because of the fixed functionality of OpenGL ES 1.x API, graphics hardware could be optimized for faster rendering.
In contrast, a programmable graphic-rendering API is a more flexible API and requires a general purpose graphics card, enabling graphic developers to unleash the huge potential of modern GPUs. Technically, the programmable pipeline is slower than the fixed function pipeline; however, graphics rendered using the programmable pipeline can be greatly enhanced because of flexibility offered by new general purpose graphics cards. OpenGL ES 2.0 combines GLSL ( OpenGL Shading Language ) with a modified subset of OpenGL ES 1.1 that has removed any fixed functionality. discusses OpenGL Shading Language.
Note
GLSL is the OpenGL Shading Language for programming vertex and fragment shaders. Shaders are programs in programmable pipelines that help users work on two separate aspects of object rendering: vertex marking and color filling.
With OpenGL ES 2.0, enhancements in various effects, such as lighting/shading effects (as shown in Figure a basic shading example), no longer have any restrictions, compared to ES 1.x. What is required is transformation of creative ideas for any such effects into algorithms, then into custom functions executed on the graphics card, which would be impossible in ES 1.x.
Figure 1-1 ADS Ambient Diffuse Specular shading in OpenGL ES 20 OpenGL - photo 1
Figure 1-1.
ADS (Ambient Diffuse Specular) shading in OpenGL ES 2.0
OpenGL ES 2.0 is derived from the larger OpenGL 2.0 API, the programmable pipeline for rendering 3D graphics on desktops. ES 2.0 is a suitable subset of OpenGL, optimized for resource constrained display devices, such as mobiles, tablets, and gaming consoles. ES 2.0 contains only the most useful methods from OpenGL 2.0 API, with redundant techniques removed. This allows OpenGL ES 2.0 on handheld devices to deliver rich game content like its parent API.
Devices Love It
As of October 1, 2012, more than 90% of all Android devices were running version 2.0 of OpenGL ES. Devices running version 2.0 are also capable of emulating version 1.1. However, an activity in Android cannot use both versions together, stemming from the fact that OpenGL ES 2.0 API is not backwards compatible with ES 1.x. Note that, although an activity cannot use both versions together, an application can still use them together. (Information about OpenGL ES version distribution across Android devices is available at shows a chart representing that distribution.)
Note
To demonstrate the use of both ES 1.x and ES 2.0 APIs in an application, the GLES ACTIVITY application is provided in the source code for this chapter. This application contains activities Main and Second . The Main activity uses ES 1.x, whereas the Second activity uses ES 2.0. To load this application into your Eclipse workspace, under File Menu, select Import, and then import the archive file glesactivity.zip from the Chapter1 folder.
Figure 1-2 OpenGL ES version distribution OpenGL ES 20 constitutes such a - photo 2
Figure 1-2.
OpenGL ES version distribution
OpenGL ES 2.0 constitutes such a huge share of distribution (Figure .) The following vendors have actively participated in consolidating support for OpenGL ES 2.0 on Android since 2010:
(Leading GPU manufacturers)
  • NVIDIA
  • AMD
  • Imagination Technologies
(Leading CPU manufacturers)
  • ARM
  • Texas Instruments
  • STMicroelectronics
Implementer companies make use of the Khronos developed technologies at no cost in license fees. However, they do not claim that a product is compliant, unless the technologies enter and pass conformance testing. The following are the implementers of OpenGL ES 2.0 for various embedded devices:
  • Intel
  • Marvell
  • NVIDIA
  • Creative Technology Ltd.
  • QUALCOMM
  • MediaTek Inc.
  • Apple, Inc.
  • NOKIA OYJ
  • Digital Media Professionals
  • Panasonic
Note
Although most embedded platforms are up and running with OpenGL ES 2.0, the Khronos Group announced on August 6th, 2012, the release of the OpenGL ES 3.0 specification, bringing significant functionality and portability enhancements to OpenGL ES API. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally add new visual features to applications. The full specification and reference materials are available for immediate download at http://www.khronos.org/registry/gles/ .
Easy App Development: Lets Create an OpenGL Surface View
ES 2.0 applications can be easily developed for Android devices using the Android SDK. The best part about creating such applications using this SDK is that there is no need for any external library (something that can be quite burdensome for new ES 2.0 application developers on iPhone).
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learn OpenGL ES For Mobile Game and Graphics Development»

Look at similar books to Learn OpenGL ES For Mobile Game and Graphics Development. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learn OpenGL ES For Mobile Game and Graphics Development»

Discussion, reviews of the book Learn OpenGL ES For Mobile Game and Graphics Development and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.