Module-5 PPT
Module-5 PPT
Module - 5
Three Dimensional Geometric Transformations,
Curves & Fractal Generation
Prof: Nilambari G. Narkar
Computer Engineering Department
Introduction
• Methods for geometric transformations and
object modeling in three dimensions are
extended from two-dimensional methods by
including considerations for the z coordinate.
Matrix Representation
1 0 0 0
0 1 0 0
0 0 0 0
0 0 0 1
• Common choices for angle Ø are 30° and 45°, which display a
combination view of the front, side, and top (or front, side, and
bottom) of an object.
• Two commonly used values for α are those for which tanα = 1 and
tanα = 2.
• For the first case, α = 45° and the views obtained are called cavalier
projections. All lines perpendicular to the projection plane are
projected with no change in length.
Oblique projection of box onto Zv = 0 plane
Cavalier projections of a cube onto a view plane for two values of angle Ø.
• When the projection angle α is chosen so that tan α = 2, the resulting view
is called a cabinet projection.
• For this angle (~63.4), lines perpendicular to the viewing surface are
projected at one-half their length.
• Cabinet projections appear more realistic than cavalier projections
because of this reduction in the length of perpendiculars.
Cabinet projections of a cube onto a view plane for two values of angle Ø.
B-Spline Curve
• Uniform Periodic B-Spline Curve
• Cubic Periodic B-Spline Curve
• Open Uniform B-Spline Curve
• Non-uniform B-Spline Curve
Fractal
• The word fractal was derived from a Latin word fractus which means
broken.
• What are Fractals?
– Fractals are very complex pictures generated by a computer from
a single formula. They are created using iterations.
– This means one formula is repeated with slightly different values
over and over again, taking into account the results from the
previous iteration.
• Fractals are used in many areas such as −
– Astronomy − For analyzing galaxies, rings of Saturn, etc.
– Biology/Chemistry − For depicting bacteria cultures, Chemical
reactions, human anatomy, molecules, plants,
– Others − For depicting clouds, coastline and borderlines, data
compression, diffusion, economy, fractal art, fractal music,
landscapes, special effect, etc.
Fractal
• Generation of Fractals:
– Fractals can be generated by repeating the same shape
over and over again as shown in the following figure.
– In figure ’a’ shows an equilateral triangle.
– In figure ’b’, we can see that the triangle is repeated to
create a star-like shape.
– In figure ’c’, we can see that the star shape in figure ’b’ is
repeated again and again to create a new shape.
• We can do unlimited number of iteration to create
a desired shape. In programming terms, recursion is
used to create such shapes.
Fractal
As an example, if we use the initiator and generator shown in Fig. 10-68, we
can construct the snowflake pattern, or Koch curve, shown in Fig. 10-69.