This paper has discussed the principle and methods of programming with OpenGL in the environment of MFC, and explained the importance of Rendering Context(RC) as a role of converting OpenGL commands and outputs to the GDI device context. 对利用MFC进行OpenGL程序设计的原理及方法进行一些探讨。阐述了翻译描述表在将OpenGL命令和输出转换到GDI设备环境中时所起的重要作用。
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. 介绍了OpenGL的基本概念以及在WINDOWSnt下的运行机制,阐述了实现VC+++和OpenGL图形接口主要的两步工作是像素格式设置和关联DC(DeviceContext)和RC(RenderingContext)。
A feature based generation method for Level of Detail ( LOD ) model is put forward and an accelerated algorithm of collision detection based on virtual environment rendering of context scene is proposed. The above-mentioned achievements are successfully applied to virtual-reality simulation system of substation. 提出了基于特征的实时层次细节模型生成方法和基于虚拟漫游上下文情景的碰撞检测加速算法,并已成功应用于变电站虚拟现实仿真系统中。
Multiple device support and unique GUI rendering are essential features in an IP-TV context. 多种设备支持和唯一GUI呈现是IP-TV环境中非常重要的功能。
Due to the dynamic presentation feature, when rendering components, we first need to get the context for rendering. 由于特性是动态表示的,所以在呈现组件时首先要获得呈现的上下文。