Lecture 4-Curves and Surfaces
Lecture 4-Curves and Surfaces
Lecture 4
Introduction
• In computer graphics, curves and surfaces play a crucial role in
representing and modeling various shapes and objects.
• These mathematical constructs are fundamental for tasks like
computer-aided design (CAD), animation, and rendering.
• They allow digital artists, engineers, and designers to create and
manipulate complex shapes in a virtual environment.
• Understanding different types of curves and surfaces helps in efficient
representation and manipulation of 3D objects in computer graphics
applications.
2- dimensional Shape
• In geometry, a two-dimensional shape can be defined as a flat plane
figure or a shape that has two dimensions – length and width.
• Two-dimensional or 2-D shapes do not have any thickness and can be
measured in only two faces
3- Dimensional Shape
• In geometry, a three-dimensional shape can be defined as a solid figure or
an object or shape that has three dimensions – length, width and height.
Unlike two-dimensional shapes, three-dimensional shapes have thickness or
depth.
• The attributes of a three-dimensional figure are faces, edges and vertices.
The three dimensions compose the edges of a 3D geometric shape.
Curve in Computer Graphics
•For a full circle, "t" can range from 0 to 2π (0 to 360 degrees in radians).
•For a specific arc, adjust the range of "t" accordingly.
Activity - curves
• y = ax^2 + bx + c
• Y= sin(x)
• Y= mx+c
• (x^2 / a^2) + (y^2 / b^2) = 1