全文预览已结束
付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter 2 Overview of Graphics Systems Exercise questions for this chapter investigate the characteristics and applications of computer graphics hardware components the general computer graphics software concepts and features of the OpenGL libraries Exercises 2 1 Operating characteristics for display technologies are discussed in Sections 2 1 through 2 3 and in the references cited at the end of the chapter 2 2 Applications appropriate for the various display technologies are discussed in Sections 2 1 through 2 3 and in the listed references 2 3 A system manual can be consulted to obtain screen dimensions and the number of pixel positions that can be displayed in the x and y directions If x and y screen dimensions are not listed they can be measured The ratio of pixel positions to screen dimensions gives the resolutions for the horizontal and vertical directions Aspect ratio is the ratio of the y and x resolutions Alternatively resolution can be determined by displaying equal pixel straight line seg ments in the x and y directions and measuring the length of each line For example if 100 pixel lines in the x and y directions measure 4 cm and 5 cm respec tively then x resolution 100 4 pixels per cm y resolution 100 5 pixels per cm and aspect ratio y resolution x resolution 4 5 3 4CHAPTER 2 OVERVIEW OF GRAPHICS SYSTEMS To adjust dimensions of objects to maintain relative proportions we can make the adjust ments either to the vertical or to the horizontal dimensions That is vertical dimensions can be scaled by a factor of 4 5 or horizontal dimensions can be scaled by a factor of 5 4 2 4 Frame buff er size for each of the systems is 640 480 12 bits 8 bits per byte 450 KB 1280 1024 12 bits 8 bits per byte 1920 KB 2560 2048 12 bits 8 bits per byte 7680 KB For 24 bits of storage per pixel each of the above values is doubled 2 5 Storage needed for the frame buff er is 800 1000 6 bits 8 bits per byte 486 KB 2 6 The times to load the two frame buff ers are 640 480 12 bits 105bits per sec 36 9 sec and 1280 1024 24 bits 105bits per sec 314 6 sec 5 24 min 2 7 Total bits in the printer frame buff er is 8 5 11 3002 8 4 106bits Therefore loading time is 8 4 106bits 32 106bps 0 263 sec 2 8 For the 640 by 480 system the access rate is 640 480 60 1 8432 107pixels per sec Thus access time is approximately 54 nanoseconds per pixel Similarly for the 1280 by 1024 system access rate is 1280 1024 60 7 86432 107pixels per sec Here the access time is approximately 12 7 nanoseconds per pixel 5 2 9 The diameter of screen pixels is 12 1280 9 6 1024 9 375 10 3inches 2 10 The scan rate for each pixel row is 60 frames sec 1024 lines frame 61 440 lines sec And the scan time is approximately 16 3 microseconds per scan line Scan time per frame is 1 60 sec or approximately 16 7 milliseconds 2 11 Refresh time per frame is 1 r seconds and the total retrace time during refresh of each frame is tretrace tvert m thoriz The fraction of the time spent in retrace is r tretrace 2 12 The fraction of the total refresh time per frame spent in retrace is 60 500 10 6 1024 5 10 6 0 337 2 13 Total number of available colors is 224 16 777 216 Using a diff erent color for each screen pixel we could display 5122 262 144 colors at any one time 2 14 Three dimensional monitors and stereographic systems are discussed in Sections 2 1 and in the references 2 15 Input and output devices used with virtual reality systems are discussed in Sections 2 4 and 2 5 2 16 Design applications for VR include interactively constructing systems and interactively studying system operating characteristics Some VR design applications are given in Sections 1 2 1 3 2 1 2 4 and in the references at the end of Chapters 1 and 2 2 17 Some applications for large screen displays are presented in Section 2 3 2 18 Graphics software packages are discussed in Section 2 8 Basically packages for graphics programming contain functions for specifying individual geometric components primi tives such as lines and circles attributes of individual primitives and parameters for various graphics operations such as viewing and geometric transformations A package for a specifi c application such as architectural design allows a user to create scenes in terms of architectural features such as doors windows hallways stairs and rooms Then a building can be rotated or viewed from a given direction such as from the front from above or from the left side 6CHAPTER 2 OVERVIEW OF GRAPHICS SYSTEMS 2 19 The OpenGL core library contains hardware independent functions such as those for specifying primitives attributes geometric transformations and three dimensional view ing parameters The GLU library contains functions for some other more specialized operations such as quadric surface generation B spline surface generation surface tex ture mapping two dimensional viewing and some three dimensional viewing operations The GLUT library primarily provides hardware dependent functions such as those for display window management and for interacting with input devices but it also contains functions for generating various plane surface quadric surface and cubic surface solids such as a cube sphere cone or teapot 2 20 We set the color of a display window to light gray by selecting a value between 0 5 and 1 0 and assigning that value to all three RGB parameters in the glClearColor command For example we can set the display window to light gray with glClearColor 0 9 0 9 0 9 0 0 Similarly we obtain dark gray by selecting a value between 0 0 and 0 5 for the RGB color components 2 21 The following statements set the lower right corner of a 100 pixel by 75 pixel
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2026学年广西壮族自治区高二上学期开学检测语文试题
- 2025-2026年经济学考研劳动经济学重点习题
- 2025-2026年海洋生态系统保护与可持续发展模拟试题
- 2025-2026年老年照护专业基础知识测试卷
- 2026年护士资格考试护理健康教育专项训练课件
- 第16课《从九一八事变到西安事变》(教学设计)-2026年八年级秋季学期历史统编版
- 投融资岗位招聘题目及答案
- 网络意识形态试题及答案
- 危险品驾驶员安全培训考试试题及答案
- 物联网检测题及答案
- 光大证券2027届校园招聘笔试备考题库及答案详解
- 安全用电 课件 绪论
- 2026年中职市场营销(市场营销基础知识)试题及答案
- 2026山东鲁东南水资源配置有限公司社会招聘笔试参考题库及答案详解
- 新生儿窒息复苏指南学习课件
- 新版(2026秋新版)北师大版五年级数学上册全册教案合集
- 2026年秋季教育学专业开学第一课 职业发展前景分析教学设计
- 医院关于不合理医疗检查专项治理自查自查自纠总结
- (正式版)DB31∕T 684-2023 《养老机构照护服务分级要求》
- 2026年贵州省纪委监委公开遴选公务员笔试试题及答案解析
- 2026年《中华人民共和国妇女权益保障法》知识竞赛题库(含答案)
评论
0/150
提交评论