2007-06-04

No One Shoots Forever - OPENGL conversion

In these days I've decided to start some OpenGL coding.
The better way I've found is to convert my best game into something that no one can (shoot) forget!

The Pilgrimage has begun and it would take at least some months. I'm not confidential with OpenGL and I think they are great, but very complicated.

Here in Italy, it's difficult to find a manual about that, but fortunately I like English and CHM tutorials.
Using some sharing file program it's easy to get all the manuals and technical information required to move something. The problems came later... when advanced programming occurs.

The conversion I'm trying to do merge the Allegro (www.allegro.cc) code of NosF with the OpenGL code, wrapping this via AllegroGL (http://allegrogl.sourceforge.net) functions and set up.
It's easy , for a beginner , to get lost! The difference between me and a beginner is that I'm a beginner with the head hard as a rock :) .

I'm still trying to understand how to manage the various "buffers" on which the OpenGL writes.
Moreover, some particular test I've put inside NosF must be adapted, describing some info more or doing more controls. Pure CAOS for now, but I can reach my purpose studying some tutorials.

Ah, the best place I've found to try pure Opengl tutorial is NeHe (http://nehe.gamedev.net) .
This portals sucks a lot! I like it!
Of course, it's not so easy to port a pure Opengl program into an AllegroGL code, due to some not-so-clear-to-understand functions that wraps the two ambients.

Lately I've lost much time to set up the 3D ambient as it was 2D ; Then I've searched to made functions that create the proportions between the images and the squares that contain them.
Of course the Blending method , i.e. the method to show a texture upon a square, as been configured to eliminate the Alpha channel , with thousand of porting errors...

OK, I'll keep some update more, before the process could be considered completed.

That's all folks! Thanks for reading.
Seeya! A contest should finish in a couple of weeks, and I' expect to win ;P .
Ciao!

Lord Hol Napult

No comments: