@BuilderBoy2005 I confused the term 'local illumination' with 'global illumination', which are very different.... Anyway, I have to correct it. I used LOCAL illumination. GL is not appropriate for real-time programming.
I used global illumination model. Three point lights are attached on the ceiling of the room (the light can be anywhere though), and each wall is made of 20*20*2 triangles, calculating colors on three points of triangles. You may see some cracks when too close to walls. I missed some exceptions when drawing triangles. Once it fixed, I am going to release source code.
2012/10/16
3D ROOM (2nd)
2012/10/16
3D ROOM (2nd)
2012/10/15
SmurfVillage
2012/9/28
3D ROOM
2012/9/28
3D ROOM
2012/9/28
3D ROOM
2012/9/27
3D ROOM
2012/9/27
3D ROOM