-
轻量级实时OpenGL 图形组件
翻译 maninwest@Codeforge 作者: Gabriyel @ Codeproject集成提供实时更新的基于 OpenGL的图形组件。我需要通过图表实时显示统计数据(我写了个演示应用)。截图可以明确地显示这个图形组件背后的理念。它在跟踪实时数据时,例如数据获取和分析时,会很有用。我没有时间开发地更加细致,如不同的图形类型、演示类型和过滤器等,但是在代码的基础上添加这些功能应该不难。使用代码这个图形组件的功能有:用户定义的缓存 (列表) ,用于存储图形数据 当数据"溢出" 缓存时,图像会自动抛弃最旧的数据为最新的数据创造空间 实时计算移动平均数这个代码可以轻松集成到任何基于 OpenGL 的应用程序。开发人员只需确保渲染上下文即可OGLGraph* myGraph;
void init ( GLvoid ) // Create Some Everyday Functions
{
glClearColor(0.0f, 0.0f, 0.0f, 0.f);
//glClearDepth(1.0f);
myGraph = OGLGraph::Instance();
myGraph->setup( 500 /*width*/, 100 /*height*/,
10 /*offsetX*/, 10 /*offsetY*/,
2 /*scaleX*/, 2 /*scaleY*/,
1 /*channels*/, 200 /*
- 2022-02-13 11:50:46下载
- 积分:1
-
本程序实现以下功能:
1.绘制茶壶(T)
2.添加光照(T)
3.添加纹理(T)
4.鼠标左键控制茶壶旋转(T)
操作步骤:按鼠标左键茶壶...
本程序实现以下功能:
1.绘制茶壶(T)
2.添加光照(T)
3.添加纹理(T)
4.鼠标左键控制茶壶旋转(T)
操作步骤:按鼠标左键茶壶旋转,按一次旋转30°。
5.鼠标右键控制茶壶平移(T)
操作步骤:按鼠标右键茶壶向右移动,每次移动0.5厘米
6.键盘控制茶壶纹理的变化(T)
操作步骤:按键盘的 w 和 s 键实现纹理的改变
7.键盘方向键控制camera的前进后退,左移和后移 (T)
操作步骤:按键盘的四个方向键实现茶壶四种方向的移动
8.实现水壶的退出-This procedure to achieve the following functions: 1. Drawing teapot (T) 2. Add light (T) 3. Add texture (T) 4. Teapot rotating the left mouse button to control (T) steps: Click the left mouse button rotate the pot by a rotation 30 °. 5. Teapot with the right mouse button to control translation (T) steps: Click the right mouse button to the right teapot mobile, each mobile 0.5 centimeters 6. Teapot keyboard to control the changes in texture (T) steps: click the " w " and" s" key changes to achieve texture 7. the keyboard arrow keys to control the forward camera back, the left and post-shift (T) steps: the four keyboard arrow keys to achieve the direction of movement of the four teapot 8. to achieve water out of the
- 2022-04-23 12:15:15下载
- 积分:1
-
With VC++6.0 and implementation of OpenGl Mobile Tower of Hanoi algorithm, the r...
用VC++6.0和OpenGl实现的汉诺塔移动算法,速度可以自己调节,主要是汉诺塔的递归算法。-With VC++6.0 and implementation of OpenGl Mobile Tower of Hanoi algorithm, the rate can adjust is the Tower of Hanoi recursive algorithm.
- 2022-03-15 20:51:37下载
- 积分:1
-
opengl one small banner texture
opengl纹理 一面小旗帜-opengl one small banner texture
- 2022-04-23 00:58:09下载
- 积分:1
-
OpenGL※※VC框架
OpenGL※※VC框架-OpenGL framework VC**
- 2022-01-25 15:50:57下载
- 积分:1
-
利用Opengl显示复杂三维图形的一种方法
利用Opengl显示复杂三维图形的一种方法-Opengl use to display complex 3D graphics in a way
- 2022-04-30 07:27:50下载
- 积分:1
-
OpenGl等高线生成和内插
OpenGl等高线生成和内插-OpenGl contour generation and interpolation
- 2022-12-16 08:00:03下载
- 积分:1
-
OpenGL实现任意的缩放功能,设置视点调整等功能
OpenGL实现任意的缩放功能,设置视点调整等功能-OpenGL realize arbitrary zoom feature, set to adjust features such as point of view
- 2022-12-27 10:15:03下载
- 积分:1
-
open GL 编程,具体请运行程序
open GL 编程,具体请运行程序-open GL programming, please run the program specific
- 2022-03-24 20:51:56下载
- 积分:1
-
算法编程题,北京大学OnlineJudge
2270Quadtr
算法编程题,北京大学OnlineJudge
2270Quadtr-2270QuadtreeII
- 2022-10-13 04:05:03下载
- 积分:1