Computer Graphics - Question Bank
Computer Graphics - Question Bank
1.What is Translation?
A translation is applied to an object by repositioning it along a straight-line
path from one coordinate location to another. We translate a two-dimensional point
by adding translation distances, tx and ty to the original coordinate position(x, y) to
move the point to a new position(x`, y`) is
x`= x + tx and y` = y + ty
The translation distance pair(tx,ty)is called translation vector or shift vector.
2.What is Rotation?
A two-dimensional rotation is applied to an object by repositioning it along a
circular path in the xy plane. To generate rotation, we specify a rotation angle θ and
the position (xr,yr)of the rotation point (pivot point) about which the object is to be
rotated.
3. What is Scaling?
A scaling transformation alters the size of an object. This operation can be
carried out for polygons by multiplying the coordinate values (x, y) of each vertex
by scaling factors sx and sy to produce the transformed coordinates (x` , y`)
x` = x * sx and y` = y * sy
4. What is fixed point?
We can control the location of a scaled object by choosing a position, called
the fixed point, that is to remain unchanged after the scaling transformation.
7. What is reflection?
A reflection is a transformation that produces a mirror image of an object.
The mirror image for a two-dimensional reflection is generated relative to an axis of
reflection by rotating the object 180° about the reflection axis.
8. What is Shear?
A transformation that distorts the shape of an object such that the
transformed shape appears as if the object were composed of internal layers that
had been caused to slide over each other is called shear.
9. Give ant three commands for generating the basic transformation matrices.
translate(translateVector, matrixTranslate)
rotate(theta, matrixRotate)
scale(scaleVector,matrixScale)
10. What are the raster functions provided to the graphics packages?
copy – move a pixel block from one raster area to another
read – save a pixel block in a designated array
write – transfer a pixel array to a position in the frame buffer.
21. What are the logical device classifications used by PHIGS and GKS?
LOCATOR –a device for specifying a coordinate position(x, y)
STROKE – a device for specifying a series of coordinate positions
STRING – a device for specifying text input
VALUATOR – a device for specifying scalar values
CHOICE – a device for selecting menu options
PICK – a device for selecting picture components
UNIT - II
1.What is the matrix representation of Translation in 3D homogeneous coordinate?
x` 1 0 0 tx x
y` = Mat of 0 1 0 ty Mat of y
Mat of z` 0 0 0 tz z
1 0 0 0 1 1
23.What are the four possibilities of the surface can have with a specified area
boundary?
- Surrounding surface
- Overlapping surface
- Inside surface
- Outside surface
24. Name any two 3D graphics package procedures related with visible surface
detection?
- backFace
- depthBuffer
Multimedia
1.Define Multimedia?
Multimedia is defined as a Computer based Interactive Communication
process that incorporates text, numeric, data , record based data, graphic art, video
and audio elements, animation etc. It is used for describing sophisticated system
that support moving images and audio.
7. What are the two technologies used for storage and display of GIS System ?
-Raster storage
-Raster Image