📘 Introduction to Computer Graphics — Exam Notes
🔹 1. Definition
Computer Graphics is a branch of computer science that deals with the creation, manipulation, and representation of visual images and objects using computers.
👉 In simple terms:
It is the process of generating images (pictures, animations, diagrams) with the help of a computer.
🔹 2. Key Concepts
✔️ 2.1 Types of Computer Graphics
-
Raster Graphics (Bitmap)
- Made up of tiny dots called pixels
- Example: Digital photos
- Resolution-dependent (quality decreases when zoomed)
-
Vector Graphics
- Made using mathematical equations (lines, curves, shapes)
- Example: Logos, illustrations
- Resolution-independent (can be scaled without losing quality)
✔️ 2.2 Basic Components of Computer Graphics System
-
Input Devices
- Keyboard, Mouse, Scanner, Light Pen
-
Output Devices
- Monitor, Printer, Plotter
-
Graphics Software
- Tools used to create/edit images (e.g., drawing software)
-
Frame Buffer
- Memory area that stores pixel information for display
✔️ 2.3 Pixel (Picture Element)
✔️ 2.4 Resolution
- Number of pixels on screen (e.g., 1920 × 1080)
- Higher resolution → clearer image
✔️ 2.5 Aspect Ratio
- Ratio of width to height of a screen
Example: 16:9
🔹 3. Applications of Computer Graphics
-
Computer-Aided Design (CAD)
- Used in engineering and architecture
-
Entertainment
- Movies, animation, video games
-
Education & Training
- Simulations, virtual labs
-
Medical Imaging
-
Graphical User Interfaces (GUI)
🔹 4. Graphics Pipeline (Basic Steps)
Step-by-Step Process:
-
Modeling
- Creating objects (shapes, structures)
-
Transformation
- Moving, rotating, scaling objects
-
Viewing
- Deciding camera position and angle
-
Projection
- Converting 3D objects into 2D view
-
Rendering
- Adding colors, lighting, textures
🔹 5. Types of Graphics Systems
-
Interactive Graphics
- User can interact in real-time (e.g., games)
-
Non-Interactive Graphics
- Predefined images (e.g., printed pictures)
🔹 6. Important Terms
- Rendering: Process of generating final image
- Clipping: Removing parts of objects outside display area
- Transformation: Changing position/size/orientation of objects
- Viewport: Area on screen where image is displayed
- Window: Portion of world coordinates selected for display
🔹 7. Basic Transformations (Important)
✔️ Translation (Moving object)
Formula:
[
x' = x + t_x,\quad y' = y + t_y
]
✔️ Scaling (Resizing object)
[
x' = x \cdot s_x,\quad y' = y \cdot s_y
]
✔️ Rotation (Rotating object)
[
x' = x \cos\theta - y \sin\theta
]
[
y' = x \sin\theta + y \cos\theta
]
🔹 8. Coordinate Systems
-
World Coordinates
-
Screen Coordinates
- Pixel-based positions on screen
🔹 9. Diagram Descriptions (for exams)
👉 Graphics Pipeline Diagram
👉 Pixel Grid Diagram
- Draw small boxes arranged in rows and columns
- Label one box as “Pixel”
👉 Coordinate System
- X-axis (horizontal), Y-axis (vertical)
- Origin (0,0)
🔹 10. Advantages of Computer Graphics
- Improves visualization
- Saves time and cost
- Enhances communication
- Enables simulations
🔹 11. Limitations
- Requires high processing power
- Expensive hardware/software
- Complex algorithms
📝 Likely Exam Questions
- Define computer graphics and explain its applications.
- Differentiate between raster and vector graphics.
- What is a pixel? Explain resolution and aspect ratio.
- Describe the components of a computer graphics system.
- Explain the graphics pipeline with steps.
- What are basic transformations? Explain with formulas.
- Define rendering and clipping.
- Explain coordinate systems in computer graphics.
- Write short notes on CAD and GUI.
- Compare interactive and non-interactive graphics.
⚡ Quick Revision Summary
- Computer Graphics = Creating images using computers
- Two types: Raster (pixels) & Vector (mathematical shapes)
- Pixel = smallest unit of image
- Resolution = clarity of image
- Pipeline = Modeling → Transformation → Projection → Rendering
- Key transformations: Translation, Scaling, Rotation
- Widely used in CAD, games, medical, GUI
- Important concepts: Rendering, Clipping, Viewport