Home
Hot News
Sony
 »PS2
 »PS3
 »PSP
Microsoft
 »Xbox
 »Xbox360
Nintendo
 »Wii
 »GameCube
 »DS
 »GB/GBA
PC Games
Contact

Code Review of Doom For the iPhone

Posted 2010-02-04 08:02:01
32 Views in Gaming


Developer Fabien Sanglard has written a code review for id Software's iPhone port of Doom. It's an interesting look into how the original 1993 game (which he also reviewed to understand its rendering process) was adapted to a modern platform. "Just like Wolfenstein 3D, Doom was rendering a screenframe pixel per pixel. The only way to do this on iPhone with an acceptable framerate would be to use CoreSurface/CoreSurface.h framework. But it is unfortunately restricted and using it would prevent distribution on the AppStore. The only solution is to use OpenGL, but this comes with a few challenges: Doom was faking 3D with a 2D map. OpenGL needs real 3D vertices. More than 3D vertices, OpenGL needs data to be sent as triangles (among other things because they are easy to rasterize). But Doom sectors were made of arbitrary forms. Doom 1993's perspective was also faked, it was actually closer to an orthogonal projection than a perspective projection. Doom was using VGA palette indexing to perform special effect (red for damage, silver for invulnerable...)."Read more of this story at Slashdot.

Add to Social Bookmarks/News: Del.icio.usDiggTechnoratiBlinklistFurlReddit

Full Article

Comments:

No Comments Yet.
Post a comment:
Name:
Website:
Comment:


Source: Slashdot



Related Videos:

ALO ft.SAiNT - No Mi
Doom-A Poison Apple
DRAGONFABLE DOOM KNI
Spring Break Nationa
ZiggyBellyMimzyCameo

Source: YouTube

Related Articles (doom):


An Early Look At Civilization V
Doom 3 (Limited Collector\'s Edition) - Comparison FAQ (Classic Doom)
Doom II - Comparison FAQ
Final Doom - Comparison FAQ
Final Doom - Comparison FAQ