Go Back   Ultimate Web Site Drop Down Menu Forum > News and Information > General Web Trends and News
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 02-04-2010, 01:13 PM
sl4shd0t
Posts: n/a
  #1  
Default Code Review of emDoom/em For the iPhone

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...)."pa href="http://games.slashdot.org/story/10/02/04/0748224/Code-Review-of-emDoomem-For-the-iPhone?from=rss"img src="http://developers.slashdot.org/slashdot-it.pl?from=rssamp;op=imageamp;style=h0amp;sid=10/02/04/0748224"/a/ppa href="http://games.slashdot.org/story/10/02/04/0748224/Code-Review-of-emDoomem-For-the-iPhone?from=rss"Read more of this story/a at Slashdot./p pa href="http://feedads.g.doubleclick.net/~at/nGqTfeweblrvhEoeRiVuvBBYqzA/0/da"img src="http://feedads.g.doubleclick.net/~at/nGqTfeweblrvhEoeRiVuvBBYqzA/0/di" border="0" ismap="true"/img/abr/ a href="http://feedads.g.doubleclick.net/~at/nGqTfeweblrvhEoeRiVuvBBYqzA/1/da"img src="http://feedads.g.doubleclick.net/~at/nGqTfeweblrvhEoeRiVuvBBYqzA/1/di" border="0" ismap="true"/img/a/pimg src="http://feeds.feedburner.com/~r/Slashdot/slashdotDevelopers/~4/zoAvgs_1JXo" height="1" width="1"/

More...
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:28 AM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.