Mail Archives: djgpp/1999/08/14/02:10:23
ingrama wrote:
>
> I was wondering if you lads could clear something up for me. I am trying
> to decide how I should go about learning graphics programming,
> eventually leading to some simple 2d game program like breakout, and
> finally maybe something in 3 dimensions. Is Allegro similar to OpenGl?
> (Is this the correct forum to even ask this question?) I understand that
> OpenGl is an API, and Allegro seems to be just an additional bunch of
> libraries with routines that aid in drawing shapes, lines, etc to the
> screen. What should I be learning. I pretty comfortable with C, but have
> a limited knowledge of C++. Could you give me some advice on what to
> start with? Thanks
That depends on what you want to learn. I'm about to start
porting my old graphics library to DJGPP because <ducks and covers>
I don't like how Allegro works. I already reinvented the wheel once,
it won't take long to port it. If you want, I can explain all the
basics (considering making a web page) for it such as the Breshnam line
algorithm (with run-slicing), basic texture mapping, etc. etc.
If you want a premade library, use Allegro (or wait for me <grin>).
If you want fast 3d capabilities, use OpenGL. Fair warning, OpenGL
is really designed for 3d not 2d, so it's a bit tricky some times.
Chris
- Raw text -