计算机辅助设计(长安大学)Lecture 3 2D OpenGL programming - 2 hours lecture with 2 hours programming.pptVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Lecture 3 2D OpenGL Programming What is OpenGL? Open Graphic Library (开放的图形编程库) A software interface to graphics hardware 由大约150个函数组成,用户可以调用来完成各种绘图任务 SGI(Silicon Graphics, Inc) published OpenGL 1.0 in 1992 The industrial standard of CG programming What OpenGL can do? Modeling (basic primitives、NURBS) Color (setting color for vertices) Transformation (geometry transformation, projection, transformation from window to viewport) Lighting and Material Texture mapping Image function (anti-aliasing, fog, blending…) Special effects (Depth Cue(深度暗示), Motion Blur(运动模糊)…) …… What OpenGL can’t do? performing window tasks obtaining user input Natural Complex object modeling Related Library OpenGL Library(核心库) Include 115 functions with prefix “gl” 例:glColor3f(), glTranslate3f() OpenGL utility library(实用程序库) Include 43 functions with prefix “glu” gluPerspective() Related Library OpenGL auxilery library(编程辅助库) With prefix “glaux” auxInitWindow() Window interface library(windows专用函数库) Functions with prefix“wgl”, “glx”, “pgl”… wglCreateContext(m_hDC) Related Library In Microsoft’s Windows Operations: Related Library Construct complex OpenGL program OpenGL Utility Toolkit Functions with Prefix “glut” Developing OpenGL program with MFC What library will we use? gl Functions with Prefix “gl” glu Functions with Prefix “glu” glut Functions with Prefix “glut” Developing OpenGL program with MFC What shall we prepare? Down load glut library Copy corresponding files to destination directory Create GL directory in “include” directory of your MS Copy glut.h file to the directory Copy two .lib file tos “lib” directory of your MS Copy two .dll files to system32 of your system directory or ?? Some resources for studying OpenGL 水木清华站上的一个OpenGL基础教程(见OpenGL实验指导书) “OpenGL Programming Guide” (opengl编程指南) --- OpenGL 红宝书 Nehe的OpenGL教程(服务器上有) The Steps for Constructing an OpenGL program in VC++ Create a new project: Choose from the main menu File new“ ? projects“ ? Win32 Console Application At th
您可能关注的文档
- 广东外语外贸大学《宏观经济学》练习一-----国民收入核算.ppt
- 广东外语外贸大学《中国近现代史纲要》2012-2013学年第一学期A卷答案.doc
- 广东外语外贸大学《中国近现代史纲要》2012-2013学年第一学期A卷定.doc
- 广东外语外贸大学《中国近现代史纲要》2012年上 《纲要》复习提纲.doc
- 广东外语外贸大学《中国近现代史纲要》2012年上 B卷答案.doc
- 广东外语外贸大学《中国近现代史纲要》2012年上 试卷A.doc
- 广东外语外贸大学《中国近现代史纲要》2012年上 试卷B.doc
- 广东外语外贸大学《中国近现代史纲要》B卷答案.doc
- 广东外语外贸大学《中国近现代史纲要》2013-2014年上纲要》复习提纲.doc
- 广东外语外贸大学《中国近现代史纲要》蔡元培.ppt
- 实施指南(2025)《GBT18403.3-2014气体分析器性能表示第3部分:顺磁氧分析器》.pptx
- 实施指南(2025)《DZT 0248-2014岩石地球化学测量技术规程》.pptx
- 实施指南(2025)《DLT1071-2007 电力大件运输规范》.pptx
- 实施指南(2025)《FZT 22009-2014赛络菲尔机织毛纱》.pptx
- 实施指南(2025)《FZT 81009-2014人造毛皮服装》.pptx
- 深度剖析过度消费:陷阱、类型及对普通人的影响分析.docx
- 英伟达:从芯片巨头到AI时代领航者的全面剖析.docx
- 老饭骨私藏做饭小技巧大公开:从主食到硬菜的实用秘籍.docx
- 实施指南(2025)《GBT3464.2-2003 细长柄机用丝锥》.pptx
- 实施指南(2025)《GBT17227-2014中小学生教科书卫生要求》.pptx
原创力文档


文档评论(0)