OpenGL ES 2.0 emphasizes a programmable 3D graphics pipeline (comparing to fixed-function pipeline of OpenGL ES 1.1).
0
votes
1answer
35 views
What is the correct Order of Operations on OpenGL 2.0 Loading Texture in condense format?
I have come across a problem when I am loading a single texture onto a single quad, and this problem persisted during the planning phases of my project, before starting my development phase. I am ...
1
vote
1answer
31 views
Texture mapping a complex object on openGL ES
I dont have much experience with openGL ES (or openGL), but i do get the general idea of texture mapping, which is each vertex should be mapped for the relevant UV coordinates of the texture we choose ...
2
votes
1answer
118 views
How do I draw an animated object in OpenGL ES?
I have a VBO, which I initialise like this (just an example):
- (void)setupVBOs {
GLuint vertexBuffer;
glGenBuffers(1, &vertexBuffer);
glBindBuffer(GL_ARRAY_BUFFER, vertexBuffer);
...
0
votes
2answers
63 views
Manage shader parameters
I'm making some test with OpenGL and I've got a problem with my application design. Currently, I've got something like that in pseudo code:
// Ask to draw a given scene.
renderer->drawScene( ...
1
vote
1answer
78 views
Run OpenGL shader on part of a texture
How do I run an OpenGL shader on just a portion of an off screen texture and leave the rest of the texture unmodified? Are there any calls that restrict the sampled pixels to just a rectangle or do I ...
-1
votes
0answers
59 views
White Texture Image Bug Due to Insufficient Tablet or Phone Device's RAM
I'm experimenting with texture files with widths and heights that aren't powers of 2 (e.g. 2, 4, 8, 16, 32, 64, 128...). I understand that these aren't allowed in certain devices. For running it, I ...
0
votes
1answer
81 views
libgdx game process dies on loading texture atlases
I try to load a lot of texture atlases (10) with approximately 5 (~2048x~2048)(not using PoT) .pngs each. I'm using AssetManager and there is no trouble with it on my pc but when I try it on my tablet ...
0
votes
1answer
38 views
Should I delete the textures I use in OpenGL ES 2 (Android)?
Say I have a skybox and the user can choose out of 2 sets of 6 textures (one for each face of the cube) to use on that skybox. For example if user selects set A, I load the textures ...
2
votes
2answers
102 views
What are the pros. and cons. of different representations a custom geometry format for a mobile based engine?
I am trying to create 3D model importer for my mobile based engine.
These are what I am considering:
Convert .obj file to text based structure like JSON or custom.
So, basically, convert .obj ...
5
votes
1answer
105 views
portal cutoff effect
I want a 3D Mesh to come out of a flat portal. Only the part of the mesh that's coming out of the portal should be rendered, so the mesh should be cut off or sliced until it's fully outside the ...
0
votes
1answer
58 views
Sphere turns to ellipsoid further away from origin (OpenGL ES 2, Android)
I'm not even sure what code to share, but maybe someone's been in a similar situation or has a good suggestion.
I'm basically rendering a sphere in the middle of the screen (placed at (0, 0, 0)) and ...
1
vote
0answers
44 views
OpenGL transparent framebuffer texture
I'm trying to implement atmospheric glow like this. It was a huge pain to get it done, since I'm new to FBO and OpenGL, but I managed to do something similar to what the OP wanted.
I followed his ...
1
vote
1answer
87 views
iOS: OpenGL ES 2.0 render texture with glScissor performance
I have drawn image with OpenGL and will redraw tile of its texture (non filled area).
Which case will work faster?
Set glViewport with full texture's rect, draw full texture and use glScissor ...
0
votes
1answer
78 views
OpenGL ES, orthopgraphics projection and viewport
I want to make some simple 2D game on iOS to familiarize myself with OpenGL ES.
I started with Ray Wenderlich tutorial (How To Create A Simple 2D iPhone Game with OpenGL ES 2.0 and GLKit). That ...
3
votes
0answers
39 views
Using GLES 2.0 producing a blank screen after the game is quit in LibGDX
I am making a 2D tile based game in LibGDX. I am using Scene2D Stage in my Screens. I am also using GLES2.0 in my game. When I changed from GL10 to GL20. On pressing the back button, my game is ...