PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Tomb Raider Technology...

Does anyone understand the technology behind Tomb Raider for Pocket PC and why it runs so well? I tried the game on a H1945, underclocked to 180 MHz and the game still ran smoothly. But as I come to think of it, that is 180 MHz for a Samsung CPU, which doesn't easily translate as well. Is it a proprietary graphics LIB or something else it is based on? Can babes like Lara Croft in the Angel of Darkness quality be made portable to the Pocket PC? If that is the case, I better start programming faster!
Eidos started out coding for ARM based PC, called Acorns in 1991 ish. Graphic compression software the FMV in the PC version ran thier integer ARM stuff.

The company attracted quite a few of the best ARM coders. So it may just be 1988-2004 , 16 years experience. If you work as hard as they did you can get to thier level in 2020. ;)
Naaw, ARM code is easy.
I thought we signed an NDA to hush that up. :P
Did I say easy? I meant hard. Really hard. Horribly hard. Difficult. Nasty. Don't go near it. Leave that to me. :twisted:
Shez...ok...besides coding like the awesome abilities of Eidos... How fast of a CPU would it take to run a duplicate of Tomb Raider made w/just C++ (not ARM based assembly and all of Eidos's proprietary stuff)?
A more serious answer.. :oops:
I suck at polygon plotting despite 16 years ARM coding.

Eidos probably used a very good set of polygons and vertex data. A comprimise between detail and quality. That worked very nicely on a 320x240 PocketPC.

If you are starting today looking to make a 3D Tomb Raider like game. You probably won't be finished until WM2005(12 months) is out which promises DirectX support. Given the hoop-lah over VGA screens. I can imagine Dreamcast Playstation one type games in 30 fps VGA using stuff like 2700G5 MBX graphics chip doing very very well.

You would probably be better off writing a 2D game at the moment. While looking to the future getting a 2700G5 PDA which would be at least 533Mhz or 624Mhz. Toshiba E830 may of swapped at the last minute to 2700G. Also Dell X50 may be planning on using it.

Currently you would develop on a PC using the resources of PowerVR at http://www.pvrdev.com/. Signing the NDA if you got a 2700G PocketPC.

Trying to write a 3D game on current hardware might leave your graphic sources looking rather dated with 1 year of bloody hard work. Just as everything changes. IMHO.

Or if you have a great 3D game idea, why not ask developers who have currently engines of that quality. And see if some kind of relationship can be started.
Sergey Chaban · 17 Sep 2004, 16:20 UTC
I can imagine Dreamcast Playstation one type games

Heh, there is a HUGE difference in visual quality between PS1 and Dreamcast, compare MGS to Shenmue, or Tekken to DeadOrAlive, see...

Anyway, TombRaider for PocketPC/NGage is a port of Playstation version of the game, and is done using Segundo library from Ideaworks3D, which appears to be a sort of emulation lib for PS1 low-level stuff.
On a higher level TR uses portals, starting from the current room's portal(s) you check all the visible rooms in a level recursively, discard invisible parts, clip polys against portals if needed etc.

I myself wrote a viewer for TR1/2/3 levels for PocketPC about two years ago, if you want to know how TR works Google for TRosettaStone document.

Also TR on PPC/NGage (and probably other Segundo-based games) uses one low-level optimization to draw things faster - when view changes quickly (e.g. look around, run or rotate Lara) picture becomes blurry, stop moving and it becomes clearer, if you look closer it's easy to notice that scanline doubling is used during "blur" periods, that is vertical resolution is halved.
Thanks for the Education. Certainly looks like no one at Eidos had a hand in the low level engine. And if Idealworks will talk to him he can use that very engine.

Sergey Chaban wrote:
Heh, there is a HUGE difference in visual quality between PS1 and Dreamcast, compare MGS to Shenmue, or Tekken to DeadOrAlive, see...

Heh, "type of game". :P
Could my description be any more bland?
Shez, wow...thanks for all the input. Yea, I am just learning C++ and will do a whole lot of practice (esp. with a lot of math). I will practice a great deal of algorithms. I think I will probably be releasing a lot of utilities/applications first for PPC & PC before heading to 2D games. By the way...2D games are still great! At least I think so. I was just impressed about the porting of Tomb Raider.
How about N64 graphics? Remember how they were all so blurry? How was that achieved? Just blurry textures?
Probably bilinear filtering, which averages texels together so you don't see blocky texture texels that are visible in most all software engines (Tomb Raider, Quake 1, Quake 2 in software mode, etc).

Dan East
VGA wrote:How about N64 graphics? Remember how they were all so blurry? How was that achieved? Just blurry textures?


N64 was blurry for several reasons:

1) Small texture cache (texture + palette fits in a 4 kb cache, every time you draw a texture you need to fit it in there) which means that in most cases the texels will be scaled up instead of scaled down.

2) Bilinear filtering - blending the source texels that represent a screen pixel together

3) Mipmapping - when textures occasionally ARE scaled down, they are sometimes blended with a quarter-size scaled down version of the same texture which is essentially how you do (real time) blurring in videogames (scaling down, then scaling back up alpha blending with the original image)

4) Anti-Aliasing. The N64 had a really cool polygon edge anti-aliasing feature, very similar to the one that doesn't work on PS2 but that actually works. The result is that contrasty edges on the screen gets a blurry look

5) Resolution - the normal 320 x 224 resolution is either going to be very blocky or very blurry, 512 x 448 gives a lot more sharpness to the TV image.