Module 1
Module 1
ANIMATION (CEN515)
DR. TIWALADE ODU
MRS. COMFORT LAWAL
COURSE OVERVIEW
• Introduce the basic concepts of computer
graphics.
• Provide the necessary theoretical background
and demonstrate the application of computer
science to graphics.
COURSE OBJECTIVES
• Explain the overall workflow and techniques involved in
computer animation production
• Describe the fundamentals of computer graphics
including graphics pipeline architecture,
transformations, modelling, viewing, shading, and
texture mapping
• Study basic mathematical backgrounds related to
computer graphics including linear algebra and geometry
• Illustrate computer graphic algorithms (such as object
transformation, geometric representation, shading and
illumination model, anti-aliasing and ray tracing)
• Study 3-D curve and surface algorithms, in rendering,
surface and line removal algorithms
• Explain the abstract mathematical model for colour
representation
RECOMMENDED TEXTS
• Sumanta Guha, Computer Graphics through
OpenGL®: From Theory to Experiments, Third
Edition.
• David J. Eck, Introduction to Computer
Graphics, Version 1.4, August 2023
INTRODUCTION
Other formats are possible, such as grayscale, where each pixel is some
shade of gray and the pixel colour is given by one number that
specifies the level of gray on a black-to-white scale. Typically, 256
shades of gray are used.
Early computer screens used indexed colour, where only a small set of
colours, usually 16 or 256, could be displayed.
If the tree is deleted, the house will still be in the image, just
as before the tree was added.
Some popular graphics file formats include GIF, PNG, JPEG, WebP, and
SVG.
Most images used on the Web are GIF, PNG, or JPEG, but most browsers
also support SVG images and the newer WebP format.
GIF, PNG, JPEG, and WebP are raster graphics formats;
an image is specified by storing a colour value for
each pixel.
However, the data usually contains a lot of redundancy, and the data can be “compressed” to
reduce its size.
GIF and PNG use lossless data compression, meaning the original image can be recovered
perfectly from the compressed data.
JPEG uses a lossy data compression algorithm, meaning that the image recovered from a JPEG
file is not exactly the same as the original image; some information has been lost.
This might not sound like a good idea, but in fact, the difference is often not very
noticeable, and using lossy compression usually permits a greater reduction in the size of the
compressed data.
JPEG generally works well for photographic images, but not as well for images that have sharp
edges between different colours.
It is especially bad for line drawings and images that contain text; PNG is the preferred
format for such images.