Tuesday, October 9, 2012

opengl with android part I

OpenGL 

OpenGL (originally called Open Graphics Library) is a 2D and 3D graphics API that was
developed by Silicon Graphics, Inc. (SGI) for its Unix workstations. Although SGI’s
version of OpenGL has been around for a long time, the first standardized spec of
OpenGL emerged in 1992. Now widely adopted on all operating systems, the OpenGL
standard forms the basis of much of the gaming, computer-aided design (CAD), and
even virtual reality (VR) industries.
The OpenGL standard is currently being managed by an industry consortium called The
Khronos Group (http://www.khronos.org), founded in 2000 by companies such as
NVIDIA, Sun Microsystems, ATI Technologies, and SGI. You can learn more about the
OpenGL spec at the consortium’s web site:
http://www.khronos.org/opengl/

The official documentation page for OpenGL is available here:
http://www.opengl.org/documentation/

OpenGL ES

The Khronos Group is also responsible for two additional standards that are tied to
OpenGL: OpenGL ES, and the EGL Native Platform Graphics Interface (known simply as
EGL). As we mentioned, OpenGL ES is a smaller version of OpenGL intended for
embedded systems.
The EGL standard is essentially an enabling interface between the underlying operating
system and the rendering APIs offered by OpenGL ES. Because OpenGL and OpenGL
ES are general-purpose interfaces for drawing, each operating system needs to provide
a standard hosting environment for OpenGL and OpenGL ES to interact with. Android
SDK, starting with its 1.5 release, hides these platform specifics quite well. We will learn
about this in the second section titled “Interfacing OpenGL ES with Android.”

Fundamentals of OpenGL
This section will help you understand the concepts behind OpenGL and the OpenGL ES
API. We’ll explain all the key APIs. To supplement the information from this chapter, you
might want to refer to the “Resources” section towards the end of this chapter. The
indicated resources there include the Red book, JSR 239 documentation, and the
Khronps Group API reference.

here is list of some of this api

glVertexPointer
glDrawElements
 glColor
 glClear
 gluLookAt
glFrustum
 glViewport

No comments:

Post a Comment