PocketMatrix forums

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

Increased frame rate ideas

I've been reading multiple messages saying how torches dramatically decrease framerates (mostly due to lighting effects and CPU calculations for them).  I realize that torches add to levels, but is there a way to modify the quake code to terminate all torches on any map?  I posted something in another forum about this but haven't gotten a response yet.
I just figured that someone could make the code for torches in quake become nullified, therefore eradicating all torches and speeding up the game significantly.  Any ideas?  Uh...ok, I'm done.
it won't speed it up significantly. We have gone over EVERYTHING back in the early days of PocketQuake- before there was a MIPS version.

Right now the biggest killer of FPS is the floats. Until that gets resolved, high FPS maps will always run slow.
Speaking of floating point sluggishness, I'm working on posting some benchmarks in the Developers Forum in a few days.  I wrote sample code to transform (multiply a 1x4 vector by a 4x4 matrix) 250K vertices on my iPaq.  Here's a few of the profiling results:

floating point:        1200 ms
fixed point:            144 ms
C++ fixed point class: ~550 ms

I'm writing another fixed point version in ARM assembly to see how it compares.  Once I get that done, I'll post all the results.  

The reason the C++ fixed point class is 3x slower than the fixed point is that the classes need to construct a number of temporary objects to pass around.  Such is life with C++ operator overloading.  The nice thing about it though is that you can very easily replace floating point code when you're trying to port an application.  More later.

Being that ~90% of the processing time to render a frame is in the form of floating point operations, PQ's frame rate would double if we can expect that performance from your class.

Dan East
Have any of you guys done a timerefresh on those optimised maps?  I did one on the comlex (the only one I've done), and I got 22.8 fps.  Just wanted to throw that out.  
Moose or Chuck · 03 Aug 2001, 12:12 UTC
timerefreshes are useless, don't use them. They mean absolutely nothing, as in one part of the map you'll get 70FPS, another 10FPS. It doesn't do anything.
Hey, I've found a super-optimized map:
Code:
+----------+
|          |
|          |
|          |
|          |
+----------+

-White walls, 2 player - no bots. Really, really cool, because it doesnt use anything that makes PQ slow (or fun)...
Great map! ~~~~~~~
Hey, I've got one of those too, and it runs even faster than Shapeshifter's, because I even removed the playerstart entity.  Which makes it, erm, kinda hard to play.  
Moose or Chuck · 03 Aug 2001, 12:42 UTC
you wanna know how to  run quake at like 80fps, download the shareware version, and play on your computer. Holy crap its fast.