Tag ‘opengl es’

Triangle stripping utility for iPhone OpenGL ES developers

Triangle stripping is one of the most efficient ways to increase frame rate in complex scenes. There are good open source libraries around that can be used for stripping. One of them is NvTriStrip available on NVidia website.
NvTriStrip is written in cross-platform C++ and can be easily built with Xcode. I have wrapped up a small Xcode project that actually does the job.

Continue reading

JellyTouch vs Unity: Rendering Performance Test

JellyTouch is an OpenGL ES game development framework created by Surgeworks. Unlike many popular RAD tools like Unity or Torque our framework is for hardcore developers, those programming geeks who like to retain total control over the code and not willing to trade game performance for RAD development comfort. JellyTouch is a set of Objective-C classes and utilities that encapsulate useful optimizations and common things one would most likely have to code when developing a game on iPhone.

Continue reading

What works and what doesn’t to improve OpenGL ES rendering performance on iPhone

Last weeks I have been working hard on optimizing our 3D engine JellyTouch. I have tried eventually all recommended methods to improve rendering performance and discovered that some of them work well, some provide small benefit and some don’t work at all. I think it is a good idea to share my results and probably have some feedback. The tests were performed on one of the most popular models – iPhone 3G 16GB.

Continue reading

How to build a 3D tag cloud on iPhone — challenges and solutions

how-to-3D-tagcloud-iphone-sdkSince the iPhone tocuhscreen is quite small and has great support for interactivity a 3D tag cloud looks an ideal choice for an iPhone application user interface. Neither iPhone SDK classes nor 3rd party libraries have 3D tag cloud classes, at least no libraries I heard of, so I implemented it from scratch.

You can see the final result in the Toneaphone Ringtones iPhone App we developed last year.

Continue reading

How to implement shadows with OpenGL ES on iPhone SDK — an overview

shadows-open-gl-es-iphone-ipod-touchOne of our projects currently under development is a 3D puzzle game where player will manipulate a number of cubic blocks. Those blocks can be moved above the board so to look realistic they need to cast shadows onto the board. Despite shadows are used in many 3D games and OpenGL ES does have all necessary things to implement them there is no support for shadows in API itself so the implementation is not straightforward at all. The task requires some smart coding. Let’s see how it can be done.

Continue reading