首页 | 本学科首页   官方微博 | 高级检索  
     

OpenGL及其在VC++下的开发应用
引用本文:王兰美,赵继成,秦华东.OpenGL及其在VC++下的开发应用[J].武汉大学学报(工学版),2006,39(4):62-65.
作者姓名:王兰美  赵继成  秦华东
作者单位:1. 山东理工大学,轻工与农业工程学院,山东,淄博,255049
2. 山东理工大学,机械工程学院,山东,淄博,255049
摘    要:OpenGL是功能强大的开放式图形库.介绍了OpenGL的基本概念以及在Windows NT下的运行机制,阐述了实现VC+++和OpenGL图形接口主要的两步工作是像素格式设置和关联DC(Device Context)和RC(Rendering Context).在VC++下通过创建工程并加入支持OpenGL的连接库和头文件、设置OpenGL支持的Windows窗口风格等,从而构建图形开发环境.并通过一个立方体透明变换的例子和一个应用实例,详细说明了OpenGL的绘制方法.

关 键 词:OpenGL  VC++  接口  三维图形
文章编号:1671-8844(2006)04-062-04
修稿时间:2005年12月28

OpenGL and its development and application under VC++
WANG Lanmei,ZHAO Jicheng,QIN Huadong.OpenGL and its development and application under VC++[J].Engineering Journal of Wuhan University,2006,39(4):62-65.
Authors:WANG Lanmei  ZHAO Jicheng  QIN Huadong
Abstract:OpenGL is a powerful open graphic library.The basic concept and running mechanism of OpenGL under Windows NT are introduced;and the main two steps—pixel format setting and connecting DC(device context) & RC(rendering context) for realizing the graphic interface between VC++ and OpenGL,are described.The graphic development environment is established by creating a project under VC++,loading a linking database and a head file for OpenGL,setting a windows style for OpenGL,etc.The programming method of OpenGL is demonstrated in detail by two examples of making a cubic transparent transformation and an actual application.
Keywords:OpenGL  VC    interface  three-dimensional graphics
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号