Comp 365 - Computer Graphics (Fall 2018)
- Linux sheet given out in class.
- online Linux tutorial. Quick-n-easy!
Beginners: Learn Linux
Linux is NOT Windows
(Pretty old, but still worth a look)
- Computer Graphics Through OpenGL - the textbook web site.
- Code.zip - code files referenced in textbook.
- Level of Detail (LOD)
- Makefile - sample Makefile; add any source code file names to this.
- helloclass.cpp - first practice program that draws a couple of simple polygons.
- helloOOP.cpp - even smaller program, similar to helloclass.cpp, but using OOP.
- circle.cpp - program showing how to draw circles with OpenGL.
- colorFun.cpp - messin' with RGB.
- text.cpp - program that shows some text output options. You'll also need tkmap.c. Note that tkmap.c is a C program, but the C++ compiler will work fine. You must modify text.cpp so that tkmap.c will be found.
- font.c - more text manipulation. This also needs tkmap.c.
- menu.cpp - teeny program showing the use of an OpenGL pop-up menu.
- mouse.cpp - how to draw points and polylines with the mouse, v1.
- mouse2.cpp - how to draw points and polylines with the mouse, v2.
The difference is that all of the points/vertices are stored, allowing the window to be redrawn whenever
- displayList.cpp - how to draw some polygons using a display list. A display list will be important for some projects.
- windows.cpp - windows/viewports and "viewing box."
- perspect1.cpp - an example in the use of perspective, among other things. See the comments within the program that explain the use of glFrustum() and gluLookAt().
Computer Graphics Images
- Sample images produced using ray-tracing:
- Sample images produced using radiosity:
- A couple of student images:
- Basic sample images created by GLUT or GLU functions:
model 1 - scary robot made from cubes and spheres.
model 2 - fan made from spheres, cylinder, and cubes.
model 3 - another scene made from the same objects as above.
model 4 - landscape made using fratal techniques and triangulating.
my own fractal mountain - surface created with techniques discussed in class.
Computer Graphics Resources
Pixar - see some clips of cutting edge
Pixie - open-source RenderMan renderer for Windows, Linux, and OSX!
Brownian motion - an animation of Brownian motion showing molecules in a gas.
Fun Fractals - shows images you can create starting with a fractal.
Fractal - Java applet in which one can zoom in/out of a