CG Assignment 2
CG Assignment 2
Ans Projection:
In the context of geometry and computer graphics, a projection refers to the transformation of a
three-dimensional (3D) object or scene onto a two-dimensional (2D) plane, such as a computer
screen or paper. Projections are used to represent 3D objects in 2D, preserving certain aspects of the
object like shape, size, or relative position.
1. Parallel Projection
2. Perspective Projection
1. Parallel Projection:
In a parallel projection, lines that are parallel in 3D space remain parallel when projected onto the
2D plane. This type of projection does not simulate the effect of distance, meaning objects further
away do not appear smaller.
Orthographic Projection:
Mathematical Representation:
The orthographic projection onto the xy-plane is represented by:
Diagram: A 3D object like a cube is projected onto a 2D plane without perspective effects.
Axonometric Projection:
o A type of orthographic projection where the object is rotated along one or more
axes relative to the projection plane.
2. Dimetric Projection (two axes have equal scaling, but not the third)
Oblique Projection:
o Used when both the front and side of an object need to be displayed.
2. Perspective Projection:
In perspective projection, lines that are parallel in 3D space converge at a vanishing point. This
projection simulates how the human eye perceives the world: objects that are farther away appear
smaller than those that are closer.
One-Point Perspective:
o The projection has a single vanishing point on the horizon where lines parallel to one
axis converge.
o Often used to represent objects like roads or hallways receding into the distance.
Mathematical Representation:
The transformation for a point (x, y, z) to a projected point (x', y') in one-point perspective can be
written as:
Two-Point Perspective:
o This projection uses two vanishing points, typically for representing objects rotated
along one axis (like looking at the corner of a building).
Mathematical Representation:
The x- and y- coordinates are transformed similarly to the one-point perspective, but in this case,
both x and z are scaled to their respective vanishing points:
Three-Point Perspective:
o A more complex projection that uses three vanishing points, one for each of the x, y,
and z axes.
Mathematical Representation: Similar to the one- and two-point projections, the transformation
involves scaling based on distances to all three vanishing points, and the transformation matrix
becomes more complex depending on the perspective setup.
Type of Projection
Linear (easier to compute) Non-linear (more realistic)
Matrix
Q2Write down the characteristics of tangents on Bezier Curves giving their expression.
Differentiate
Ans
Characteristics of Tangents on Bezier Curves:
Comparison Between Bezier Curves and B-Spline Curves:
Lack of local control; moving any Provides local control: adjusting a control point
Local Control control point affects the entire only affects a portion of the curve due to the
curve. piecewise nature of B-Splines.
segment. Compute the values of a,b,c such that the curve starts from the point (21,43) and
terminates