1 218 EA Edward Angel Interactive Computer Graphics

![计算机图形学讲义-1 2/18 教材 • [EA] Edward Angel: Interactive Computer Graphics, A Top-Down Approach with 计算机图形学讲义-1 2/18 教材 • [EA] Edward Angel: Interactive Computer Graphics, A Top-Down Approach with](https://slidetodoc.com/presentation_image/01483163abdabe653ca99dc141130746/image-2.jpg)
















- Slides: 18
计算机图形学讲义-1 2/18 教材 • [EA] Edward Angel: Interactive Computer Graphics, A Top-Down Approach with Open GL, Addison-Wesley, 6 th Edition. [EA] 为教材和参考文献索引,以下同此。
计算机图形学讲义-1 8/18 课程内容介绍 1 Graphics Systems and Models - Overview of the field - Image formation as cameras - Modeling-Rendering Paradigm 2 Graphics Programming - Introduction to programming with Open. GL
计算机图形学讲义-1 9/18 3 Input and Interaction - Interactive computer graphics - Client-server (Graphic server) - Programming event-driven input 4 Geometric Objects and Transformations - Define and manipulate primitives/objects - Coordinate systems and transformations - Open. GL transformation matrices
计算机图形学讲义-1 10/18 5 Viewing - Camera model - Viewing and projections - Hidden-surface removal - Open. GL projections 6 Shading - Light-material interaction - Reflection models - Open. GL Light and material functions
计算机图形学讲义-1 11/18 7 Implementation of a Renderer - Bottom of computer graphics - Algorithms for primitives, transformations, etc. - Scan conversions. 8 Curves and Surfaces - Modeling curves and surfaces - Splines - Curves and surfaces in Open. GL
计算机图形学讲义-1 12/18 9 Procedural Methods - Limitation of polygon-model. - Physically based models - Recursive methods and fractals - This chapter is pending. 10 Scientific Visualization - Visualizing large multi-dimensional data sets in scientific and medical applications - Data to geometric primitives - There are multiple ways - There are no good ways
计算机图形学讲义-1 13/18 课程资源介绍 • 课程主页 http: //www. math. pku. edu. cn/teachers/jiangm/courses/CG/ 请随时访问。 • 习题和其它的通知均在此发布。 • Open. GL的标准及有关手册 http: //www. math. pku. edu. cn/teachers/jiangm/courses/CG/Resources/open. GL/ • glut的标准及有关手册 http: //www. math. pku. edu. cn/teachers/jiangm/courses/CG/Resources/glut/ • Mesa http: //www. math. pku. edu. cn/teachers/jiangm/courses/CG/Resources/Mesa/
计算机图形学讲义-1 17/18 mac. OS系� 编译glut程序 1. 2. Install Xcode from App Store: the compile environment, which should install glut. Change head file locations Header Description GL - Open. GL Base GLU - Open. GL Utility GLUT - Open. GL Utility Toolkit 3. Mac OS X #include <Open. GL/gl. h> #include <Open. GL/glu. h> #include <GLUT/glut. h> The Rest of the World #include <GL/gl. h> #include <GL/glut. h> Compiling with the command: Ø clang -framework GLUT -framework Open. GL -framework Cocoa foo. c -o foo. x 4. check its depends Ø otool -L foo. x 5. 6. Install XQuartz from https: //www. xquartz. org open an xterm from XQuartz and run Ø. /foo. x References [1] http: //alumni. cs. ucsb. edu/~wombatty/tutorials/opengl_mac_osx. html [2] https: //pleiades. ucsc. edu/hyades/Open. GL_on_OS_X [3] GLUT under Mac OS X, http: //iihm. imag. fr/blanch/software/glut-macosx/
计算机图形学讲义-1 18/18 Linux系�与 Web. GL • Linux系� Øgcc -o foo. c -l. GLU –lglut • http: //myweb. wit. edu/wernerm/compiling. Open. Gl. html • Web. GL示例