Computer Graphics (CSC370)

Fall 2009

Dr. Gur Saran Adhar

 

Lecture Slides  Programs  Screenshots Reading Assignment
1. Introduction to OpenGL, GLUT      

2. Elementary Rendering

   --Shapes Tutorial 

stairs

viking ship

KittyHawk

Fractal Tree

Fractal Mountain

simple.c-Angel
line.c-Angel
double.c- Redbook (24)
lines.c-Redbook (55)
Point_Plot.c-Hill
sphere.c---Recursive Subdivision 
earth.c--Sphere made with triangles and quad strips- Angel (52)
fern.c- Adhar
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot

Ch 2: Redbook

3. Viewing and

Transformations

 

Transformation Matrices

 

cube.c- Redbook  (100)
model.c-Redbook (115)
planet.c-Redbook (144)
robot.c-Redbook  (148)
newpaint.c- Angel (ch-3)
shadow.c- Angel(ch-5)
stairs2.c- Adhar
 
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot
screenshot

Ch 3, 4: Redbook

4. Animation and Depth Buffering

Clipping planes

Hidden surface...

single_double.c- Primer/Angel
clip.c- Redbook (141)

 

screenshot Ch 3: Redbook
Vectors in  Graphics plane.c- Redbook screenshot Ch. 4 F.S. Hill text

Appendix-E of   Redbook

5. Light , Shading and Materials

    --Light Material Tutorial

    --Light Position

sphere.c- Angel (ch-6)

smooth.c- Redbook

light.c- Redbook (180)

material.c- Redbook (205)

list.c- Redbook (264)

teapots.c- Redbook

movelight.c- Redbook (194)

Roof.c- Adhar

LightedMartiniGlass.c- Adhar

screenshot

screenshot

screenshot

screenshot

screenshot

 screenshot

screenshot

screenshot

screenshot

Ch 5: Redbook

6. Special Effects

Alpha Blending
Fog   
    --Fog Tutorial

 

alpha.c- Redbook (227)

fog.c- Redbook (243)

screenshot

screenshot

Ch 6: Redbook
7. Imaging and Raster Primitives

drawf.c- Redbook (284)

font.c- Redbook (291)

bit.c- Angel (ch-9)

image.c- Redbook (301)

RGBpixmap.h - class definition files
pixmap.cpp - testbed
kudu.bmp  BMP file
sky.bmp BMP file

screenshot

screenshot

screenshot

 

screenshot

 

screenshot

Ch 7, 8: Redbook

8. Texture Mapping 

 

 

 

     --Texture Tutorial

 

checker.c- Redbook (358)

ImageTexture.cpp- Adhar ibex.bmp

texturedCube.cpp-Adhar

texsub.c- Redbook  (368)

texbind.c- Redbook (397)

wrap.c- Redbook

mipmap.c- Redbook (382)

texgen.c- Redbook (414)

screenshot

 screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

Ch 9: Redbook

9. Splines

Bezier Surface-Applet

 

parametricline.c- Adhar

parametricCurve.c-Adhar

parametricCurveDeg3.c-Adhar

bezcurve.c- Redbook (499)

bezsurf.c- Redbook (506)

bezmesh.c- Redbook (509)

surface.c- (NURBS) Redbook (514)

editgrid.c- (NURBS)

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

screenshot

 

Ch 12: Redbook

Ch. 11 F.S. Hill text

Fractals... fern.c- Adhar

fractal Line.c-- Adhar

screenshot

screenshot

Ch. 9 F.S. Hill text
Parametric surfaces, intersection

torus.c- Redbook (257)

RayXactSphere.c-Adhar

screenshot

screenshot

 

 
10. Creating Output for Spherical Projection


spiclopsExt.h

Information on Spherical Projection

   

 

  

Please choose a section.