240 likes | 269 Views
COMPUTER GRAPHICS. Asst. Prof. Dr. Gazi Erkan BOSTANCI. AUTUMN 2015-2016. Slides by Robert Thomson, Süleyman Tosun and Kurtuluş Küllü. Overview. What is Computer Graphics Graphics Applications About this course. What is Computer Graphics?.
E N D
COMPUTER GRAPHICS Asst. Prof. Dr. Gazi Erkan BOSTANCI AUTUMN 2015-2016 Slides by Robert Thomson, Süleyman Tosun and Kurtuluş Küllü
Overview • What is Computer Graphics • Graphics Applications • About this course
What is Computer Graphics? • “Computer graphics is a sub-field of computer science and is concerned with digitally synthesizing and manipulating visual content.” • A broad classification of major subfields in computer graphics might be: • Imaging: studies image acquisition or image editing • Rendering: studies algorithms to reproduce light transport • Geometry (modeling): studies ways to represent and process surfaces • Animation: studies with ways to represent and manipulate motion
Imaging • Image Representation • Sampling • Reconstruction • Quantization & Aliasing • Image Processing • Filtering • Warping • Morphing • Raster Graphics • Display devices • Color models Image composition Image morphing
Rendering • 3D Rendering Pipeline • Modeling transformations • Viewing transformations • Hidden surface removal • Illumination, shading, and textures • Scan conversion, clipping • Hierarchical scene graphics • OpenGL • Global illumination • Ray tracing • Radiosity OpenGL example
Modeling • Representations of geometry • Curves • Surfaces • Solids • Procedural modeling • Fractals Shell
Animation • Keyframing • Kinematics • Articulated figures • Motion capture • Dynamics • Physically-based simulations Ice Queen
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Jurasic Park Toy Story Quake
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Los Angeles Airport Gear Shaft Design CMOS Circuit Design
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Airflow inside a thunderstorm Visible human
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Desk Assembly Driving Simulation Flight Simulation
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Human Skeleton
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Virtual Phone Store Interactive kitchen planner
Graphics Applications • Entertainment • Computer-aided design • Scientific visualization • Training • Education • E-commerce • Computer art Fantasyartdesign.com
About This Course • Course textbook • Computer Graphics with OpenGL (3rd edn), D. Hearn & M. P. Baker, Pearson / Prentice Hall, 2004 • Useful textbooks • Interactive Computer Graphics, a top-down approach using OpenGL, E. Angel, Pearson/Addison-Wesley, 2005 • Computer Graphics using OpenGL, F. S. Hill, Prentice Hall, 2001 • Fundamentals of Computer Graphics, by P Shirley, M Ashikhmin, M Gleicher, and S Marschner 2005 • Computer Graphics - Principles and Practice, Foley, van Dam, Feiner and Hughes, Addison-Wesley
OpenGL references www.opengl.org The Red Book : The OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 2 (5th Edition) Addison-Wesley 2004. http://fly.cc.fer.hr/~unreal/theredbook/ The Blue Book: The OpenGL Reference Manual: The Official Reference Document to OpenGL, Version 1.4 (4th Edition), Addison-Wesley 2004. http://www.glprogramming.com/blue/
Meeting hours per week • 3 hours lecture • By Gazi Erkan BOSTANCI
Computer Graphics with OpenGL Book Contents: 1. A Survey of Computer Graphics. 2. Overview of Graphics Systems. 3. Graphics Output Primitives. 4. Attributes of Output Primitives. 5. Geometric Transformations. 6. Two-Dimensional Viewing Transformations. 7. Three-Dimensional Viewing Transformations. 8. Three-Dimensional Object Representations. 9. Identifying Visible Surfaces. 10. Illumination Models and Surface-Rendering. 11. Graphical User Interfaces and Interactive Input Methods. 12. Colour Models and Colour Applications. 13. Computer Animation. 14. Picture Partitioning & Hierarchical Modeling. 15. Graphics File Formats Appendix: Mathematics for Computer Graphics
What is OpenGL • OpenGL is a graphics library for developing portable, interactive 2D and 3D graphics applications. • Most Widely Adopted Graphics Standard • Open, vendor-neutral, multiplatform
Resources • Can run OpenGL on any system • Windows • Linux • Mac • Get GLUT from web if needed (Lab TA will explain further)
To set up OpenGL GLUT in Visual C++ • Go to http://www.xmission.com/~nate/glut.html • Download glut-3.7.6-bin.zip • Unzip to get four files: “glut.h”, “glut32.lib”, “glut32.dll” and “readme.txt” • copy “glut.h” to C:\..\..\VC98\include\GL • copy “glut32.lib” to C:\..\..\VC98\lib • copy “glut32.dll” to C:\WINDOWS\system or C:\WINNT\system32
Hearn & Baker Codes Program code for examples in the Hearn and Baker book can be downloaded: http://esminfo.prenhall.com/computing/hearnbaker/Code.zip
Homework 1 • Reading assignment • Chapters 1 & 2 • Sections from Chapter 3: 3.1-3.8