Tagged Questions
1
vote
2answers
76 views
Calling glGetError() in release builds?
Currently, I'm calling glGetError() after each OpenGL function call in order to be able to detect and report bugs.
I've been reading that glGetError() calls should be reduced to once per frame in ...
1
vote
1answer
142 views
Selecting and moving object in OpenGL Gameplay3D Engine
I'm using Gameplay3d as a game engine to develop a simple board game. PEG Solitaire
I've come to the part where I've created a 2D grid for all the movable object, empty locations and also where it's ...
2
votes
0answers
85 views
Displacement Mapping opengl-es
I need to do an application similar to this Morfo. And I posted a question here where the answer states the solution is "Displacement Mapping" . And I googled this to do it in opengles. I couldnt get ...
0
votes
1answer
64 views
Interleaved formats for meshes confusion
So I have been reading up on data formatting for 3D objects so that I can render my meshes as fast as possible in openGL, I am quite new to openGL so bear with me.
The format for interleaving your ...
7
votes
1answer
336 views
How wise is this multithreading architecture?
I'm rewriting a game engine I wrote in an attempt to parallelize as much as possible. I'm considering making properties which may be accessed from multiple threads all use accessors which use boost ...
3
votes
0answers
61 views
Rotate an image and get back to its original position - opengles glkit
I need to rotate an image in opengles GLkit and get it back to its original position in GLkit.
rotation += 5;
_modelViewMatrix = GLKMatrix4Rotate( _modelViewMatrix, GLKMathDegreesToRadians(5), 1, 0, ...
1
vote
1answer
156 views
OpenGL ES screen to world coordinate
I am currently attempting to convert my screen coordinates to world coordinates, to be able to interact with objects. I am using glm and unProject to try and achieve this, so far this is my code:
...
0
votes
0answers
41 views
iOS billboard rendering performance
What is the fastest way to render semi-transparent billboards (for a particle system) on iOS? I'm currently using GLES1, but if required for performance I can switch to GLES2.
Does sorting the quads ...
1
vote
2answers
94 views
How to get a texture from current point of view in OpenGL 2.0 ES?
Probably the title is confusing, but I didn't know how to ask better, sorry about that. What I would like to do is get a bitmap texture that represents exactly what's rendered at one point in time and ...
0
votes
0answers
72 views
Starting OpenGL ES 2 [closed]
Really, I'm a bit confused now.
I want to learn OpenGL ES 2, and eventually make games for Android and iPhone.
Thing is, I don't really have any of these devices, so I need solution for emulating ...
3
votes
1answer
141 views
Fill texture with white color
How to paint texture with white color? Example what I mean:
SpriteBatch.setColor changes tint only.
1
vote
1answer
229 views
Apply portion of texture atlas
I'm trying to write a shader that only maps a portion of a large texture to my sprite and I'm getting a strange behaviour with my current code.
This is what I have right now:
Texture atlas ...
2
votes
0answers
353 views
exporting bind and keyframe bone poses from blender to use in OpenGL
EDIT: I decided to reformulate the question in much simpler terms to see if someone can give me a hand with this.
Basically, I'm exporting meshes, skeletons and actions from blender into an engine ...
2
votes
2answers
309 views
The purpose of using invert and transpose
In openGl ES and the World of 3D - why use the invers matrix?
The thing is that I dont have any intuition to, why it is used, therefore please correct me:
As fare as I understand, it is used in ...
2
votes
1answer
389 views
Bad FPS for smaller size (OpenGL ES with SDL)
If you saw my other question, well, there is still a little problem:
Click here to watch on youtube
Basically, the frame rate is very bad on the actual device, where for some reason the animation is ...