Computer Graphics question and answers

Define Computer Graphics
Computer graphics remains one of the most existing and rapidly growing computer fields. Computer Graphics may be defined as a pictorial representation or graphical representation of objects in a computer.

What is meant by scan code?
When a key is pressed on the keyboard, the keyboard controller places a code carry to the key pressed into a part of the memory called as the keyboard buffer. This code is called as the scan code.  

Define Random scan/Raster scan displays?
Random scan is a method in which the display is made by the electronic beam which is directed only to the points or part of the screen where the picture is to be drawn. The Raster scan system is a scanning technique in which the electrons sweep from top to bottom and from left to right. The intensity is turned on or off to light and unlight the pixel. Write down the attributes of characters

What is meant by refreshing of the screen?
Some method is needed for maintaining the picture on the screen. Refreshing of screen is done by keeping the phosphorus glowing to redraw the picture repeatedly. (i.e.)By quickly directing the electronic beam back to the same points

What is Aspect ratio?
The ratio of vertical points to the horizontal points necessary to produce length of lines in both directions of the screen is called the Aspect ratio. Usually the aspect ratio is ¾.

List out the merits and demerits of Penetration techniques.
The merits and demerits of the Penetration techniques are as follows

  1.  It is an inexpensive technique
  2. It has only four colors
  3. The quality of the picture is not good when it is compared to other techniques
  4. It can display color scans in monitors
  5. Poor limitation etc.

What is aliasing and antialiasing?
In the line drawing algorithms, all rasterzed locations do not match with the true line and have to represent a straight line. This problem is severe in low resolution screens. In such screens line appears like a stair-step. This effect is known as aliasing. The process of adjusting intensities of the pixels along the line to minimize the effect of aliasing is called antialiasing.

What is pixel phasing?
Pixel phasing is an antialiasing technique, stair steps are smoothed out by moving the electron beam to more nearly approximate positions specified by the object geometry.

List out the merits and demerits of DVST?

The merits and demerits of direct view storage tubes [DVST] are as follows:

  1. It has a flat screen
  2. Refreshing of screen is not required
  3. Selective or part erasing of screen is not possible
  4. It has poor contrast
  5. Performance is inferior to the refresh CRT.

What do you mean by emissive and non-emissive displays?
The emissive display converts electrical energy into light energy. The plasma panels, thin film electro-luminescent displays are the examples. The Non emissive are optical effects to convert the sunlight or light from any other source to graphic form. Liquid crystal display is an example.

What do you mean by scan conversion?

A major task of the display processor is digitizing a picture definition given in an application program into a set of pixel-intensity values for storage in the frame buffer. This digitization process is called scan conversion.

What is persistence?

The time it takes the emitted light from the screen to decay one tenth of its original intensity is called as persistence.
 

What is an output primitive?

Graphics programming packages provide function to describe a scene in terms of these basic geometric structures, referred to as output primitives.

What is resolution?

The maximum number of points that can be displayed without an overlap on a CRT is called as resolution.
What is scan line algorithm?

One way to fill the polygon is to apply the inside test. i.e to check whether the pixel is inside the polygon or outside the polygon and then highlight the pixel which lie inside the polygon. This approach is known as scan-line algorithm

Define coherence properties

A coherence property of a scene is apart of a scene by which relate one part of the scene with the other parts of the scene

What is seed fill?

One way to fill a polygon is to start from a given point (seed) known to be inside the polygon and highlight outward from this point i.e neighboring pixels until encounter the boundary pixels, this approach is called seed fill.

List out the merits and demerits of Plasma panel display:

Merits

  1. Refreshing is not required
  2. Produce a very steady image free of Flicker
  3. Less bulky than a CRT.

Demerits

  1. Poor resolution of up to 60 d.p.i
  2. It requires complex addressing and wiring
  3. It is costlier than CRT

What is Transformation?

Transformation is the process of introducing changes in the shape size and orientation of the object using scaling rotation reflection shearing & translation etc.

What is translation?

Translation is the process of changing the position of an object in a straight-line path from one coordinate location to another. Every point (x, y) in the object must undergo a displacement to (x´,y´). the transformation is: x´ = x + tx y´ = y+ty

What is scaling?

The scaling transformations changes the shape of an object and can be carried out by multiplying each vertex (x,y) by scaling factor Sx,Sy where Sx is the scaling factor of x and Sy is the scaling factor of y.

What is cell array?

The cell array is a primitive that allows users to display an arbitrary shape defined as a two dimensional grid pattern

What is meant by Addressability?

The Addressability is the number of individual dots per inch (d.p.i) that can be created. If the address of the current dot is (x, y) then the next dot will be (x+y), (x+y+1) etc.

What is rotation?

A 2-D rotation is done by repositioning the coordinates along a circular path, in X = rcos (q + f) and Y = r sin (q + f).

What is scaling?

The scaling transformations changes the shape of an object and can be carried out by multiplying each vertex (x,y) by scaling factor Sx,Sy where Sx is the scaling factor of x and Sy is the scaling factor of y.

What is interdot distance?

Interdot distance is the reciprocal of addressability. If the addressability is large, the interdot distance will be less. The interdot distance should be less to get smooth shapes.

What is shearing?

The shearing transformation actually slants the object along the X direction or the Y direction as required.ie; this transformation slants the shape of an object along a required plane.

What is the difference between impact and non-impact printers?

Impact printer press formed character faces against an inked ribbon on to the paper. A line printer and dot-matrix printer are examples. Non-impact printer and plotters use Laser techniques, inkjet sprays, Xerographic process, electrostatic methods and electro thermal methods to get images onto the papers. Examples are: Inkjet/Laser printers.

What is reflection?

The reflection is actually the transformation that produces a mirror image of an object. For this use some angles and lines of reflection.

What are the features of Inkjet printers?

  1. They can print 2 to 4 pages/minutes.
  2. Resolution is about 360d.p.i. Therefore better print quality is achieved.
  3. The operating cost is very low. The only part that requires replacement is ink cartridge.
  4. colors cyan, yellow, magenta, black are available.

Define pixel.
Pixel is shortened forms of picture element. Each screen point is referred to as pixel or pel.  

Distinguish between window port & view port.

A portion of a picture that is to be displayed by a window is known as window port. The display area of the part selected or the form in which the selected part is viewed is known as view port.

What is frame buffer?

Picture definition is stored in a memory area called frame buffer or refresh buffer.

What are the advantages of laser printer?

  1. High speed, precision and economy.
  2. Cheap to maintain.
  3. Quality printers.
  4. Lasts for longer time.
  5. Toner power is very cheap.

What is a dot size?

Dot size may be defined as the diame  of a single dot on the devices output. Dot size is also called as the Spot size

What are the advantages of electrostatic plotters?

  1. They are faster than pen plotters and very high quality printers.
  2. Recent electrostatic plotters include a scan-conversion capability.
  3. Color electrostatic plotters are available. They make multiple passes over the paper to plot color pictures

 Define clipping? And types of clipping.

Clipping is the method of cutting a graphics display to neatly fit a predefined graphics region or the view port.  Point clipping Line clipping  Area clipping Curve clipping Text clipping

What is bitmap and what is pixmap?

The frame buffer used in the black and white system is known as bitmap which take one bit per pixel. For systems with multiple bits per pixel, the frame buffer is often referred to as a pixmap

What is the need of homogeneous coordinates?

To perform more than one transformation at a time, use homogeneous coordinates or matrixes. They reduce unwanted calculations intermediate steps saves time and memory and produce a sequence of transformations.

What is interdot distance?

Interdot distance is the reciprocal of addressability. If the addressability is large, the interdot distance will be less. The interdot distance should be less to get smooth shapes.

What is fixed point scaling?

The location of a scaled object can be controlled by a position called the fixed point that is to remain unchanged after the scaling transformation.

What is type face?

Letters, numbers and other characters can be displayed in a variety of sizes and styles. The overall design style for a set of characters is called a type face.

What is a Vector display or stroke writing or calligraphic display?

Random scan monitors draw a picture one line at a time and for this reason are also referred as vector displays

Where the video controller is used?

A special purpose processor, which is used to control the operation of the display device, is known as video controller or display controller.  

Define Affine transformation?

A coordinate transformation of the form X= axxx +axyy+bx, y =ayxx+ayy y+by is called a twodimensional affine transformation. Each of the transformed coordinates x „and y „is a linear function of the original coordinates x and y, and parameters aij and bk are constants determined by the transformation type.

What do you mean by scan conversion?

A major task of the display processor is digitizing a picture definition given in an application program into a set of pixel-intensity values for storage in the frame buffer. This digitization process is called scan conversion

What is shearing?

The shearing transformation actually slants the object along the X direction or the Y direction as required.ie; this transformation slants the shape of an object along a required plane

What is reflection?

The reflection is actually the transformation that produces a mirror image of an object. For this use some angles and lines of reflection.

What is an output primitive? Graphics programming packages provide function to describe a scene in terms of these basic geometric structures, referred to as output primitives

What do you mean by ‘jaggies’?

Line with stair step appearance is known as jaggies

Define clipping.

Clipping is the method of cutting a graphics display to neatly fit a predefined graphics region or the view port

What is covering (exterior clipping)?

This is just opposite to clipping. This removes the lines coming inside the windows and displays the remaining. Covering is mainly used to make labels on the complex pictures

What is the need of homogeneous coordinates?

To perform more than one transformation at a time, use homogeneous coordinates or matrixes. They reduce unwanted calculations intermediate steps saves time and memory and produce a sequence of transformations

Distinguish between uniform scaling and differential scaling?

When the scaling factors sx and sy are assigned to the same value, a uniform scaling is produced that maintains relative object proportions. Unequal values for sx and sy result in a differential scaling that is often used in design application

What is fixed point scaling?

The location of a scaled object can be controlled by a position called the fixed point that is to remain unchanged after the scaling transformation  

List out the various Text clipping.

  1. All-or-none string clipping -if all of the string is inside a clip window, keep it otherwise discards.
  2. All-or-none character clipping – discard only those characters that are not completely inside the window.Any character that either overlaps or is outside a window boundary is clipped.

What is point in the computer graphics system?

The point is a most basic graphical element & is completely defined by a pair of user coordinates (x , y).  

What is the use of clipping?

Clipping in computer graphics is to remove objects, lines or line segments that are outside the viewing volume.

Write short notes on lines?

A line is of infinite extent can be defined by an angle of slope q and one point on the line P=P(x,y). This can also be defined as Y=mx+C where C is the Y- intercept.

How will you clip a point?

Assuming that the clip window is a rectangle in standard position, we save a point P=(x,y) for display if the following inequalities are satisfied: xwmin ≤ x≤ xwmax ywmin ≤ y≤ ywmax where the edges of the clip window (xwmin ,xwmax, ywmin, ywmax) can be either the world coordinate window boundaries or viewport boundaries. If any one of these inequalities is not satisfied, the points are clipped (not saved for display).

Define viewing transformation.

The mapping of a part of world coordinate scene to device coordinates are called viewing transformation. Two dimensional viewing transformation is simply referred to as window to viewport transformation or the windowing transformation.

What do you mean by font?

The term font referred to a set of cast metal character forms in a particular size and format, such as 10-point courier italic

What is a bitmapped font?

A simple method for representing the character shapes in a particular typeface is to use rectangular grid patterns. The set of characters are then referred to as a bitmap font.

What is an outline font?

A flexible scheme is to describe character shapes using straight-line and curve sections. In this case, the set of character is called an out line font.

Define polygon.

A polygon is any closed continues sequence of line segments ie, a polyline whose last node point is same as that of its first node point. The line segments form the sides of the polygon and their intersecting points form the vertices of the polygon

Distinguish between convex and concave polygons.

If the line joining any two points in the polygon lies completely inside the polygon then, they are known as convex polygons. If the line joining any two points in the polygon lies outside the polygon then, they are known as concave polygons  

What are the various representation schemes used in three dimensional objects?

Boundary representation (B-res) – describe the 3 dimensional object as a set of surfaces that separate the object interior from the environment. Space-portioning representation – describe interior properties, by partitioning the spatial region containing an object into a set of small, no overlapping, contiguous solids.  

What is Polygon mesh?

Polygon mesh is a method to represent the polygon, when the object surfaces are tiled, it is more convenient tospecify the surface facets with a mesh function. The various meshes are

  1. Triangle strip – (n-2) connected triangles
  2. Quadrilateral mesh – generates (n-1)(m-1) Quadrilateral

 Define B-Spline curve.

A B-Spline curve is a set of piecewise(usually cubic) polynomial segments that pass close to a set of control points. However the curve does not pass through these control points, it only passes close to them.

What is an attribute parameter?

Any parameter that affects the way a primitive is to be displayed is referred to as an attribute parameter

What are the various attributes of a line?

The line type, width and color are the attributes of the line. The line type include solid line, dashed lines, and dotted lines.

What is a spline?

To produce a smooth curve through a designed set of points, a flexible strip called spline is used. Such a spline curve can be mathematically described with a piecewise cubic polynomial function whose first and second derivatives are continuous across various curve section.  

What is the use of control points?

Spline curve can be specified by giving a set of coordinate positions called control points, which indicates the general shape of the curve, can specify spline curve.

What is pixel mask?

Pixel mask is a string containing the digits 1 and 0 to indicate which positions to plot along the line path. The mask 1111000, could be used to display a dashed line with a dash length of 4 and inter dot spacing of three.

What is a Line cap?

Line caps can be used to adjust the shape of the line ends to give a better appearance. There are three types of line caps. Butt cap which has a square end, round cap which has a semi circle end, projecting square cap which has one half of the line width beyond the specified end points

List out the methods used for smoothly joining two line segments?

Mitter join– by extending the outer boundaries of each of the two lines until they meet.

Round join – by capping the connection between the two segments with a circular boundary whose diameter is equal to the line width.

Bevel join – by displaying the line segments with butt caps and filling in the triangular gap where the segment meet

What is Color Look up table?

In color displays, 24 bits per pixel are commonly used, where 8 bits represent 256 level for each color. It is necessary to read 24- bit for each pixel from frame buffer. This is very time consuming. To avoid this video controller uses look up table to store many entries to pixel values in RGB format. This look up table is commonly known as colour table

What is tiling patterns?

The process of filling an area with rectangular pattern is called tiling and rectangular fill patterns are sometimes referred to as tiling patterns.

What is soft fill?

Soft fill is a filling method in which fill color is combined with the background colors

What is kerned character?

The characters which extend beyond the character body limits is known as kerned character.

What is character up vector?

The orientation for a displayed character string is set according to the direction of the character up vector.

What are the different ways of specifying spline curve?

  1. Using a set of boundary conditions that are imposed on the spline.
  2. Using the state matrix that characteristics the spline
  3. Using a set of blending functions that calculate the positions along the curve path by specifying combination of geometric constraints on the curve.

What is surface patch?

A single surface element can be defined as the surface traced out as two parameters (u, v) take all possible values between 0 and 1 in a two-parameter representation. Such a single surface element is known as a surface patch.

 What are the important properties of Bezier Curve?.

It needs only four control points

  • It always passes through the first and last control points
  • The curve lies entirely within the convex half formed by four control points.

Define bundled attributes

Individual attribute commands provide a simple and direct method for specifying attributes when a single output device is used. When several kinds of output device are available at a graphics installation, it is convenient to set up a table for each output device that lists set of attribute values that are to be used on that device to display each primitive type. Attribute specified in this manner is known as bundled attribute

What are the advantages of rendering polygons by scan line method?

  1. The max and min values of the scan were easily found.
  2. The intersection of scan lines with edges is easily calculated by a simple incremental method.
  3. The depth of the polygon at each pixel is easily calculated by an incremental method.

What are the advantages of rendering by patch splitting?

  1. It is fast- especially on workstations with a hardware polygon-rendering pipeline.
  2. Its speed can be varied by altering the depth of sub-division

What is a spline?

To produce a smooth curve through a designed set of points, a flexible strip called spline is used. Such a spline curve can be mathematically described with a piecewise cubic polynomial function whose first and second derivatives are continuous across various curve section

What is aliasing?

In the line drawing algorithms, all rasterzed locations do not match with the true line and have to represent a straight line. This problem is severe in low resolution screens. In such screens line appears like a stair-step. This effect is known as aliasing

Differentiate between interpolation spline and approximation spline.

When the spline curve passes through all the control points then it is called interpolate. When the curve is not passing through all the control points then that curve is called approximation spline.  

What is antialiasing?

The process of adjusting intensities of the pixels along the line to minimize the effect of aliasing is called antialiasing

What are the different ways of specifying spline curve?

  • Using a set of boundary conditions that are imposed on the spline.
  • Using the state matrix that characteristics the spline
  • Using a set of blending functions that calculate the positions along the curve path by specifying combination of geometric constraints on the curve

What do you mean by parabolic splines?

For parabolic splines a parabola is fitted through the first three points p1,p2,p3 of the data array of kot points. Then a second parabolic arc is found to fit the sequence of points p2, p3, p4. This continues in this way until a parabolic arc is found to fit through points pn-2, pn-1 and pn. The final plotted curve is a meshing together of all these parabolic arcs.

What is a Blobby object?

Some objects do not maintain a fixed shape, but change their surface characteristics in certain motions or when in proximity to other objects. That is known as blobby objects. Example – molecular structures, water droplets.

What is pixel phasing?

Pixel phasing is an antialiasing technique, stair steps are smoothed out by moving the electron beam to more nearly approximate positions specified by the object geometry

Write short notes on active and passive transformations?

  1. In the active transformation the points x and x| represent different coordinates of the same coordinate system. Here all the points are acted upon by the same transformation and hence the shape of the object is not distorted.
  2. In a passive transformation the points x and x| represent same points in the space but in a different coordinate system. Here the change in the coordinates is merely due to the change in the type of the user coordinate system.

What are the steps involved in 3D transformation?

Modeling Transformation Viewing Transformatio Projection Transformation Workstation Transformation

Define Octrees.

Hierarchical tree structures called octrees, are used to represent solid objects in some graphics systems. Medical imaging and other applications that require displays of object cross sections commonly use octree representation.  

Define Projection.

The process of displaying 3D into a 2D display unit is known as projection. The projection transforms 3D objects into a 2D projection plane. The process of converting the description of objects from world coordinates to viewing coordinates is known as projection.

What you mean by parallel projection?

Parallel projection is one in which z coordinates is discarded and parallel lines from each vertex on the object are extended until they intersect the view plane

What do you mean by Perspective projection?

Perspective projection is one in which the lines of projection are not parallel. Instead, they all converge at a single point called the center of projection.

What is Projection reference point?

In Perspective projection, the lines of projection are not parallel. Instead, they all converge at a single point called Projection reference point

What is the use of Projection reference point?

In Perspective projection, the object positions are transformed to the view plane along these converged projection line and the projected view of an object is determined by calculating the intersection of the converged projection lines with the view plane.

What are the different types of parallel projections?

The parallel projections are basically categorized into two types, depending on the relation between the direction of projection and the normal to the view plane. They are orthographic parallel projection and oblique projection

What is orthographic parallel projection?

When the direction of the projection is normal (perpendicular) to the view plane then the projection is known as orthographic parallel projection

What is orthographic oblique projection?

When the direction of the projection is not normal (not perpendicular) to the view plane then the projection is known as oblique projection

What is an axonometric orthographic projection?

The orthographic projection can display more than one face of an object. Such an orthographic projection is called axonometric orthographic projection

What is vanishing point?

The perspective projections of any set of parallel lines that are not parallel to the projection plane converge to appoint known as vanishing point.

What do you mean by principle vanishing point?

The vanishing point of any set of lines that are parallel to one of the three principle axes of an object is referred to as a principle vanishing point or axis vanishing point

What is view reference point?

The view reference point is the center of the viewing coordinate system. It is often chosen to be close to or on the surface of the some object in the scene.

What do you mean by view plane?
A view plane is nothing but the film plane in camera which is positioned and oriented for a particular shot of the scene.

What is view-plane normal vector?
This normal vector is the direction perpendicular to the view plane.  

What are subtractive colors?

RGB model is an additive system, the Cyan-Magenta-Yellow (CMY) model is a subtractive color model. In a subtractive model, the more that an element is added, the more that it subtracts from white. So, if none of these are present the result is white, and when all are fully present the result is black.

What do you mean by shading of objects?

A shading model dictates how light is scattered or reflected from a surface. The shading models described here focuses on achromatic light. Achromatic light has brightness and no color; it is a shade of gray so it is described by a single value its intensity. A shading model uses two types of light source to illuminate the objects in a scene : point light sources and ambient light.

What is texture?

The realism of an image is greatly enhanced by adding surface texture to various faces of a mesh object. The basic technique begins with some texture function,

texture(s,t) in texture space , which has two parameters s and t. The function texture(s,t) produces a color or intensity value for each value of s and t between 0(dark)and 1(light).

What are the types of reflection of incident light?

There are two different types of reflection of incident light

  1. Diffuse scattering.
  2. Specular reflections.

Define rendering

Rendering is the process of generating an image from a model (or models in what collectively could be called a scenefile), by means of computer programs. Also, the results of such a model can be called a rendering.

Differentiate flat and smooth shading

The main distinction is between a shading method that accentuates the individual polygons (flat shading) and a method that blends the faces to de-emphasize the edges between them (smooth shading).

Define shading

Shading is a process used in drawing for depicting levels of darkness on paper by applying media more densely or with a darker shade for darker areas, and less densely or with a lighter shade for lighter areas.

What is a shadow?

Shadows make an image more realistic. The way one object casts a shadow on another object gives important visual clues as to how the two objects are positioned with respect to each other. Shadows conveys lot of information as such, you are getting a second look at the object from the view point of the light source.

What are the two common sources of textures?

Shadows as Texture. Creating shadows with the use of a shadow buffer.  

Define intensity of light.

Intensity is the radiant energy emitted per unit time, per unit solid angle, and per unit projected area of source.  

What is hue?

The perceived light has a dominant frequency (or dominant wavelength). The dominant frequency is also called as hue or simply as color.  

What is purity of light?

Purity describes how washed out or how “pure” the color of the light appears. pastels and pale colors are described as less pure.  

Define the term chromacity.

The term chromacity is used to refer collectively to the two properties describing color characteristics: purity and dominant frequency.  

Define complementary colors.

If the two color sources combine to produce white light, they are referred to as ‘complementary colors. Examples of complementary color pairs are red and cyan, green and magenta, and blue and yellow.

 Define primary colors.

The two or three colors used to produce other colors in a color model are referred to as primary colors.

State the use of chromaticity diagram.

Comparing color gamuts for different sets of primaries. Identifying complementary colors. Determining dominant wavelength and purity of a given color.

 Define computer graphics animation. Computer graphics animation is the use of computer graphics equipment where the graphics output presentation dynamically changes in real time. This is often also called real time animation.   

What is tweening?

It is the process, which is applicable to animation objects defined by a sequence of points, and that change shape from frame to frame.  

Define frame.

One of the shape photographs that a film or video is made of is known as frame.  

What is solid modeling?

The construction of 3 dimensional objects for graphics display is often referred to as solid modeling.  

What is Fractals?

A Fractal is an object whose shape is irregular at all scales.  

What is a Fractal Dimension?

Fractal has infinite detail and fractal dimension. A fractal imbedded in n-dimensional space could have any fractional dimension between 0 and n. The Fractal Dimension D= LogN / Log S Where N is the No of Pieces and S is the Scaling Factor.

What is random fractal?

The patterns in the random fractals are no longer perfect and the random defects at all scale.  

What is geometric fractal?

A geometric fractal is a fractal that repeats self-similar patterns over all scales.  

What is Koch curve?

The Koch curve can be drawn by dividing line into 4 equal segments with scaling factor 1/3. And middle 2 segments are so adjusted that they form adjustment sides of an equilateral triangle.  

What is turtle graphics program?

The turtle program is a Robert that can move in 2 dimensions and it has a pencil for drawing. The turtle is defined by the following parameters.

  1. Position of the turtle (x, y)
  2. Heading of the turtle 0 the angle from the x axis.

 What is a Particle system?

A particle system is a method for modeling natural objects, or other irregularly shaped objects, that exhibit “fluidlike” properties. Particle systems are suitable for realistic rendering of fuzzy objects, smoke, sea and grass.

Give some examples for computer graphics standards.

  1. CORE – The Core graphics standard
  2. GKS — The Graphics Kernel system
  3. PHIGS – The Programmers Hierarchical Interactive Graphics System.
  4. GSX – The Graphics system extension
  5. NAPLPS – The North American presentation level protocol syntax

Leave a Reply