PocketMatrix forums

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

Here's what's next...

I'm half afraid to post this (for fear of getting everyone worked up), but I will go ahead, as those waiting for the source code need an update.
On our original site, the following was posted:
[hr]
By: Christian Amor Kvalheim
Hello..

If I remember right Quake uses floating point numbers for all its calculations. Neither the ARM or MIPS processor has an inbuilt FPU core and is using software emulation. This would explain why a 486 66Mhz can play quake faster than IPAQ. The only sure way to speed up the Quake port is to recode the floating point rutines to use Fixed integer math.. I remember doing this way back when I did some demo rutines on the 486 SX and the performance boost is pretty impressive..

[hr]

So, I implemented fixed point routines, and did a comparison on the iPaq between the new fixed point math, and the existing floating point math.  The result was that the new routines are 6.5 times faster than the ones currently used by Pocket Quake.  Quake does indeed use float data types in most of its 3d code, so an improvement of some kind will certainly be achieved.  The fps will of course not jump by a factor of 6.5, because the floating point math only represents a portion of the work required to render Quake.  However, I am hoping that the fps will at least double.  I am more than half-way done modifying Quake's code to use the new routines.  
When this optimization is complete, and when I have cleaned things up a bit, I will release the source code to Quake so that others may contribute (sound, network, MIPS build, landscape, etc...).

Dan East
Last modification: Dan East - 01/25/01 at 15:07:37
In addition, the MIPS processor also does not natively handle floating point calculations.  Thus, the current optimization should benefit MIPS devices roughly as much as it will StrongARM devices.  This may be the optimization that will make Quake playable on the Casio devices (up to this point I have seriously doubted that Quake would be playable on the Casio devices).

Dan East
Justin Lewis · 25 Jan 2001, 22:50 UTC
Cant wait!!!!!!
Will you continue to work on the project after you have released the code?
Mark Rejhon · 25 Jan 2001, 23:01 UTC
Excellent!

Dan, can you please email me at marky@marky.com for your mailing address (and preferably, also phone number) for the $200.00 USD cheque that I promised to the first person to successfully port Quake to the PocketPC platform and publicly release its source code:

http://www.brighthand.com/ubb/Forum33/HTML/004912.html

So far, it looks like you're the winner!

(1) By the way, what convinced you to start PocketQuake in the first place?  Was it the above thread?

(2) Has iD software replied to you about PocketQuake yet?
Mark Rejhon · 27 Jan 2001, 11:17 UTC
Dan, any comment?
Mark Rejhon · 28 Jan 2001, 22:23 UTC
Just sent you some email!
Anonymous Asian · 29 Jan 2001, 21:55 UTC
Cool!When your Casio (MIPS) version comes out, Ill be one of the first ones to get it! Awesome job porting it to any pocket pc!
Thnx alot Dan.

Your work is really appreciated. :)
Keep up the great work...