1 Fundamentals Of Computer Graphics

Computer Graphics · Unit 1

Fundamentals of Computer Graphics

Exam-focused notes for Fundamentals of Computer Graphics (Computer Graphics, BIT304): what the TU syllabus asks and how it has actually been tested, with 2 solved past questions from this unit.

Fundamentals of Computer Graphics in short

Computer graphics is the creation, storage and change of pictures using a computer. This chapter explains what the field covers, where it is used, and how a 3D model becomes an image on the screen.

Fundamentals of Computer Graphics: notes

Definition and scope of computer graphics

Computer graphics is the use of computers to generate, process and display images. The image can be a line drawing, a chart, a photo-like scene or an animation.

Two broad kinds exist:

  • Passive (non-interactive) graphics: the user only sees the picture. A printed chart or a film title is an example.
  • Interactive graphics: the user changes the picture through a device such as a mouse. A game or a CAD tool is an example.

The scope of the field includes:

  • Modeling: describing the shape of objects with points, lines, curves and surfaces.
  • Rendering: turning that description into pixels, with lighting and colour.
  • Animation: making the picture change with time.
  • Image processing: improving or changing existing pictures.

Applications of computer graphics

  • User interfaces: windows, icons, menus and buttons on every phone and computer.
  • Charts and plots: bar charts, graphs and dashboards that show data in a clear way.
  • CAD and design: engineers draw machines, buildings and circuits and test them on screen.
  • Entertainment: films, cartoons, special effects and video games.
  • Simulation and training: flight simulators let pilots practise without risk.
  • Education and medicine: 3D models of organs from CT and MRI scans help doctors plan work.
  • Virtual reality: the user feels present inside a computer-made world.
  • Maps and GIS: satellite pictures and road maps are drawn from stored data.
  • Art and advertising: posters, logos and digital paintings.

What this unit covers

  • Definition and scope of computer graphics
  • Applications of computer graphics
  • Graphics pipeline overview
  • Coordinate systems and transformations
  • Rasterization and rendering concepts

Rasterization and rendering concepts

2082 · 5 marks

Discuss how rasterization and rendering help in generating a realistic image from a 3D model and what factors affect the quality of the rendered output. [5]

Show solved answer

Rasterization and Rendering in 3D Image Generation

Overview

Rasterization and rendering are fundamental processes that convert 3D geometric models into 2D pixel-based images suitable for display. Together, they bridge the gap between mathematical 3D scene descriptions and visual output.

How Rasterization and Rendering Generate Realistic Images

Rasterization Process

  • Converts 3D primitives (triangles, polygons) into 2D screen coordinates
  • Projects 3D vertices onto the 2D viewport using transformation matrices
  • Determines which pixels are covered by each primitive (scan conversion)
  • Interpolates attributes (color, texture coordinates, normals) across pixels

Rendering Process

  • Applies lighting models to calculate pixel colors based on material properties and light sources
  • Performs shading calculations (Phong, Gouraud, or flat shading) at vertices or pixels
  • Applies textures to add surface detail without geometric complexity
  • Handles visibility through depth testing (z-buffer) to determine which surfaces are visible

Combined Effect

The two processes work together to:

  1. Transform 3D geometry to screen space (rasterization)
  2. Calculate realistic colors and lighting (rendering)
  3. Produce final 2D image with depth, shading, and texture

Factors Affecting Rendered Output Quality

FactorImpact
ResolutionHigher pixel density produces sharper, more detailed images
Shading ModelAdvanced models (Phong, PBR) produce more realistic lighting than flat shading
Texture QualityHigh-resolution textures with proper filtering reduce aliasing and blur
Lighting SetupNumber and placement of lights, shadow mapping affect realism
Anti-aliasingMSAA, FXAA reduce jagged edges and improve smoothness
Depth PrecisionZ-buffer precision affects visibility accuracy and prevents z-fighting
Polygon CountMore triangles capture finer geometric details
Material PropertiesSpecular, diffuse, normal maps enhance surface realism

Conclusion

Rasterization efficiently converts 3D geometry to screen space, while rendering applies visual effects and lighting. Quality depends on balancing geometric detail, texture resolution, lighting complexity, and anti-aliasing techniques within performance constraints.

Open this answer on its own page →

Applications of computer graphics

2079 · 5 marks

Discuss the use of computer graphics in different areas. [5]

Computer graphics has become an essential tool across numerous fields. Here are the major application areas: - Film and Animation: Creation of animated movies, visual effects (VFX), and 3D cinematography - Gaming: Development of video games with realistic graphics, immersive environments, and int...

Open this answer on its own page →