This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Fixed Integer Math?


Re: Fixed Integer Math?

Postby CARPEDIEM » Feb 15, 2001 @ 5:34pm

Well actually im aware of Jacco's work, he's a buddy of mine, I even included his 3d engine on my GAPI Benchmark and ported it to Jornadas and Casio's. I get 6fps on my e-125 @ 180 and a jornada gets 3 fps.<br>But what i was thinking in doing when i encountered the floating point problem, is to make a C++ Class called FixedPoint that would actually be just like doubles. If you could get your hands on a class such as this, probably your problem would be just to replace the keyword Double for FixedPoint.<br><br>But making a FixedPoint Data type is not an easy task of course.<br>
CARPEDIEM
 


Re: Fixed Integer Math?

Postby Dan East » Feb 15, 2001 @ 7:35pm

Using a class would work very well.  However, Quake is in C, so some non-trivial modifications would be required to change it to cpp.<br><br>Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Fixed Integer Math?

Postby Daniel J. MacDonald » Feb 15, 2001 @ 11:47pm

If the quake engine is using doubles you may see some speed up just switching to floats.... less bits in each operation.<br>
Daniel J. MacDonald
 


Previous

Return to Pocket Quake 1 and 2


Sort


Forum Description

Discuss Pocket Quake 1 and 2 by Dan East

Moderators:

Dan East, sponge, James S

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron