OpenGL ES For Iphone

OpenGL ES For Iphone

hello.

I have no experience at all with OpenGL and just started playing around with iPhone development. From google, it seems that iphone uses a special type of opengl (openGL ES). What are the languages that is supported by openGL ES? I know a little bit of C++ but by now i believe my C and Objective-C is better than C++.

View Answers

October 19, 2010 at 3:18 PM

Accessing the OpenGL is the same as working with any C library. If you can program with C then you'll be able to handle OpenGL. If you're familiar with adding frameworks and libraries to an Xcode project then you should be fine with OpenGL projects.

As a note: OpenGL ES is not unique to the iPhone. OpenGL ES is a reduced version of the OpenGL library for working with the smaller memory and slower processors found in mobile devices. Other phones like Android also use it.

One good thing about OpenGL ES when compared to standard OpenGL is that it really cut back on the number of API calls that the desktop version of OpenGL had. Only those calls that were considered necessary were kept. If there were duplicate ways of doing the same thing then one way was removed. This means that you have less to learn.

The bad thing about OpenGL ES when compared to standard OpenGL is that it really cut back on the number of API calls that the desktop version of OpenGL had. Again and again when researching how to do something in OpenGL you'll find a cool way to do it on a desktop but will find practically nothing for how to do it with the mobile version. Thankfully as mobile dev becomes more popular this will be less of a problem and already there are a number of OpenGL ES books (see Munshi) appearing.

Also, not all OpenGL ESes are the same. Roughly you have OpenGL ES 2.0 and what came before it and is typically called OpenGL ES 1.x. The most noticible difference between these two is the integration of the programmable pipeline (vertex and fragment shaders). If you create a basic OpenGL ES project with Xcode you find a simple example of the contortions that one needs to go through in order to handle the difference versions.

The shader code itself is a sort of C like programming language. There are some quirks but these are quickly learnt and are rather useful.

Call me weird but I enjoy playing about with Open GL and the ES variants. It's tough but the rewards are worth it as you'll get access to a powerful and useful API. Hopefully you'll be able to get through the early learning stages and really enjoy yourself with OpenGL.









Related Tutorials/Questions & Answers:
OpenGL ES For Iphone
that iphone uses a special type of opengl (openGL ES). What are the languages... As a note: OpenGL ES is not unique to the iPhone. OpenGL ES is a reduced version...OpenGL ES For Iphone  hello. I have no experience at all with OpenGL
OpenGL ES
OpenGL ES  I'm a fresh in OpenGL ES2.0, I know the OpenGL ES2.0 is just a standard not a real software lib, and it also the subset of OpenGL..." should I get the original source codes? Does anyone apply the OpenGL ES2.0
Advertisements
openGL
openGL   hii, what is openGL ??   hello,ADS_TO_REPLACE_1 Opengl is used for creating basic shapes and provides these shapes with animation
OpenGl
OpenGl  What is an OpenGL Software And how Write a programs in that please send me some simple programs on OpenGl
GLImageProcessing iphone sample
GLImageProcessing iphone sample  Hi, From where I can download the GLImageProcessing example for iPhone? Thanks   Hi, The GLImageProcessing sample for iPhone shows how to use OpenGL ES libraries to bright, sharp
iphone
iphone  hiii, how can we use table recursively in iphone
What is iPhone SDK?
_TO_REPLACE_7 * OpenGL ES Core Services It provides the API... What is iPhone SDK?       What is iPhone SDK? The iPhone SDK or iPhone software
iphone
iphone  hello... i want to make first iphone application . How can i make it plz help me
iphone
iphone  How can connect with the other database in iphone application(like... MYsql or oracle) is this dirctly possible
ModuleNotFoundError: No module named 'NodeBox-for-OpenGL'
ModuleNotFoundError: No module named 'NodeBox-for-OpenGL'  Hi, My... named 'NodeBox-for-OpenGL' How to remove the ModuleNotFoundError: No module named 'NodeBox-for-OpenGL' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'nodebox-opengl'
ModuleNotFoundError: No module named 'nodebox-opengl'  Hi, My... named 'nodebox-opengl' How to remove the ModuleNotFoundError: No module named 'nodebox-opengl' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'opengl-registry'
ModuleNotFoundError: No module named 'opengl-registry'  Hi, My... named 'opengl-registry' How to remove the ModuleNotFoundError: No module named 'opengl-registry' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'opengl-registry'
ModuleNotFoundError: No module named 'opengl-registry'  Hi, My... named 'opengl-registry' How to remove the ModuleNotFoundError: No module named 'opengl-registry' error? Thanks   Hi, In your python
Version of com.nativelibs4java>javacl-opengl-demos dependency
List of Version of com.nativelibs4java>javacl-opengl-demos dependency
ModuleNotFoundError: No module named 'es'
ModuleNotFoundError: No module named 'es'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'es' How to remove the ModuleNotFoundError: No module named 'es' error
Version of com.nativelibs4java>javacl-opengl-demos-jna dependency
List of Version of com.nativelibs4java>javacl-opengl-demos-jna dependency
Maven Dependency javacl-opengl-demos >> 1.0.0-RC2
You should include the dependency code given in this page to add Maven Dependency of com.nativelibs4java >> javacl-opengl-demos version1.0.0-RC2 in your project
Maven Dependency javacl-opengl-demos >> 1.0.0-RC3
You should include the dependency code given in this page to add Maven Dependency of com.nativelibs4java >> javacl-opengl-demos version1.0.0-RC3 in your project
Maven Dependency javacl-opengl-demos >> 1.0.0-RC4
You should include the dependency code given in this page to add Maven Dependency of com.nativelibs4java >> javacl-opengl-demos version1.0.0-RC4 in your project
Version of com.itranswarp>es-wrapper dependency
List of Version of com.itranswarp>es-wrapper dependency
Version of com.massisframework>zay-es dependency
List of Version of com.massisframework>zay-es dependency
ModuleNotFoundError: No module named 'cp-es'
ModuleNotFoundError: No module named 'cp-es'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cp-es' How to remove the ModuleNotFoundError: No module named 'cp-es'
ModuleNotFoundError: No module named 'ddd-es'
ModuleNotFoundError: No module named 'ddd-es'  Hi, My Python...-es' How to remove the ModuleNotFoundError: No module named 'ddd-es'... to install padas library. You can install ddd-es python with following command
ModuleNotFoundError: No module named 'ddd-es'
ModuleNotFoundError: No module named 'ddd-es'  Hi, My Python...-es' How to remove the ModuleNotFoundError: No module named 'ddd-es'... to install padas library. You can install ddd-es python with following command
ModuleNotFoundError: No module named 'es-fluent'
ModuleNotFoundError: No module named 'es-fluent'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'es-fluent' How to remove the ModuleNotFoundError: No module named 'es
ModuleNotFoundError: No module named 'es-lemmatizer'
ModuleNotFoundError: No module named 'es-lemmatizer'  Hi, My... 'es-lemmatizer' How to remove the ModuleNotFoundError: No module named 'es-lemmatizer' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'es-logging'
ModuleNotFoundError: No module named 'es-logging'  Hi, My Python... 'es-logging' How to remove the ModuleNotFoundError: No module named 'es... have to install padas library. You can install es-logging python
ModuleNotFoundError: No module named 'es-loghandler'
ModuleNotFoundError: No module named 'es-loghandler'  Hi, My... 'es-loghandler' How to remove the ModuleNotFoundError: No module named 'es-loghandler' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'es-loghandler'
ModuleNotFoundError: No module named 'es-loghandler'  Hi, My... 'es-loghandler' How to remove the ModuleNotFoundError: No module named 'es-loghandler' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'es-ouroboros'
ModuleNotFoundError: No module named 'es-ouroboros'  Hi, My Python... 'es-ouroboros' How to remove the ModuleNotFoundError: No module named 'es-ouroboros' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'es_wrapper'
ModuleNotFoundError: No module named 'es_wrapper'  Hi, My Python... 'es_wrapper' How to remove the ModuleNotFoundError: No module named 'es... have to install padas library. You can install es_wrapper python
ModuleNotFoundError: No module named 'mans-to-es'
ModuleNotFoundError: No module named 'mans-to-es'  Hi, My Python... 'mans-to-es' How to remove the ModuleNotFoundError: No module named 'mans-to-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'mans-to-es'
ModuleNotFoundError: No module named 'mans-to-es'  Hi, My Python... 'mans-to-es' How to remove the ModuleNotFoundError: No module named 'mans-to-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'partial-s3-to-es'
ModuleNotFoundError: No module named 'partial-s3-to-es'  Hi, My... named 'partial-s3-to-es' How to remove the ModuleNotFoundError: No module named 'partial-s3-to-es' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'pepg-es'
ModuleNotFoundError: No module named 'pepg-es'  Hi, My Python...-es' How to remove the ModuleNotFoundError: No module named 'pepg-es... to install padas library. You can install pepg-es python with following command
ModuleNotFoundError: No module named 'puppet-es'
ModuleNotFoundError: No module named 'puppet-es'  Hi, My Python... 'puppet-es' How to remove the ModuleNotFoundError: No module named 'puppet-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'pyramid_es'
ModuleNotFoundError: No module named 'pyramid_es'  Hi, My Python... 'pyramid_es' How to remove the ModuleNotFoundError: No module named 'pyramid_es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'pytorch-es'
ModuleNotFoundError: No module named 'pytorch-es'  Hi, My Python... 'pytorch-es' How to remove the ModuleNotFoundError: No module named 'pytorch-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'pytorch-es'
ModuleNotFoundError: No module named 'pytorch-es'  Hi, My Python... 'pytorch-es' How to remove the ModuleNotFoundError: No module named 'pytorch-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'que_es'
ModuleNotFoundError: No module named 'que_es'  Hi, My Python..._es' How to remove the ModuleNotFoundError: No module named 'que_es'... to install padas library. You can install que_es python with following command
ModuleNotFoundError: No module named 'solr-to-es'
ModuleNotFoundError: No module named 'solr-to-es'  Hi, My Python... 'solr-to-es' How to remove the ModuleNotFoundError: No module named 'solr-to-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'torch-es'
ModuleNotFoundError: No module named 'torch-es'  Hi, My Python... 'torch-es' How to remove the ModuleNotFoundError: No module named 'torch-es... to install padas library. You can install torch-es python with following
ModuleNotFoundError: No module named 'torch-es'
ModuleNotFoundError: No module named 'torch-es'  Hi, My Python... 'torch-es' How to remove the ModuleNotFoundError: No module named 'torch-es... to install padas library. You can install torch-es python with following
ModuleNotFoundError: No module named 'cma-es'
ModuleNotFoundError: No module named 'cma-es'  Hi, My Python...-es' How to remove the ModuleNotFoundError: No module named 'cma-es'... to install padas library. You can install cma-es python with following command
ModuleNotFoundError: No module named 'cp-es'
ModuleNotFoundError: No module named 'cp-es'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cp-es' How to remove the ModuleNotFoundError: No module named 'cp-es'
ModuleNotFoundError: No module named 'ddd-es'
ModuleNotFoundError: No module named 'ddd-es'  Hi, My Python...-es' How to remove the ModuleNotFoundError: No module named 'ddd-es'... to install padas library. You can install ddd-es python with following command
ModuleNotFoundError: No module named 'django-es'
ModuleNotFoundError: No module named 'django-es'  Hi, My Python... 'django-es' How to remove the ModuleNotFoundError: No module named 'django-es' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'es-cli'
ModuleNotFoundError: No module named 'es-cli'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'es-cli' How to remove the ModuleNotFoundError: No module named 'es-cli'
ModuleNotFoundError: No module named 'es-client'
ModuleNotFoundError: No module named 'es-client'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'es-client' How to remove the ModuleNotFoundError: No module named 'es
ModuleNotFoundError: No module named 'es_commons'
ModuleNotFoundError: No module named 'es_commons'  Hi, My Python... 'es_commons' How to remove the ModuleNotFoundError: No module named 'es... have to install padas library. You can install es_commons python

Ads