

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
notes on computer graphics course
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Computer Graphics
3 points of failure
.h files -set a config path to tell it where to look (it being the pre-processor) -if this is wrong => syntax errors -function declarations(prototypes)
.lib file -static library -function definitions -this is the linker
.dll files (“dynamic link library”)
Motivation for dll -release fixes w/o requiring rebuilds/reinstall -saves having multiple copies of shared lib in mem
9/7/
Frame of Reference (Coordinate System) Modeling cords – local coord system for that object -> World/cords – define entire scene-> Viewing cords – “Camera” coord system-> Normalized coords-> Device cords REVIEW
d) Normalized – each coordinate value is in the range from -1 to 1 or 0 to 1. independent of any specific output device e)Device – specific to device like laptop or phone screen
Polygons Opengl wants everything to be a triangle
Glviewport(); -subset of the display window -inside display window function -pixels params To view the upper right corner pass in glViewPort(250,250,250,250);
World window – gluOrtho2D displayWindow – glutwindowXXX viewport – glviewport (normally set by default) SEE NOTES 9/