


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CSCI-420 Midterm Review Exam 2025-2026 quetions and answers Latest update.A+ GRADE
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!
OpenGL Library Organization
GL (graphics library): core graphics and capabilities
GLUT (graphics and utility lib): input and windowing
GLEW (GL extension wrangler): removes OS dependencies
GLU (openGL utility lib): compatibility profile only
Smooth vs Flat Shading
Graphics Pipeline
vertices
transformer
clipper
projector
rasterizer
The Frame Buffer
special memory on the graphics card. stores the current pixels to be displayed on the monitor. monitor has no storage. Framebuffer copied to the monitor at each refresh cycle
where is graphics driver code located?
CPU
where are rendering resources located (buffers, shader, textures, etc.)
GPU
What is stored in a VBO
vertex positions, normals, texture coordinates, colors
Glut Program Callbacks Loop
Types of callbacks
Display(): when window must be drawn
Idle(): when no other events to be handled
Object space approach / Painter's Algorithm
render back to front. sort by depth. if A deeper than B at all points, draw A first
Image space approach / z-buffer algorithm
maintain a z-buffer of depths
for all vertex buffers:
if z(x,y) < zbuf(x,y):
set new zbuf
set frame buffer to new color
what direction does camera point
You can also click the terms or definitions to blur or reveal them
Review with an activ