I am working on a gaming framework of sorts, and am a newcomer to OpenGL. Most books seem to not give a terribly clear answer to this question, and I want to develop on my desktop using OpenGL, but execute the code in an OpenGL ES 2.0 environment. …
I'm developing a desktop OpenGL application, and I want to make sure it'll be compatible to OpenGL ES, so that it'll be easier to port it to mobile platforms later.
What's the best way to make sure I'm using only the OpenGL ES specifications in my…
I have an application that draws 3-d map view marked up lines that show various features.
I am porting the map over to an OpenGL-ES architecture, but am having a bit of trouble working out how to display dashed lines.
Doing a lot of googling, I've…
I want to develop OpenGL application for iPhone. However I don't like using iPhone simulator. Is it possible to create Cocoa desktop application and then just copy-paste drawing code to iPhone application? How different is coding OpenGL for iPhone…
I have a problem somehow similar to this post :
glTexGen in OpenGL ES 2.0
I've looked up on the web a couple of other websites without finding out how to solve my issue.
Basically, I want to map a texture onto a 2D quad after having set up an…
I'm trying to convert the following code from OpenGL 1.5 spec. to the OpenGLES 1.1 spec
(num_x and num_y are passed into the function by arguments)
::glBegin(GL_LINES);
for (int i=-num_x; i<=num_x; i++)
{
glVertex3i(i, 0, -num_y);
…
I have been trying for several hours to implement a GLSL replacement for glTexGen with GL_OBJECT_LINEAR. For OpenGL ES 2.0. In Ogl GLSL there is the gl_TextureMatrix that makes this easier, but thats not available on OpenGL ES 2.0 / OpenGL ES…
I want to create a 3D model using set of 2D images on windows which can be send through webservice to iphone to display on it.
I know it can be done through Opengl but don't know how to start and also if I succeeded in creating it,is it compatible…
I tried to make snap to edge and snap to middle effect of line like Auto cad.
I used OPENGL ES 2.0 Android Technology to draw this line.
I successfully make effect for snap to edge. But, when I touch (Action Down - Touch Event)
the corner of line,…
I understand that OpenGL ES is a subset of Open GL. I am, however, having a very hard time trying to find appropriate solutions in OpenGL ES for coding practices in Open GL.
Take, for example, display lists. Here is a site which ported all the NeHe…
I am sending an opengl 3D scene across an IP link to my iPhone app built using SDK 4.1. I render the 3D scene first using FBO, read it with glReadPixels and send it to the iphone app. If I convert the pixel data received by the app to UIImage, I see…
How we can get Current raster position in opengl es 1.1 like in OpenGl where we do this by calling glGet with argument GL_CURRENT_RASTER_POSITION. Any idea?