opengl

2D Sprite Reflections

First post in a year! So much for me writing more regularly on this blog I guess… on a more positive note, I have been making steady progress on a game. The concept has shifted quite a bit from where I started off last year, but I guess that was to be expected during the…Read more

Making Waves

This one took me longer than expected – my previous experiments with terrain rendering simply used a flat blue surface surrounding the land mass to model water, and I had wanted to implement a system to render water for a while now. I knew that there was an article describing a sample implementation in the…Read more

Sky Rendering

Moving on from techniques for generating terrain for now, I started looking at how to generate a background for my rendered scene. So far I had been using a solid background color but I wanted something more interesting. Since the scene background in a typical game will obstructed in many places, most game engines do…Read more

Generating Island Terrain

Over the past month I’ve continued looking into terrain generation for my next game. My previous attempts were using algorithms to generate a fully-formed terrain from scratch, but I wanted to see if I could come up with a way to simulate terrain generation over time. I’m envisioning that the player will be able to…Read more

Down the rabbit hole

After completing my foray into terrain rendering progress on building a 3D engine has been slower than I had anticipated. This was in part due to me traveling for a bit, but was mainly caused by finding out once more that there are many layers of complexity involved with this undertaking. Usually, when trying to…Read more

Terrain Rendering

The last few weeks have been busy: I’ve been working on a prototype for rendering a 3D landscape. One of the key aspects of the game that I’m working on is the deity-like ability of the player to manipulate the game world. The game engine will need to support real-time dynamic transformations like raising and…Read more

Fixing gluUnProject in Android Froyo

Lately, I’ve been working on a new Android app which will make use of 3D graphics. The Android SDK provides its own implementation of OpenGL ES which differs between Android releases. Since my current phone runs Android 2.2, I’m stuck with that release for the time being, and it looks like the version of the…Read more