Very dumb Arctic fox. Giving out free and open-source hugs. Also a GoldSRC modder, and a gamedev. (idTech 3, 4, Unity, Unigine)

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Report RSS The Useless Suite - Wireframe Engine
Post comment Comments
MightyL
MightyL - - 797 comments

Somethimes when something seems completely useless at first, can be completely useful later :).

Reply Good karma Bad karma+3 votes
djole22lt
djole22lt - - 300 comments

Nice work! Reminds me on those early 1980s games and CAD programs.

Reply Good karma Bad karma+2 votes
Quadro283
Quadro283 - - 562 comments

Nice

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

The Useless Suite a.k.a. App456 is my learning project (not sure if the name's taken, LOL). I'm basically learning C++ programming while making the suite. The programs alone are indeed useless (maybe not), but pretty much a nice way to learn some stuff.

Lately, I've been adding a class system. Now the set of 2D and 3D-ish rendering functions (called ADM2D) is a class that inherits from its base: ADM. I've also added some simple base object classes: base object, base object entity, base character.

I also added classes for the shapes that can be drawn. Now, instead of doing this:
Vertex A;
A.x = 39;
A.y = 35;

Vertex B;
B.x = 56;
B.y = 35;

Vertex C;
C.x = 44;
C.y = 24;

ADM2D_RenderTri(renderer, A, B, C);

I can do this:

Triangle Boop;
Boop.A.x = 35;
Boop.A.y = 45;
//Some more code later

Boop.Render(renderer);

The very first version of the program was a mess to work with. I had to type everything for each drawn line manually. :p