Unit-4: 1. Discuss Three Dimensional Display Methods / Techniques Parallel Projection
Unit-4: 1. Discuss Three Dimensional Display Methods / Techniques Parallel Projection
Parallel Projection
This method generates view from solid object by projecting parallel lines onto the display plane.
By changing viewing position we can get different views of 3D object onto 2D display screen.
Perspective projection
This method generating view of 3D object by projecting point on the display plane along converging
paths.
Depth cueing
Many times depth information is important so that we can identify for a particular viewing direction
which are the front surfaces and which are the back surfaces of display object.
1
Unit-4
Simple method to do this is depth cueing in which assign higher intensity to closer object & lower
intensity to the far objects.
Depth cuing is applied by choosing maximum and minimum intensity values and a range of distance over
which the intensities are to vary.
Another application is to modeling effect of atmosphere.
2. Discuss importance of polygon surface table, plane equations and polygon mesh in 3d
Transformations
Polygon Surfaces
A polygonal surface can be thought of as a surface composed of polygonal faces.
The most commonly used boundary representation for a three dimensional object is a set of polygon
surfaces that enclose the object interior
Polygon Tables
Representation of vertex coordinates, edges and other property of polygon into table form is called
polygon table.
Polygon data tables can be organized into two groups: geometric table and attributes table.
Geometric table contains vertex coordinate and the other parameter which specify geometry of polygon.
Attributes table stores other information like Color, transparency etc.
Convenient way to represent geometric table into three different table namely vertex table, edge table,
and polygon table.
V1
E1
V2 E3
S1 E6
E2
S2
V3 V5
E4 E5
V4
2
Unit-4
Edge Table
Vertex Table
E1: V1, V2
V1: X1, Y1, Z1 Polygon Surface
E2: V2, V3
V2: X2, Y2, Z2 Table
E3: V3, V1
V3: X3, Y3, Z3 S1: E1, E2, E3
E4: V3, V4
V4: X4, Y4, Z4 S2: E3, E4, E5, E6
E5: V4, V5
V5: X5, Y5, Z5
E6: V5, V1
Fig. 4.5: - Edge table of above example with extra information as surface pointer.
Now if any surface entry in polygon table will find edge in edge table it will verify whether this edge is of
particular surface’s edge or not if not it will detect errors and may be correct if sufficient information is
added.
Plane Equations
For producing display of 3D objects we must process the input data representation for the object
through several procedures.
For this processing we sometimes need to find orientation and it can be obtained by vertex coordinate
values and the equation of polygon plane.
Equation of plane is given as
𝐴𝑥 + 𝐵𝑦 + 𝐶𝑧 + 𝐷 = 0
Where (x, y, z) is any point on the plane and A, B, C, D are constants by solving three plane equation for
three non collinear points. And solve simultaneous equation for ratio A/D, B/D, and C/D as follows
3
Unit-4
N= (A, B, C)
Y
X
Z
Fig. 4.6: - the vector N normal to the surface.
Here N= (A,B,C) where A, B, C are the plane coefficient.
When we are dealing with the polygon surfaces that enclose object interior we define the side of the
faces towards object interior is as inside face and outward side as outside face.
We can calculate normal vector N for any particular surface by cross product of two vectors in counter
clockwise direction in right handed system then.
𝑁 = (𝑣2 − 𝑣1)𝑋(𝑣3 − 𝑣1)
Now N gives values A, B, C for that plane and D can be obtained by putting these values in plane
equation for one of the vertices and solving for D.
Using plane equation in vector form we can obtain D as
𝑁 ∙ 𝑃 = −𝐷
Plane equation is also used to find position of any point compare to plane surface as follows
4
Unit-4
Polygon Meshes
Fig. 4.7: -A triangle strip formed with 11 triangle Fig. 4.8: -A quadrilateral mesh containing 12 quadrilaterals
connecting 13 vertices constructed from a 5 by 4 input vertex array
Polygon mesh is a collection of edges, vertices and faces that defines the shape of the polyhedral object
in 3D computer graphics and solid modeling.
An edge can be shared by two or more polygons and vertex is shared by at least two edges.
Polygon mesh is represented in following ways
o Explicit representation
o Pointer to vertex list
o Pointer to edge list
5
Unit-4
3. Discuss basic and other transformation of 3D with matrix representation.
Basic Transformation
Translation:
Rotation
For 3D rotation we need to pick an axis to rotate about. The most common choices are the X-axis,
Y-axis and Z-axis.
6
Unit-4
7
Unit-4
Other Transformation
8
Unit-4
5- Marks:
1. Briefly explain polygon table in 3D
2. Explain polygon mesh
9