Questions tagged [opengl-to-opengles]

Use this tag for question related to porting OpenGL to OpenGL ES or compatibility between these APIs.

Resources:

13 questions
44
votes
5 answers

OpenGL vs OpenGL ES 2.0 - Can an OpenGL Application Be Easily Ported?

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. …
Heat Miser
  • 19,438
  • 7
  • 35
  • 38
10
votes
2 answers

Develop for OpenGL ES on the desktop

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…
Elazar Leibovich
  • 32,750
  • 33
  • 122
  • 169
8
votes
2 answers

Drawing Stippled Lines using OpenGL-ES

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…
Piklor
  • 284
  • 5
  • 11
3
votes
1 answer

OpenGL desktop application to iPhone

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…
Pavels
  • 1,256
  • 1
  • 12
  • 19
2
votes
1 answer

Problem glTexGen in Open GL ES 2.0

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…
JimN
  • 713
  • 1
  • 6
  • 8
1
vote
1 answer

Converting OpenGL Primitives to OpenGLES

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); …
cbrulak
  • 15,436
  • 20
  • 61
  • 101
1
vote
1 answer

glTexGen in OpenGL ES 2.0

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…
visualjc
  • 47
  • 1
  • 7
1
vote
2 answers

Creating 3D model using set of 2D images on Windows

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…
shrikant
  • 11
  • 2
1
vote
0 answers

opengl es 2.0 in snap to edge and snap to middle in Android programmatically

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,…
0
votes
1 answer

Introductory help resource for porting OpenGL code to OpenGL ES

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…
user213345
0
votes
3 answers

using glTexSubImage2D in opengl es 1.1

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…
John Qualis
  • 1,663
  • 4
  • 33
  • 52
0
votes
1 answer

Is resident textures possible in OpenGL ES 1.1?

Is resident textures possible in OpenGL ES 1.1 like we have in OpenGL?
Anupam
  • 49
  • 8
0
votes
1 answer

Get Current raster position in opengl es 1.1

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?
Anupam
  • 49
  • 8