ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalITEC4128Triangles And Planes
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    ITEC4128

    Computer Graphics

    Progress0 / 15 done
    Topics15
    1Introduction to Computer Graphics2Graphics Systems3Point and Line Drawing Techniques4Circle Drawing Techniques5Ellipse and Other Curves62D Transformations7Clipping83D Concepts93D Transformations10Perspective Projection11Triangles and Planes12Triangle Rasterization13Lighting14Introduction to OpenGL15Animations
    4 min read
    Topic 11 of 15
    Topic Study Note Illustration
    11

    Triangles and Planes

    In computer graphics, triangles and planes are the most important geometric primitives used to represent 3D surfaces.

    ๐Ÿ“˜ Triangles and Planes โ€” Exam Notes (Computer Graphics)


    ๐Ÿ”น 1. Introduction

    In computer graphics, triangles and planes are the most important geometric primitives used to represent 3D surfaces.

    ๐Ÿ‘‰ Almost every 3D model (games, movies, CAD) is built using triangular meshes.


    ๐Ÿ”น 2. Triangle in Computer Graphics

    โœ”๏ธ Definition

    A triangle is a polygon formed by joining three non-collinear points in space:

    [ P_1(x_1,y_1,z_1),; P_2(x_2,y_2,z_2),; P_3(x_3,y_3,z_3) ]


    โœ”๏ธ Why Triangles are Important?

    • Always planar (lie on a single plane)
    • Simple to compute
    • Stable for rendering
    • Used to build complex 3D models

    โœ”๏ธ Triangle Representation

    A triangle has:

    • 3 vertices
    • 3 edges
    • 1 surface

    ๐Ÿ”น 3. Plane in Computer Graphics

    โœ”๏ธ Definition

    A plane is a flat 2D surface extending infinitely in 3D space.


    โœ”๏ธ General Equation of a Plane

    [ Ax + By + Cz + D = 0 ]

    Where:

    • (A, B, C) = normal vector components
    • (D) = constant

    ๐Ÿ”น 4. Normal Vector of a Plane (Very Important)

    โœ”๏ธ Definition

    A normal vector is a vector perpendicular to the plane.

    [ \vec{N} = (A, B, C) ]


    โœ”๏ธ Finding Normal from Triangle

    Given points (P_1, P_2, P_3):

    1. Find two vectors: [ \vec{U} = P_2 - P_1,\quad \vec{V} = P_3 - P_1 ]

    2. Compute cross product: [ \vec{N} = \vec{U} \times \vec{V} ]

    ๐Ÿ‘‰ This gives the planeโ€™s normal vector.


    ๐Ÿ”น 5. Equation of Plane Using Three Points

    โœ”๏ธ Steps

    1. Take three points of triangle
    2. Find two direction vectors
    3. Compute cross product โ†’ normal vector
    4. Substitute into plane equation

    ๐Ÿ”น 6. Triangle Normal (Shading Use)

    โœ”๏ธ Importance

    • Used in lighting and shading
    • Determines how light reflects from surface

    โœ”๏ธ Formula

    [ \vec{N} = (P_2 - P_1) \times (P_3 - P_1) ]


    ๐Ÿ”น 7. Plane Classification


    โœ”๏ธ 7.1 Front Face / Back Face

    • Determined using normal vector direction

    If:

    • Normal points toward viewer โ†’ Front face
    • Away from viewer โ†’ Back face

    โœ”๏ธ 7.2 Back-Face Culling (Important)

    • Removes faces not visible to camera
    • Improves rendering speed

    ๐Ÿ”น 8. Point and Plane Relationship

    For plane: [ Ax + By + Cz + D = 0 ]

    Substitute point (P(x,y,z)):

    โœ”๏ธ Cases

    • If value = 0 โ†’ Point lies on plane
    • If value > 0 โ†’ One side of plane
    • If value < 0 โ†’ Other side of plane

    ๐Ÿ”น 9. Distance of Point from Plane

    โœ”๏ธ Formula

    [ d = \frac{|Ax + By + Cz + D|}{\sqrt{A^2 + B^2 + C^2}} ]


    ๐Ÿ”น 10. Plane in Rendering

    Planes are used in:

    • Polygon surfaces
    • 3D object modeling
    • Collision detection
    • Lighting calculations

    ๐Ÿ”น 11. Triangles in 3D Modeling

    โœ”๏ธ Triangle Mesh

    • Complex objects are made of many triangles

    • Example:

      • Human face โ†’ thousands of triangles
      • 3D car model โ†’ triangle mesh

    ๐Ÿ”น 12. Advantages of Triangles

    • Always planar
    • Easy to compute
    • Efficient rendering
    • Works well with GPUs

    ๐Ÿ”น 13. Limitations

    • Large models require many triangles
    • Can increase memory usage

    ๐Ÿ”น 14. Diagram Descriptions

    โœ”๏ธ Triangle in 3D

    • Draw 3 points in space
    • Connect them to form triangle

    โœ”๏ธ Plane

    • Draw large flat surface
    • Show normal vector perpendicular to surface

    โœ”๏ธ Cross Product

    • Show two vectors forming a plane
    • Resulting normal vector perpendicular

    ๐Ÿ“ Likely Exam Questions

    1. Define triangle in computer graphics.
    2. Why are triangles important in 3D modeling?
    3. Write equation of a plane.
    4. How do you find normal vector of a plane?
    5. Explain plane equation using three points.
    6. What is back-face culling?
    7. Derive distance from point to plane.
    8. Explain triangle mesh.
    9. Differentiate between triangle and plane.
    10. Solve numerical using cross product for normal.

    โšก Quick Revision Summary

    • Triangle = 3 connected points (always planar)

    • Plane equation: [ Ax + By + Cz + D = 0 ]

    • Normal vector: [ \vec{N} = (A, B, C) ]

    • Found using: [ (P_2 - P_1) \times (P_3 - P_1) ]

    • Used in:

      • 3D modeling
      • Shading
      • Rendering
    • Key idea: Everything in 3D graphics is built from triangles


    โ† Previous topic 10
    Perspective Projection
    Next topic 12 โ†’
    Triangle Rasterization

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    4mremaining
    642words
    Beginnerlevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Computer Graphics