CS602 Solved Current Subjective Final Term by Junaid
CS602 Solved Current Subjective Final Term by Junaid
CS602 Solved Current Subjective Final Term by Junaid
Graphics
(SUBJECTIVE)
CURRENT-S2022
Junaidfazal08@gmail.com FOR MORE VISIT JUNAID MALIK
Bc190202640@vu.edu.pk
VULMSHELP.COME 0304-1659294
AL-JUNAID TECH INSTITUTE
1. Difference between point and vector?
ANSWER:
Point Vector
A point position in space. A Vector no fixed position in space
The only characteristic that A Vector has both magnitude and
distinguishes one point from another is direction.
its position.
we draw points as dots vectors as line segments with arrows.
2. Grouard shading:
ANSWWER:
is a per-vertex color computation. What this means is that the vertex shader must
determine a color for each vertex and pass the color as an out variable to the
fragment shader. Since this color is passed to the fragment shader as an in varying
variable.
3. Phung shading:
ANSWER:
is a per-fragment color computation. The vertex shader provides the normal and
position data as out variables to the fragment shader. The fragment shader then
interpolates these variables and computes the color.
ANSWER:
5. Types of fractals:
ANSWER:
AL-JUNAID TECH INSTITUTE
Fractal Trees
Fractals in Animal Bodies.
Fractal Snowflakes.
Fractal Lightning and Electricity.
Fractals in Plants and Leaves.
Two basic types of projections are provided for us by
OpenGL, along with several corresponding commands for describing the relevant
parameters in different ways. One type is the perspective projection.
6. OpenGL:
ANSWER
The OpenGL API is a portable API that can be compiled and run on many
platforms. OpenGL programs are typically written in C and C++.
7. What is GLUT?
ANSWER:
GLUT (pronounced like the glut in gluttony) is the OpenGL Utility Toolkit, a
window system independent toolkit for writing OpenGL programs.
8. Curves
ANSWER:
ANSWER:
Formula:
11.Why 24-bit RGB is called true color, define how red green and blue
values in it?
ANSWER:
ANSWER:
ax+by+cz+d=0
There are three basic types of lighting you should layer in a room in order to
accomplish this:
Ambient
general lighting.
Accent lighting.
Task lighting.
The hidden surface removal is the procedure used to find which surfaces are not
visible from a certain view. A hidden surface removal algorithm is a solution to the
visibility issue, which was one of the first key issues in the field of three-
dimensional graphics.
ANSWER:
The three OpenGL routines for modeling transformations are glTranslate*(),
glRotate*(), and glScale*().All three commands are equivalent to producing an
appropriate translation, rotation, or scaling matrix, and then calling
glMultMatrix*() with that matrix as the argument. Translate
void glTranslate{fd}(TYPEx, TYPE y, TYPEz);
ANSWER:
Though there's been a lot of research on specular reflection models, there's been
less research on diffuse reflection models. One of the problems of the standard
Lambertian model is that it considers the surface as a smooth diffuse surface.
Surfaces that are really rough, like sandpaper, exhibit much more of a
backscattering effect, particularly when the light source and the view direction
are in the same direction.
ANSWER:
AL-JUNAID TECH INSTITUTE
Lambert:
Triangles that use Lambertian shading are painted with one solid color instead of
using a gradient. Typically, each triangle is lit using that triangle's normal. The
resulting object looks very angular and sharp.
23.Advantages of IMPLICIT
ANSWER:
Better retention over time with less skill loss than explicit.
More resistance to the effects of psychological stress, disorders and
dysfunction.
Independence of age and IQ.
Implicit, small individual differences, explicit, large individual differences.
24.Advantages of EXPLICIT
ANSWER:
ANSWER:
Parameters and return values allow students to write programs that are more
organized and cleaner.
Naming functions helps students write programs that read more like
descriptions of what they do, and they also help students reuse code