Archive for the 'lectures' Category

Graphics Standards

Wednesday, September 24th, 2008
The nice thing about standards is that there are so many to choose from. (Andrew Tanenbaum)

(more…)

Aliasing

Monday, September 22nd, 2008

(Hill 2nd ed 577-587, 781, 170-172, 91; 3rd ed 487-495, 659, 161-162, 103)

My slides (ODF) Slides in PDF

Chapter 7 of the OpenGL programmer’s guide on Antialiasing (prefiltering using OpenGL).

Chapter 10 of the OpenGL programmer’s guide on The Framebuffer (postfiltering using OpenGL).

Chapter 9 of the OpenGL programmer’s guide on Texture Mapping.

Example OpenGL programs, aargb, accanti and dof are here.

OpenGL Example Programs

Wednesday, September 17th, 2008

firstAttempt: The famous three dot program from page 46 of Hill.

polyLineDraw: OpenGL and mouse input.

polyTess: OpenGL polygon tesselation.

Toy1: Simplest 3D program - draw the teapot.

Toy2: Calls Starwars to make an X wing fighter.

Toy3: Rotating about x, y and z axes

ToyFinal: Big demo of all the objects list below

StarWars: Use matrix stack to make a Xwing

Function2D: A surface defined by the sinc function.

BezierPatch: One Bezier patch defined by 16 control points.

FractalTree: A simple fractal tree

SurfaceOfRevolution: A surface of revolution

FractalTerrain: Some Fractal Terrain

CSELogo: The Old CSE logo

ShapeManager: A class to manage all the shapes above.

trackball: Uses quaternions to create a virtual trackball. The code is converted from C code in GLUT, so it’s ugly.

Vector3D: 3D vector functions like cross product.

A zip file of everything.

Global Illumination

Sunday, September 14th, 2008

(Hill 2nd ed 732-814; 3rd ed 611-694)

My slides (ODF) Slides in PDF

Shutterbug rendering progression.

Raytrace demo applet.

POV-Ray POV-Ray Hall of Fame

Lighting and Shading

Monday, September 8th, 2008

(Hill 2nd ed 408-436; 3rd ed 376-405)

My slides (ODF) Slides in PDF

Chapter 6 of the OpenGL programmer’s guide on Lighting.

3D Viewing

Monday, August 25th, 2008

(Hill 2nd ed 358-390, 704-711; 3rd ed 327-361, 668-669)

My slides (ODF) Slides in PDF

Vrml examples

Chapter 3 of the OpenGL programmer’s guide on Modeling and Viewing.

BSP Tree Applet

Clipping

Monday, August 25th, 2008

Hill (2nd ed 189-194; 3rd Ed 178-183)

My slides (ODF) Slides in PDF

3D Modeling

Monday, August 18th, 2008

Hill (2nd ed 144-178, 233-257, 287-337; 3rd ed 132-160, 214-237, 264-313)

My slides (ODF) Slides in PDF

Vrml examples

Chapter 3 of the OpenGL programmer’s guide on Modeling and Viewing.

Curves

Monday, August 11th, 2008

Hill: (597-653 2nd Ed, 502-559 3rd Ed)

My slides: Open Office format PDF for printing.

My curves applet.

Osculating circle applet.

You can run the curve demo program in the labs with the command

% 3421 curve

There is a manual for the curve demo program here.

Java Lectures

Monday, August 4th, 2008

  • Introduction to Java, OO in Java (Part-1)
  • OO in Java (Part-2)
  • Syntax and Applets (Part-3)
  • Events and GUI (Part-4)
  • Swing tutorial
  • Swing demo

    Hello world JOGL program: firstAttempt.java

    JOGL and mouse input: polyLineDraw.java


    Bad Behavior has blocked 40 access attempts in the last 7 days.