QT feamework for OpenGL - Just like NeHe for Windows
-
Hi..
Sorry for late reply..
What I mean by framework is just Windowing using Qt.
Like Init() function to initialize light and material properties
Draw() funtion to actually write OpenGl code logic
Keybord() function to handle key-presses by user
Reshape() function to handle movement of windowI have used glut which offers this functionality. It has attempted to use callback functions.
One of my senior suggested me to use Qt for "windowing". I have never touched Qt till now.I do not want to use Qt implemented OpenGL code.. Like while doing texture mapping, I have read that this can be done in Qt using just 2 lines of code. I do not want that. I want an area to draw.
I have visited The link provided by Jarope, but Wesley Stessen's Page is down. It would be really helpful
if someone could show me a simple program.Thanks
Andrew -
ZapB that would be very useful if you could!
Andrew,
http://www.cs.tufts.edu/comp/175/support/Tutorial.pdf
This may also help.
-
The book "OpenGL 4.0 Shading Language Cookbook" uses Qt framework for their examples, however all the code is written with native OpenGL. You can download the examples source from the book site, there's a first "classic" example that draws a triangle, and others.
-
Oh ya.. actually I did..
And also what I have experienced is that as we move ahead doing OpenGL, framework changes a lot(actually a little everytime)!I have actually created something like NeHe, fullscreen many things like that..
Would it be correct to post entire framework here? Its five files overall.. ?