This section provides the schedule of lecture topics along with lecture notes where available. These lecture notes are drawn from material from a variety of sources including texts by Edward Angel; James D. Foley, Andries van Dam, Steven K. Feiner. Here you can download the free Computer Graphics Notes Pdf - CG Notes Pdf of Latest & Old materials with multiple file links to download. Computer Graphics.


Author: Kyle Morar
Country: Rwanda
Language: English
Genre: Education
Published: 7 November 2014
Pages: 459
PDF File Size: 6.80 Mb
ePub File Size: 1.29 Mb
ISBN: 784-2-25762-852-8
Downloads: 1227
Price: Free
Uploader: Kyle Morar


The net effect is only having to specify one new vertex per triangle.

  • Computer Graphics Tutorial
  • Computer Graphics Notes Pdf Free Download- Lecture Notes, Study Materials, Books Pdf
  • Computer Graphics Tutorial
  • Computer Graphics Lecture Notes
  • Miscellany and Bonus Material

Quads and Computer graphics notes Strips Four vertex objects are also common, and may be rendered in hardware or broken up into triangles for rendering.

It is analogous to FillPolygon in Icon's graphics. It is worth mentioning a few extra items relating to polygons. If their vertices cross, OpenGL's semantics are not guaranteed, implementations can handle them however they please.

Introduction to Computer Graphics: Course Notes Main Page

And convex polygons are MUCH easier and faster to render. Viewports Within your window, you can select subregions and use them for different purposes; for example, to render simultaneous views looking forward and backward to provide "eyeballs in the back of your computer graphics notes.

Reshape and Idle callbacks One typical way to do animation is to modify some global variables inside the idle callback function, and then call glutPostRedisplay to cause your display callback to be called. The book's example rotates a square by two degrees each time the idle callback runs.

If you want rotation to achieve a constant velocity independent of hardware capabilities, say 30 degrees per second, you'd need to make the angle increment a variable, and run some timings to see how many frames per second your computer is achieving.

From our mass media, we computer graphics notes 24 movies or 30 tv frames per second appears "smooth" to most viewers. Keyboard and Mouse Many separate callbacks are used to handle keyboard and mouse input.

Computer Graphics Lecture Notes

Both callbacks supply x,y mouse location at the time of the input. Keyboard callback has a single integer computer graphics notes say what key is pressed, and causes to you use auxiliary functions to try and detect special key combinations such as the ALT key.

The main mouse callback has a separate integer codes to indicate which button and whether it was a press or release. Separate callbacks are used to request mouse motion when a button is pressed a "drag" and when no button computer graphics notes pressed "passive motion".


Display Lists A display list is a collection of off-screen invisible OpenGL objects, stored on the server in computer graphics notes format that can be rapidly re displayed. They are created and accessed by integer handles.

CS 324: Computer Graphics Lecture Notes

Computer graphics notes lists may be called from within other display lists. But it doesn't use the "fill pattern" from the graphics context. Were we to implement this as a built-in for UIGUI, would we be better off to compute a set of points via gencurve, and computer graphics notes call FillPolygon?

Most of this work is done in the mouse callback function. Three angles specify what is up. Six additional values specify the viewing volume.

Notice that glOrtho, and gluPerspective, use "camera coordinates" not world coordinates. Hidden Surface Removal There are several approaches to drawing only the things that should be visible in a 3D scene.

The "painter's algorithm" says to sort the objects by distance from the camera, and draw the farther computer graphics notes first, and the nearer ones on computer graphics notes "painting over" the farther ones.

We need an approach that removes the hidden parts mathematically before submitting primitives for rendering.

Computer Graphics

OpenGL uses z-buffers, or depth buffers, which are extra memory buffers, to track different objects' relative depths. This is built-in, but you have to turn it on to get its benefits.

Also, if any of your objects are see-through, you will computer graphics notes to read more details on z-buffering in the OpenGL references. These are sufficient for any scene, but not very convenient for certain common shapes.

GLU adds to these: GLUT adds cones, computer graphics notes, tetrahedrons, octahedrons, dodecahedrons, icosahedrons, and a teapot.