**Fundamentals of Computer Graphics: **Computer graphics is the field of study concerned with creating, displaying, and manipulating visual content on a computer screen. It encompasses a wide range of applications, from 2D and 3D graphics to animation, virtual reality, and computer vision.

At its core, computer graphics is a combination of art and science. It relies on mathematical concepts like geometry, linear algebra, and calculus, as well as computer programming techniques, to create images and animations that can be viewed and interacted with by users.

**The fundamentals of computer graphics include:**

**Modeling:**This is the process of creating a virtual representation of an object or scene. Models can be created using various techniques, such as polygonal modeling,**NURBS modeling**, or procedural modeling.**Rendering:**Rendering is the process of taking a 3D model and producing a 2D image or animation from it. This involves calculating how light interacts with the objects in the scene and simulating the resulting reflections, shadows, and other effects.**Texturing:**Texturing involves applying 2D images or patterns to 3D models to give them the appearance of different materials, such as wood, metal, or fabric.**Animation:**Animation is the process of creating movement and changes over time in a sequence of images. This can involve animating characters, objects, or even entire scenes.**User interfaces:**User interfaces are the means by which users interact with computer graphics applications. These can range from simple buttons and menus to more complex virtual reality environments.

Computer graphics are used in a variety of fields, from entertainment and gaming to education, science, and engineering. It is a constantly evolving field, with new technologies and techniques being developed all the time.

**Product Cycle**

The product cycle in CAD (Computer-Aided Design) refers to the process of designing and developing a product using computer software. The product cycle in CAD involves various stages, including conceptualization, design, analysis, testing, manufacturing, release, and maintenance.

**The product cycle in CAD (Computer-Aided Design) typically involves the following stages:**

**➣****Conceptualization:** The first stage involves the creation of a rough sketch or a concept design of the product. This stage requires brainstorming ideas, creating rough sketches, and selecting the best design option.

**➣** **Design: **In this stage, the design is refined and detailed using CAD software. The design is created with precision using 2D or 3D models, and different features and components are added.

**➣** **Analysis:** Once the design is complete, it undergoes an analysis phase to ensure that it meets the requirements and specifications. This phase may involve structural analysis, finite element analysis, or other types of testing.

**➣** **Testing:** The product is tested to evaluate its performance and functionality. This stage may include prototype testing or virtual testing using simulations.

**➣** **Manufacturing:** Once the design has been tested and approved, the manufacturing process begins. CAD models are used to create the necessary tooling and molds to produce the product.

**➣** **Release:** The product is released into the market and made available for sale.

**➣** **Maintenance: **After the product is released, it may require maintenance and updates to ensure that it continues to perform optimally. CAD models may be used to make changes and updates to the product design.

**In simple words:**

During the **conceptualization stage**, the initial design concept is developed using sketches or other ideation tools. The design is then further refined during the design stage using CAD software, where detailed 2D or 3D models are created, and various components and features are added.

Next, during the **analysis stage**, the product design undergoes various types of testing, including structural analysis, finite element analysis, or other types of simulations, to ensure that it meets the required specifications and performance standards.

Once the design has been analyzed and tested, the product can move into the **manufacturing stage**, where CAD models are used to create the necessary tooling and molds to produce the product.

Finally, after the product is manufactured, it is **released** into the market and made available for sale. Ongoing maintenance and updates may be required to ensure that the product continues to perform optimally, which may involve using CAD models to make changes and updates to the product design.

**Computer-Aided Design (CAD)**

Computer-aided design (CAD) refers to the use of computer software to create, modify, analyze, and optimize designs for a wide range of products and structures, including buildings, machines, electronic circuits, and more.

CAD software allows designers and engineers to create 2D or 3D models of their designs, as well as to simulate and test various aspects of their designs, such as stress and load-bearing capabilities, aerodynamics, **fluid dynamics**, and more.

CAD software can also automate many aspects of the design process, such as generating bills of materials, rendering photorealistic images, and even creating CNC machine instructions.

CAD has revolutionized the way designs are created and optimized, allowing for faster, more accurate, and more efficient design processes.

**Benefits of CAD**

There are numerous benefits of using CAD (Computer-Aided Design) in product design and development. **Some of the key benefits include:**

**➣** **Increased efficiency:** CAD allows designers to create and modify designs much faster and more accurately than traditional manual drafting methods. This increases the efficiency of the design process and allows for quicker product development times.

**➣** **Improved accuracy:** CAD software ensures that designs are precise and accurate, which can reduce errors and ensure that the final product meets the required specifications and performance standards.

**➣** **Enhanced visualization:** CAD software enables designers to create **realistic 3D models** of products, which can help them visualize the product more accurately and identify potential design flaws or improvements.

**➣** **Increased productivity:** CAD software automates many of the design and drafting tasks, which reduces the time and effort required to complete designs. This can increase the productivity of the design team and allow them to focus on more creative and strategic aspects of the product development process.

**➣** **Better collaboration:** CAD software allows designers and engineers to work together in a more collaborative manner, sharing and modifying designs in real-time. This can improve communication and coordination between teams, reducing the risk of errors and improving the overall quality of the final product.

**➣** **Cost savings:** CAD can help to reduce the costs associated with product development by minimizing errors, reducing rework, and improving the overall efficiency of the design process.

In summary, CAD offers many benefits that can improve the efficiency, accuracy, visualization, productivity, collaboration, and cost-effectiveness of product design and development.

**Sequential & Concurrent Engineering**

Sequential engineering and concurrent engineering are two different approaches to product development.

**Sequential engineering** is a traditional approach that involves developing a product in a linear sequence of stages, with each stage completed before the next one begins. This means that the design stage must be completed before the analysis stage can begin, and the analysis stage must be completed before the manufacturing stage can begin. This approach is often slower and less flexible than concurrent engineering.

**Concurrent engineering** is a modern approach to product development that involves multiple stages happening at the same time, with each stage overlapping and occurring simultaneously. This means that the design, analysis, and manufacturing stages can all happen at the same time, with communication and collaboration between teams to ensure that the product meets the required specifications and performance standards. This approach allows for more flexibility, faster development times, and more efficient use of resources.

In summary, sequential engineering is a linear approach to product development, while concurrent engineering is a modern approach that involves overlapping stages and collaboration between teams.

**READ: Electron Beam Machining: Components, Working, Advantages & Disadvantages**

**Difference Between Sequential & Concurrent Engineering**

The main difference between sequential and concurrent engineering is the approach used to develop a product. **Sequential engineering** is a traditional approach that involves completing each stage of the product development process in a linear sequence before moving on to the next stage.

In contrast, **concurrent engineering** is a modern approach that involves multiple stages happening simultaneously, with teams collaborating and communicating to ensure that the product meets the required specifications.

**Some key differences between sequential and concurrent engineering include:**

**➣** **Time to market:** Sequential engineering can be slower than concurrent engineering because each stage must be completed before the next stage can begin. This can lead to longer development times and a slower time to market for the final product.

**➣** **Flexibility:** Concurrent engineering is more flexible than sequential engineering because it allows for changes and adjustments to be made at any stage of the process. This means that the final product can be better optimized and can more easily adapt to changes in the market or customer needs.

**➣** **Resource utilization:** Concurrent engineering can be more efficient in terms of resource utilization than sequential engineering because it allows for multiple stages to happen simultaneously, reducing the time and resources required to complete the product development process.

**➣** **Collaboration:** Concurrent engineering requires more collaboration and communication between teams than sequential engineering because different teams are working on different stages of the product development process simultaneously. This collaboration can lead to better outcomes, but also requires effective communication and coordination.

In summary, sequential engineering is a linear approach to product development, while concurrent engineering is a more flexible, collaborative, and efficient approach that allows for multiple stages to happen simultaneously.

**CAD System Structure**

A typical CAD (Computer-Aided Design) system is made up of several components, including hardware, software, and data. The structure of a CAD system can be broken down into the following components:

**➣** **Hardware:** The hardware component of a CAD system includes the computer and peripherals, such as input devices (e.g. mouse, keyboard, tablet), display devices (e.g. monitor, projector), and output devices (e.g. printer, plotter). These components are essential for creating and viewing CAD models.

**➣** **Software:** The software component of a CAD system includes the CAD application and any other software necessary to run the system, such as operating systems, database software, and graphics software. The CAD application is the main software component that allows users to create, modify, and analyze 2D or 3D models.

**➣** **Data:** The data component of a CAD system includes the files and data that are used by the CAD application. This includes CAD models, drawings, and specifications, as well as any other data that is necessary to create, modify, or analyze the models.

**➣** **User interface: **The user interface is part of the CAD system that allows users to interact with the software and hardware components. This includes the graphical user interface (GUI), menus, toolbars, and other user-friendly features that allow users to create and modify CAD models.

**➣** **Output: **The output component of a CAD system includes the final output generated by the CAD application, such as drawings, models, simulations, and reports.

Overall, the structure of a CAD system includes hardware, software, data, user interface, and output components, all of which work together to create and analyze CAD models.

**Computer Graphics**

Computer graphics plays a crucial role in computer-aided design (CAD). CAD software uses various graphical tools to create, modify, and analyze 2D and 3D models of designs.

Computer graphics allow designers to create 2D and 3D representations of their designs. This technology enables designers to visualize their designs from different angles and perspectives, allowing them to identify potential issues and make necessary changes before moving on to the production stage.

Some of the ways in which computer graphics are used in CAD include:

**➣** **Creating 2D and 3D models:** CAD software uses various graphical tools to create detailed 2D and 3D models of designs, including lines, curves, surfaces, and solids.

**➣** **Visualization:** CAD software allows designers to visualize the final product in 3D, which helps to identify potential design issues and make necessary changes.

**➣** **Rendering:** CAD software can create realistic renderings of designs, which helps to communicate the design to stakeholders, including clients, engineers, and manufacturers.

**➣** **Animation:** CAD software can also be used to create animated models of designs, which can help to demonstrate how the product will work and how it will look when in use.

Overall, computer graphics are a crucial part of CAD and are used to create, analyze, and communicate design ideas throughout the product development process.

**Coordinate System**

A coordinate system is an essential component of CAD (Computer-Aided Design). It is a reference system used to define the position and orientation of objects in the design space. In CAD, a coordinate system is a 3D Cartesian system that consists of three mutually perpendicular axes: X, Y, and Z.

The X-axis is the horizontal axis that runs from left to right. The Y-axis is the vertical axis that runs from bottom to top, and the Z-axis is the depth axis that runs from front to back. These three axes define the 3D space in which the design is created.

The coordinate system is used to locate points, lines, curves, and surfaces within the design space. The position of an object is defined by its coordinates, which are typically represented as a set of numerical values (X, Y, Z) that correspond to the distance of the object from the origin of the coordinate system. The origin of the coordinate system is the point where the three axes intersect.

CAD software provides tools to manipulate the coordinate system, such as rotating, scaling, and translating objects within the design space. These tools allow designers to create complex designs and analyze them from different perspectives. The coordinate system is a fundamental concept in CAD that enables precise and accurate design and engineering work.

**READ: Pneumatic Braking System: Benefits, Components & Applications**

**Types of Co-ordinate System**

There are several types of coordinate systems used in CAD (Computer-Aided Design), each with its specific use and advantages. The following are some of the most common types of coordinate systems used in CAD:

**1. Model Coordinate System** **(MCS)**

In CAD (Computer-Aided Design), the model coordinate system (MCS) is a reference system used to define the position and orientation of objects within a model. The MCS is a 3D Cartesian coordinate system that is unique to each model and is typically defined by the model’s origin, X-axis, Y-axis, and Z-axis.

The origin of the MCS is the point where the three axes intersect, and it is typically located at the center of the model or at a reference point within the model. The X-axis, Y-axis, and Z-axis define the three-dimensional space within the model, and they are used to specify the position and orientation of objects.

The MCS is important because it provides a consistent reference frame for all objects within the model. It ensures that all objects are aligned correctly and that they can be accurately positioned and manipulated within the model. The MCS is also used to specify the position and orientation of objects relative to each other, and it is essential for performing accurate simulations and analysis of the model.

CAD software provides tools to manipulate the MCS, such as rotating, scaling, and translating objects within the model space. These tools allow designers to create complex models and analyze them from different perspectives. The MCS is a fundamental concept in CAD that enables precise and accurate design and engineering work.

**Possible Orientation of MCS in 3D Space:**

The model coordinate system (MCS) in 3D space can be oriented in a variety of ways, depending on the requirements of the design or application. The following are some of the possible orientations of the MCS in 3D space:

**Origin at the Center:**The origin of the MCS is located at the center of the 3D space, with the X, Y, and Z axes extending outwards in positive and negative directions.**Origin at a Corner:**The origin of the MCS is located at one corner of the 3D space, with the X, Y, and Z axes extending outwards in positive and negative directions.**Aligned with an Object:**The MCS is aligned with a specific object within the 3D space, with the origin and axes aligned to match the object’s position and orientation.**Aligned with Gravity:**The MCS is oriented to align with the direction of gravity, with the Z-axis pointing vertically and the X and Y axes aligned to match the ground plane.**Arbitrary Orientation:**The MCS is oriented in an arbitrary way that is determined by the designer or application, such as aligning with a specific view or matching the orientation of a reference object.

The orientation of the MCS in 3D space is important because it provides a consistent reference frame for all objects within the model. It ensures that all objects are aligned correctly and can be accurately positioned and manipulated within the 3D space. The choice of the appropriate MCS orientation depends on the requirements of the design or application and the preferences of the designer.

**2. Working Coordinate System (WCS)**

In CAD (Computer-Aided Design), the working coordinate system (WCS) is a reference system that is used to define the position and orientation of objects during the design process. The WCS is a 3D Cartesian coordinate system that is defined relative to the model’s origin, which is the point where the three axes intersect.

The WCS is used to specify the position and orientation of objects during the design process, and it provides a consistent reference frame for all objects within the model. It ensures that all objects are aligned correctly and can be accurately positioned and manipulated within the 3D space. The WCS is also used to specify the position and orientation of objects relative to each other and is essential for performing accurate simulations and analysis of the model.

The WCS can be manipulated in several ways, including:

**Translation**: Moving the WCS to a new location within the 3D space.**Rotation**: Rotating the WCS about one or more of its axes.**Scaling**: Changing the size of the WCS to accommodate different scales of design.**Mirroring**: Creating a mirror image of the WCS along one of its axes.

The WCS is an essential concept in CAD that enables precise and accurate design and engineering work. The choice of the appropriate WCS depends on the requirements of the design or application and the preferences of the designer.

**3. Screen Coordinate System (SCS)**

The screen coordinate system is a 2D Cartesian coordinate system that is used in computer graphics to represent the position of objects on a computer screen. The screen coordinate system is usually measured in pixels, which are the smallest units of display on a computer screen.

The screen coordinate system has its origin at the top-left corner of the screen, with the X-axis extending horizontally to the right and the Y-axis extending vertically downwards. The X and Y coordinates of a point on the screen represent its horizontal and vertical position, respectively.

In computer graphics software, the screen coordinate system is used to display the model or scene that has been created in the working coordinate system (WCS) or the model coordinate system (MCS). The software maps the 3D objects in the model to 2D points on the screen using a projection algorithm.

**2D Transformation**

CAD (Computer-Aided Design) is a computer technology that is widely used in engineering, architecture, and design fields to create detailed drawings and models of products, buildings, and other objects. One of the important features of CAD software is its ability to transform 2D and 3D objects.

**2D transformation** refers to the process of changing the position, size, or orientation of a 2D object. The most common types of 2D transformations include translation (moving an object from one location to another), scaling (resizing an object), rotation (turning an object around a specified point), and reflection (flipping an object across a line).

In CAD software, these transformations are typically performed by selecting the object, specifying the transformation parameters, and then executing the transformation command.

**Types of 2D Transformation**

The most common types of 2D transformation include:

**TRANSLATION**

The translation is a type of 2D transformation that involves moving an object from its original position to a new position along a specified direction. The translation operation changes the position of each point of an object by a fixed distance in a specified direction.

The translation is usually described by two parameters: the amount of horizontal movement (tx) and the amount of vertical movement (ty). To perform a translation, each point of the object is shifted by the given values of tx and ty. If tx and ty are both positive, the object is moved to the right and upward respectively. Conversely, if they are both negative, the object is moved to the left and downward.

In CAD software, translation can be performed using a command or tool. Users can either specify the translation values numerically or graphically, by selecting a reference point on the object to be translated and dragging it to the new location. Some CAD software also allows users to perform multiple translations at once, by selecting and moving several objects simultaneously.

**SCALING**

Scaling is a type of 2D transformation that involves resizing an object by changing its size along the horizontal and vertical axes. Scaling can be uniform, where the object is resized by the same factor in both directions, or non-uniform, where the object is resized by different factors along the horizontal and vertical axes.

Scaling is usually described by two parameters: the scaling factor along the x-axis (sx) and the scaling factor along the y-axis (sy). If the scaling factors are both greater than 1, the object is enlarged; if they are both less than 1, the object is shrunk. If sx is greater than 1 and sy is less than 1 (or vice versa), the object is stretched or compressed along one axis.

In CAD software, scaling can be performed using a command or tool. Users can either specify the scaling factors numerically or graphically, by selecting a reference point on the object to be scaled and dragging it to the desired size. Some CAD software also allows users to perform multiple scalings at once, by selecting and scaling several objects simultaneously.

**ROTATION**

Rotation is a type of 2D transformation that involves rotating an object around a specified point by a certain angle. Rotation can be clockwise or counterclockwise, and the rotation angle is usually measured in degrees or radians.

Rotation is usually described by three parameters: the angle of rotation (θ), the x-coordinate of the rotation point (xr), and the y-coordinate of the rotation point (yr). To perform a rotation, each point of the object is rotated around the specified point by the given angle.

In CAD software, rotation can be performed using a command or tool. Users can either specify the rotation parameters numerically or graphically, by selecting a reference point on the object to be rotated and dragging it around the rotation point. Some CAD software also allows users to perform multiple rotations at once, by selecting and rotating several objects simultaneously.

**REFLECTION**

Reflection is a type of 2D transformation that involves flipping an object across a line or axis of symmetry. Reflection can be horizontal, vertical, or diagonal, depending on the orientation of the line or axis of symmetry.

Reflection is usually described by one parameter: the line or axis of symmetry across which the object is reflected. To perform a reflection, each point of the object is mirrored across the specified line or axis.

In CAD software, reflection can be performed using a command or tool. Users can either specify the line or axis of symmetry numerically or graphically, by selecting a reference point on the object to be reflected and dragging it across the line or axis. Some CAD software also allows users to perform multiple reflections at once, by selecting and reflecting several objects simultaneously.

**3D Transformation**

**3D transformation** involves the manipulation of 3D objects, including changing their position, size, orientation, and shape. Some common types of 3D transformations include translation (moving an object along a specified axis), scaling (resizing an object along different axes), rotation (turning an object around a specified point), and shearing (changing the shape of an object by tilting it along one or more axes).

In CAD software, these transformations are typically performed by selecting the object, specifying the transformation parameters, and then executing the transformation command.

One of the benefits of CAD software is that it allows users to perform complex transformations quickly and accurately. This is particularly useful in fields such as engineering and architecture, where precise measurements and positioning are critical.

Additionally, CAD software often includes a variety of tools and features that enable users to perform transformations more efficiently, such as the ability to specify transformation parameters numerically or to apply transformations to multiple objects at once.

**Types of 3D Transformation**

Some common types of 3D transformations include:

**TRANSLATION**

Translation in 3D transformation is similar to the translation in 2D transformation, except that it involves moving an object in three dimensions along a specified direction. The translation operation changes the position of each point of an object by a fixed distance in a specified direction.

The translation is usually described by three parameters: the amount of movement along the x-axis (tx), the amount of movement along the y-axis (ty), and the amount of movement along the z-axis (tz). To perform a translation, each point of the object is shifted by the given values of tx, ty, and tz. If tx, ty, and tz are all positive, the object is moved to the right, upward, and forward respectively. Conversely, if they are all negative, the object is moved to the left, downward, and backward.

In CAD software, translation can be performed using a command or tool. Users can either specify the translation values numerically or graphically, by selecting a reference point on the object to be translated and dragging it to the new location. Some CAD software also allows users to perform multiple translations at once, by selecting and moving several objects simultaneously in 3D space.

**SCALING**

Scaling in 3D transformation refers to the process of changing the size of an object in three dimensions. It involves transforming the coordinates of the object’s vertices by a scale factor in the x, y, and z directions.

To perform scaling in 3D transformation, we need to use a scaling matrix. This matrix is a diagonal matrix with the scaling factors on the diagonal and 1’s in the other positions. The scaling matrix can be expressed as:

```
S = [sx 0 0 0]
[0 sy 0 0]
[0 0 sz 0]
[0 0 0 1]
```

where `sx`

, `sy`

, and `sz`

are the scaling factors in the x, y, and z directions, respectively.

To apply scaling to an object in 3D space, we need to multiply the coordinates of the object’s vertices by the scaling matrix. This can be expressed as:

```
v' = S * v
```

where `v`

is the vector representing the coordinates of a vertex of the object, `S`

is the scaling matrix, and `v'`

is the vector representing the transformed coordinates of the vertex.

By applying different scaling factors to the x, y, and z directions, we can stretch or compress an object in 3D space. For example, if we want to double the size of an object in the x direction, we would set `sx`

to 2 and leave `sy`

and `sz`

as 1.

**ROTATION**

Rotation in 3D transformation refers to the process of changing the orientation or position of an object in three dimensions. It involves transforming the coordinates of the object’s vertices by rotating them around a fixed point or axis.

To perform rotation in 3D transformation, we need to use a rotation matrix. This matrix is a 3×3 matrix that describes the rotation in three dimensions. The rotation matrix can be expressed as:

```
R = [cosθ + ux^2(1-cosθ) ux*uy(1-cosθ)-uz*sinθ ux*uz(1-cosθ)+uy*sinθ]
[uy*ux(1-cosθ)+uz*sinθ cosθ+uy^2(1-cosθ) uy*uz(1-cosθ)-ux*sinθ]
[uz*ux(1-cosθ)-uy*sinθ uz*uy(1-cosθ)+ux*sinθ cosθ+uz^2(1-cosθ) ]
```

where `θ`

is the angle of rotation, and `(ux, uy, uz)`

is the axis of rotation. The axis of rotation is a unit vector that describes the direction around which the object is rotated.

To apply rotation to an object in 3D space, we need to multiply the coordinates of the object’s vertices by the rotation matrix. This can be expressed as:

```
v' = R * v
```

where `v`

is the vector representing the coordinates of a vertex of the object, `R`

is the rotation matrix, and `v'`

is the vector representing the transformed coordinates of the vertex.

By applying different angles of rotation and axis of rotation, we can rotate an object in 3D space around any point or axis. For example, to rotate an object by 90 degrees around the x-axis, we would set `θ`

to 90 degrees and set `(ux, uy, uz)`

to `(1, 0, 0)`

.

**SHEARING**

Shearing in 3D transformation refers to the process of changing the shape of an object by distorting it along one or more axes. It involves transforming the coordinates of the object’s vertices by displacing them along one or more axes in proportion to their distance from a reference plane.

To perform shearing in 3D transformation, we need to use a shearing matrix. This matrix is a 4×4 matrix that describes the shearing in three dimensions. The shearing matrix can be expressed as:

```
Sh = [1 shxy shxz 0]
[shyx 1 shyz 0]
[shzx shzy 1 0]
[0 0 0 1]
```

where `shxy`

, `shyx`

, `shxz`

, `shzx`

, `shyz`

, and `shzy`

are the shear factors.

To apply shearing to an object in 3D space, we need to multiply the coordinates of the object’s vertices by the shearing matrix. This can be expressed as:

```
v' = Sh * v
```

where `v`

is the vector representing the coordinates of a vertex of the object, `Sh`

is the shearing matrix, and `v'`

is the vector representing the transformed coordinates of the vertex.

By applying different shear factors to different axes, we can distort an object in 3D space. For example, if we want to shear an object along the x-axis, we would set `shxy`

, `shxz`

, `shyx`

, `shyz`

, `shzx`

, and `shzy`

to 0 except for the desired shear factor for the x-axis.

**Viewing Transformations**

Viewing transformations are a set of operations that are used to transform the coordinates of a 3D object in a world coordinate system into a 2D image that can be displayed on a screen. These transformations are used to create a perspective view of a 3D scene that simulates the way that objects appear in the real world.

**Viewing transformations typically involves several steps:**

**Object Transformation:** The first step is to transform the object from its local coordinate system to the world coordinate system. This is done using translation, rotation, scaling, and shearing transformations.

**View Transformation:** The second step is to transform the objects from the world coordinate system to the camera or viewer coordinate system. This transformation is achieved by positioning the camera in the world coordinate system and then calculating the inverse of its position and orientation. This inverse matrix is then used to transform the objects from the world coordinate system to the camera coordinate system.

**Projection Transformation:** The third step is to transform the objects from the camera coordinate system to the screen coordinate system. This transformation involves projecting the objects onto the 2D screen using a perspective or orthographic projection. The projection matrix is used to perform this transformation.

**Clipping:** The fourth step is to clip the objects that are outside the view frustum, which is the portion of the scene that is visible in the camera view.