CG pr oral Flashcards

(15 cards)

1
Q

What is computer graphics?

A

Computer graphics is the field of creating, manipulating, and displaying visual images using computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is seed fill algorithm in CG?

A

It’s a technique to fill a connected area starting from a seed point, spreading to neighboring pixels until a boundary is reached.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between window and viewport?

A

A window defines the portion of the scene to be displayed; a viewport defines where on the display device the window content appears.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the world coordinate system and viewport coordinate system?

A

The world coordinate system defines the object’s position in the scene, while the viewport coordinate system maps the scene onto the display area.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is Weiler Atherton algorithm?

A

It’s a polygon clipping algorithm used to clip complex polygons against a clipping window.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is homogenous coordinate system?

A

It’s a coordinate system using an extra dimension to simplify transformations like translation, scaling, and rotation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are types of projection in CG?

A

They are mainly orthographic projection and perspective projection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the Phong illumination model?

A

It’s a model that simulates the way light reflects off a surface using ambient, diffuse, and specular components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Gouraud shading?

A

It’s a shading technique that interpolates vertex colors across a surface for smooth lighting effects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are hidden surface removal algorithms?

A

They are techniques used to determine and remove surfaces not visible to the viewer, like Z-buffer and Painter’s algorithm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is interpolation and approximation?

A

Interpolation passes exactly through given points; approximation creates a curve close to the points without necessarily passing through them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

applications of OpenGL

A

Video Editing (Adobe Premiere)
Graphics rendering
CAD software
Driving simulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

openGL libraries

A

GLUT utility toolkit (window creation, mouse input)
GLEW extension wrangler (all extensions configured for more functions)
GLFW (modern alternative to GLUT) - input keyboard, mouse, joystick and gamepads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

openGl creations

A

1992
Silicon Graphics, Inc (SGI)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

command line for Ubuntu

A

g++ main.cpp -o main -lGL -lGLU -lglut
./main.out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly