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.
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 answerHide 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:
- Transform 3D geometry to screen space (rasterization)
- Calculate realistic colors and lighting (rendering)
- Produce final 2D image with depth, shading, and texture
Factors Affecting Rendered Output Quality
| Factor | Impact |
|---|---|
| Resolution | Higher pixel density produces sharper, more detailed images |
| Shading Model | Advanced models (Phong, PBR) produce more realistic lighting than flat shading |
| Texture Quality | High-resolution textures with proper filtering reduce aliasing and blur |
| Lighting Setup | Number and placement of lights, shadow mapping affect realism |
| Anti-aliasing | MSAA, FXAA reduce jagged edges and improve smoothness |
| Depth Precision | Z-buffer precision affects visibility accuracy and prevents z-fighting |
| Polygon Count | More triangles capture finer geometric details |
| Material Properties | Specular, 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.
Applications of computer graphics
2079 · 5 marks
Discuss the use of computer graphics in different areas. [5]
Make Unit 1 stick
Practice BIT304 with flashcards & quizzes