Hello,
I have written a “base system” for an OpenGL/Win32 application in C/C++. It’s object-oriented, easily expandable and should be helpful for beginners because I’ve tried to explain everything important in the code comments. It does several important basic tasks for you and contains a console for basic command-line interactivity (i.e. for easy testing).
The code is executable immediately, and you may simply start experimenting with rendering by manipulating the rendering function!
If you’re interested, take a look at it: you can download the code including a short documentation at http://www.danielwytrykus.de.vu
(in section “programming”)
I’m currently using this code in one of my own OpenGL projects.
For comments or suggestions, you may answer me here or write a mail (my address is on the site)
Hey Tytrix,
it looks great. When I have some time
I’ll expand it a little so it will be able to use paintlib and such. And perhaps an actual parser that parses opengl commands
The link should work, I have tested it. Maybe it doesn’t work in all cases because it’s broken in 2 lines, so here it is again: http://www.danielwytrykus.de.vu
@Vincenz:
Thanx!
What exactly is paintlib?
I’ll think about the thing with OGL commands.
I do reset the original monitor settings by calling the respective Win32-function (I think it’s SetDisplaySettings) with NULL argument, this should reset the settings according to the API documentation (and it works on my system). If it doesn’t work: strange…
console mode is (de)activated with TAB. I decided to do no real demo rendering because then you have to throw out that demo code first if you want to put in your own stuff. But okay, it would be nice for beginners to have some action there to manipulate.