Professional Documents
Culture Documents
net FAQ
Question: What is the concept of positive and negative angles?
Answer: Angles are positive angles if the terminal ray rotates counterclockwise around
the vertex from the initial ray . Angles are negative angles if the terminal ray
rotates clockwise around the vertex from the initial ray
Question: What Software packages are used to design "Room Layout Design and
Architectural Simulations" as in e-handouts?
Answer: Following are some famous known applications used for this purpose: CAD
system -> Designing and building then simulating layouts used mostly by
builders, engineers etc 3D Studio Max -> Designing of 3D objects Maya ->
Designing of 3D objects
Question: I tried to run code given in Lecture 13 using DevC for Table drawing but both
codes are not compiled?
Answer: This code is made using Borland Turbo C which will not run using other
compilers or coding languages, but actual purpose of this code for you is to
learn it by looking at how it works and map it into your own coding by what ever
you are using as compiler. Or try to use turbo C to compile this code. Use this
code as a learning tool pseudocode.
Question: What is the logic behind fractal geometry using in computer science? If fractal is
modern geometry than why we use euclidean geometry technique?
Answer: A fractal is generally "a rough or fragmented geometric shape that can be split
into parts, each of which is (at least approximately) a reduced-size copy of the
whole a property called self-similarity. The term was coined in 1975 and was
derived from the Latin fractus meaning "broken" or "fractured." Fractal is
modern geometry and uses of fractal often has the following features: • It has a
fine structure at arbitrarily small scales. • It is too irregular to be easily described
in traditional language. • It is self-similar (at least approximately or
stochastically). • It has a Hausdorff dimension which is greater than its
topological dimension (although this requirement is not met by space-filling
curves such as the Hilbert curve). • It has a simple and recursive definition.
Because they appear similar at all levels of magnification, fractals are often
considered to be infinitely complex (in informal terms). Natural objects that
approximate fractals to a degree include clouds, mountain ranges, lightning
bolts, coastlines, and snow flakes. However, not all self-similar objects are
fractal for example, the real line is formally self-similar but fails to have other
fractal characteristics.
Question: What is the main difference between Forward Scattering and Back Scattering?
Answer: Forward scattering is the normal scattering of light after interacting with any
surface but back scattering results only when the surface is very rough and
irregular so the light is reflected back in the direction it comes.
Question: If all value of rgb is maximum in positive then we get White in other hand if we
get rgb values in negative maximum then we get Black Color. Please guide.
Answer: The basic idea is that white color reflects all rays on the other hand black color
absorb all rays, now it once again depend on graphics package used as some
packages treat white as maximum rgb value and some treat black as maximum
rgb value. Maximum negative value is taken as minimum Maximum positive
value is taken as maximum
Question: If we get the r value in negative then only r gets the dark impact on the object
others values g and b in positive and these values are not getting the dark
impact on the object. Explain
Answer: Maximum negative value has lower value as compared to lesser negative value,
also Red color is more prominent than Blue and Green.
Question: Is 4 color Mode use in Printing and 3 color Mode use for Monitors or digital
display?
Answer: No, infact it is based on our graphics rendering engine we are using for example
open gl supports 4 color mode but there are other engines that don't support 4
color mode, it doesn't depend on the monitor or printer.
Question: What is the rastering and what is different b/w raster and rastering line?
Answer: Rasterization mean translating an image into pixels or raster lines. A Raster line
is horizontal scan line which is used in filling algorithms. Triangle rasterization is
related to scan line. And we fill the triangle using the scan lines (Raster line).
Question: Why is the Bresenham's line drawing algorithm more efficient than the DDA line
drawing algorithm?
Answer: Bresenham’s algorithm uses integer arithmetic whereas the DDA uses floating
point arithmetic; and as you know floating point arithmetic is much slower than
integer arithmetic that is why Bresenham’s algorithm is more efficient than DDA
algorithm.
Question: What is the difference between bitmap graphics & vector graphics?
Answer: In vector graphics we use lines ( In fact vectors) to represent and store images
so they have smaller size, on the other hand in bitmap graphics we use pixels
store and represent the image data.
Question: What is the basic difference b/w Flat shading and Phong shading?
Answer: Flat shading produce shading in a flat manner (It produces constant shading
3
http://www.vustudents.net
CS602 - Computer Graphics http://www.vustudents.net FAQ
everywhere on the object). In Phong shading we keep in mind the viewer
position so in it the shading output produced is more natural and can represent
shiny spots that are viewable from certain angles on reflecting object's surfaces.
Question: How many colors are used in the image if N bits are required to store a pixel?
Answer: 2n colors will be stored per pixel.
Question: What is the difference between bitmap graphics & colored graphics?
Answer: Bitmaps graphics store per pixel information. How much is the per pixel image
information depends upon the image type for example the black and white need
only one bit per pixel while colored image need 8, 16,24 bits per pixel.
Question: Explain what are "FRACTALS" & also their use in computer graphics?
Answer: Fractals Fractal are geometric patterns that is repeated at ever smaller scales to
produce irregular shapes and surfaces that can not be represented by classical
geometry. Fractals are used in computer modeling of irregular patterns and
structure in nature. Use of Fractals: Fractals are used to represent that kind of
complex natural objects that can not be represented by ordinary classical
geometry.
6
http://www.vustudents.net
CS602 - Computer Graphics http://www.vustudents.net FAQ
curve underlying simple harmonic motion, and the parabola.
8
http://www.vustudents.net
CS602 - Computer Graphics http://www.vustudents.net FAQ
you inquire (through a glGet* routine) the inverse of the ModelView matrix.
You'll need to compute the inverse with your own code.
Question: How do I get a specified point (XYZ) to appear at the center of the scene?
Answer: gluLookAt() is the easiest way to do this. Simply set the X, Y, and Z values of
your point as the fourth, fifth, and sixth parameters to gluLookAt().
10
http://www.vustudents.net
CS602 - Computer Graphics http://www.vustudents.net FAQ
programs running in character mode are severely limited. Programs that run
entirely in graphics mode are called graphics-based programs. In character
mode, the display screen is treated as an array of blocks, each of which can
hold one ASCII character. In graphics mode, the display screen is treated as an
array of pixels. Characters and other shapes are formed by turning on
combinations of pixels.
1. User Interfaces
2. Layout and Design
3. Scientific Visualization and Analysis
4. Art and Design
5. Medicine and Virtual Surgery
6. Layout Design & Architectural Simulations
7. History and cultural heritage
8. Entertainment
9. Simulations
10. Games
13
http://www.vustudents.net