Archive for January, 2007

Raycaster

Monday, January 22nd, 2007

Raycasting:

I decided to take a crack at raycasting for a possible mobile phone game. By today’s standards, raycasting is considered an antiquated technology.

With mobile phones and other portable devices today being technologically similar to the devices of 10-15 years ago, particularly due to the lack of hardware 3D accelerators, these old techniques are very much applicable once again.

Showing a basic indent into the wall:

Ray Casting

Showing a corridor:

Ray Casting

Now with textures:

Ray Casting

Added some coloured ceilings, similar in style to Wolf-3D (1992):

Ray Casting

Funny colour gradient for the ceiling to give a sunset look:

Ray Casting

Testing some floor/ceiling textures (1):

Ray Casting

Testing some floor/ceiling textures (2):

Ray Casting

OpenGL Engine

Tuesday, January 9th, 2007

First attempt at the MD2 format for Quake 2:

MD2 with Lighting:

MD2 with lighting and texture mapping:

First attempt at rendering a Quake 2 map file:

Correct rendering of the level using glBegin(GL_LINES):

Lighting but with really bad texturing:

Semi-functional texturing:

Stupid mistakes fixed:

All textures loaded and applied appropriately: