Sign in to follow this  
Shamino

First GL/Major programming Project

Recommended Posts

Shamino    100
Well, a little background, my senior project teacher told me, we need a program to handle and manage the ticket sales for our various musicals and plays. Sounded easy enough.. What sounded easy at first, (this was our first big project btw), ended up being nearly 5000 lines of code! Here it is, Ticket Seller v1.0 http://www.geocities.com/joncprogrammer/Ticket_Seller_v1.zip It uses OpenGL as a rendering API and win32 for the windowing, so I don't want to hear you linux and mac users complaining :). So, be kind, judge please, but remember this is my first major project. I didn't really think this was monumental enough to post in the pic of the day, or I would :). This project demonstrates the use of basic texture mapping in OpenGL, as well as very simple quad rendering :D. It demonstrates fluent knowledge of C++ syntax, for lack of any design pattern at all :). Demonstrates the usage of basic ASII file I/O to keep configuration settings (I don't reccomend changing them). As well as save files, maybe one day I'll come back to this project and redo it with a real GUI system. Oh, I almost forgot, we implemented masking and sound as well, as well as some simple blending. And some pretty lines :). We used bitmap fonts. Enjoy!

Share this post


Link to post
Share on other sites
Kambiz    758
OK... Your program works but why do you use opengl for such an application? Why not something like this:

1. Everybody is familiar with such a gui.
2. It more beautiful than your verison using ogl(sorry, just my option).
3. You do not need thousands of lines of code to create the gui.

Share this post


Link to post
Share on other sites
Shamino    100
I cannot agree more with the fact that it would have looked better in <any> other form.

But the fact of the matter is we wanted to challenge ourselves.

Share this post


Link to post
Share on other sites
JamesKilton    160
Quote:

It demonstrates fluent knowledge of C++ syntax, for lack of any design pattern at all :).


If you're going to say this, then at least give us the code! Text rendering isn't very good, one of the buttons is in front of it's associated text, lots of flickering.

You really should have picked a project that would actually work in Ogl if you wanted to challenge yourself, it would have been a ton more practical.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this