You are not logged in.
Pages: 1
The OpenSonic runs great, but I think you can optimize it by using table of sinus (The table of sinus was used in first quake) instead of calculating it by sin function. The sin function has many iterations and so it is not very fast. In sinus table you just return sin value for angle without many calculations. I did n`t have practice in using it, it`s just my opinion.
Offline
Welcome, zl0i! ![]()
It's true that sin() and cos() take a number of iterations, but I don't see any performance issues there. I tested Open Sonic in my old computer (year 2000), a Pentium III 650MHz and it runs absolutely fine in 320x240. Furthermore, storing a few values in a table could result in approximation errors. It's a lot of work to do, it may introduce some errors and there's almost no benefit. Open Sonic is optimized for old/slow hardware, but I suppose nobody is using a 486 DX2 PC with DOS nowadays. ![]()
Performance issues are mostly related to the graphics.
Offline
Pentium III is a very fast CPU. Why not take some 5th or 6th generation processor (Pentium, Pentium II) and test for that? You're already using Allegro, you can still aim for that limited setup.
Last edited by CharmyBee (2009-08-11 19:23:22)

Offline
But does anyone actually *want* to use Open Sonic on any PC, game system, or cellphone which is less powerful than a Pentium 3? :)
Last edited by jasonspiro (2009-11-18 00:58:12)
Offline
how does dreamcast compare to pentium 3?:)
done
Offline
how does dreamcast compare to pentium 3?:)
I'd say the Dreamcast is on-par with a PII 450 with a TNT2 when it comes to performance and features. Delusioned DC fans strongly believe otherwise though (especially in the homebrew scene)
Last edited by CharmyBee (2009-11-21 02:54:34)

Offline
I guess the Dreamcast has certain strengths ![]()
done
Offline
Pages: 1