OpenGL ES For Iphone

Ads

 
 

Share on Google+Share on Google+

samar
OpenGL ES For Iphone
1 Answer(s)      6 years and 11 months ago
Posted in : MobileApplications

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++.

Ads
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.


Ads









Related Tutorials/Questions & Answers:
OpenGL ES For Iphone
that iphone uses a special type of opengl (openGL ES). What are the languages... ES is not unique to the iPhone. OpenGL ES is a reduced version of the OpenGL...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, 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
Version of com.massisframework>zay-es dependency
List of Version of com.massisframework>zay-es dependency
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
What is iPhone SDK?
* Image file formats * Quartz * Core Animation * OpenGL ES... What is iPhone SDK?       What is iPhone SDK? The iPhone SDK or iPhone software
iphone
iphone  hiii, how can we use table recursively in iphone
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
Version of com.nativelibs4java>javacl-opengl-demos dependency
List of Version of com.nativelibs4java>javacl-opengl-demos dependency
Version of com.nativelibs4java>javacl-opengl-demos dependency
List of Version of com.nativelibs4java>javacl-opengl-demos dependency
Maven Dependency es-wrapper >> 1.2
You should include the dependency code given in this page to add Maven Dependency of com.itranswarp >> es-wrapper version1.2 in your project
Maven Dependency es-wrapper >> 1.1
You should include the dependency code given in this page to add Maven Dependency of com.itranswarp >> es-wrapper version1.1 in your project
Maven Dependency es-wrapper >> 1.3
You should include the dependency code given in this page to add Maven Dependency of com.itranswarp >> es-wrapper version1.3 in your project
Maven Dependency es-wrapper >> 1.0
You should include the dependency code given in this page to add Maven Dependency of com.itranswarp >> es-wrapper version1.0 in your project
Maven Dependency zay-es >> 1.2.1
You should include the dependency code given in this page to add Maven Dependency of com.massisframework >> zay-es version1.2.1 in your project
Version of com.nativelibs4java>javacl-opengl-demos-jna dependency
List of Version of com.nativelibs4java>javacl-opengl-demos-jna dependency
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
Maven Dependency javacl-opengl-demos-jna >> 1.0.0-RC2
You should include the dependency code given in this page to add Maven Dependency of com.nativelibs4java >> javacl-opengl-demos-jna version1.0.0-RC2 in your project
Maven Dependency javacl-opengl-demos-jna >> 1.0.0-RC3
You should include the dependency code given in this page to add Maven Dependency of com.nativelibs4java >> javacl-opengl-demos-jna version1.0.0-RC3 in your project
iPhone Graphics
iPhone Graphics  Hi, How to create iPhone Graphics? I am learning to crate UI Design for iPhone and iPad. Thanks
iphone avfoundation
iphone avfoundation  What is iphone avfoundation and why it is required? Can anyone show how to implement the AVFoundation in iPhone application with example or tutorial? Thanks
Iphone call
Iphone call  Do you have other method to make a call on Iphone,without openUrl
Iphone Tutorial
Iphone Tutorial  Hi, I am a new in this mobile applications segment. From where i will get the information about iphone tutorial or Iphone Development Tutorials. Please suggest the resouces......... Thanks
iPhone Game Applications Development, iPhone Game Porting Services, iPhone Game Designing
iPhone Game Applications Development iPhone Game Development... the way we listen to music and download it, the iPhone has revolutionalized mobile and handheld gaming in multiple ways. Today the iPhone and iPod combinedly have