CPSC 815 Special Effects Production
Fall 2003
<http://andrewd.ces.clemson.edu/courses/cpsc815/fall03/>
Info
Syllabus
Schedule
Helpful Links: programming and utilities software
Project 1 Grading scheme
Project 2 Grading scheme
Project 3 Grading scheme
Project 4 Grading scheme
Final Project Grading scheme
Project Links

Code examples:
qt-img++.tar.gz

This gzipped tar file should be extracted in a directory called say qt-img++. When untarred, you should see a top-level Makefile with a src/ subdir.

The entire code package relies on several libraries that would normally be stored under the lib/ subdir, which is not provided (that subdir contains my imglib, mlib, and timerlib libraries which are somewhat extraneous to this example. However, as is, the remaining code relies on these and so won't compile without them (it is only an example of how to set up Qt).

The top-level Makefile is set up for cross-portability between Mac OS X and Linux. It's detects which OS it's run on and then proceeds to compile the code for each - there's no particular user intervention required - typing make clean followed by make would get an executable on either system.

The Qt app relies on the src/qtimg.pro project file. This is used in place of a Makefile which is generated by qmake (which is invoked by the top-level Makefile).

Other than that, the Qt code is fairly simple - there are two Qt objects, a GLObjectWindow (the main window) and then a child of this window, the GLTexobj. The main window is where you would provide various menu bars, sliders, buttons, etc., and the child window is where you execute GL commands.

I made this example from one of Qt's examples, which contained a couple of sliders (I think it was the texture example).


Other stuff on the web:

If you find interesting links you'd like to share with the class, let me know, I'll post'em on this page.