Mail Archives: djgpp/1998/09/25/05:30:54
On Thu, 24 Sep 1998, Dalvemg wrote:
> I am making a decent 3d thing, and was wondering about speed and allegro.
> Just how does it rank? It isn't very difficult to make my own graphics stuff
> and optimize it with inline assembler but it might be pointless if allegro
> is already really fast! Anyone tested it ?
Depending on what you want to do, and what your target CPU is, Allegro
might be fast, fast enough or too slow.
For a 6-DOF dungeon type game with lots of polygon detail, Allegro's
polygon routines are probably unsuitable, not really because they are
slow, but because you are limited to the Painter's algorithm for rendering
images, and the overdraw will kill your framerate, fast polygon renderer
or not.
For Wing Commander-like space shooters Allegro's 3d routines should be
fast enough, unless you get very ambitious and include heavily detailed
models, planet surfaces and the like.
My advice is, just use the Allegro functions as-is. Should it turn out
when your program is tested on "real" models, that the speed doesn't cut
it, you can always rewrite the functions for more speed. It enables you to
concentrate on the essentials of your program, instead of worrying about
the details.
Elliott Oti
http://www.fys.ruu.nl/~oti
- Raw text -