3
votes
1answer
209 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, ...
5
votes
1answer
871 views

OpenGL blending (masking)

I need some help with OpenGL textures masking. I have it working but need to find some other blending function parameters to work in other way. Now I have: //Background ...code... ...
2
votes
1answer
761 views

Drawing multiple Textures as tilemap

I am trying to draw a 2d game map and the objects on the map in a single pass. Here is my OpenGL initialization code // Turn off unnecessary operations glDisable(GL_DEPTH_TEST); ...
5
votes
2answers
769 views

Best way to do buttons for an OpenGL ES iPhone game

I'm making a simple 2d game in OpenGL ES and I want to add movement buttons to it. What's the best way of going about this? In previous projects I've simply added UIButtons to the view but I hear ...
3
votes
1answer
514 views

Unusual Lighting Effects - Random Polygons Coloured

I am working on creating an object loader for use with iOS, I have managed to load the vertices, normals and face data from and OBJ file, and then place this data into arrays for reconstructing the ...
4
votes
3answers
2k views

What resources are available for Mac OS game development?

Are there are any modern resources on how to develop games for Mac OS? I suppose this would include objective c, cocoa and opengl 3+. The book Beginning Mac OS X Game Development with Cocoa looks ...