-
轻量级实时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
-
Prepared by a real OpenGL teapot models, can hit lights, can also rotate
用OpenGL编写的一款真实茶壶模型,可以打灯,也可以旋转-Prepared by a real OpenGL teapot models, can hit lights, can also rotate
- 2022-01-26 01:12:17下载
- 积分:1
-
with OpenGL draw a three
用OpenGL绘制一个三维四方形,并可以用鼠标控制四方形的旋转
- 2022-03-16 17:20:44下载
- 积分:1
-
Opengl画钟
在c++下用opengl画了个钟。用户输入小时,分钟数就能得到显示出该时间的钟的图形。
钟的图形包括圆形边框,小时刻度,分钟刻度和时针分针。
没有画秒针。
很简单的一个小程序,很适合初学者练手学习
- 2022-01-25 20:58:27下载
- 积分:1
-
OPENGL with Visual Basic 6 Joint realize the Jupiter rotation examples, includin...
OPENGL与Visual Basic 6 联合实现的木星旋转实例,包括光源调节、Texture定义等-OPENGL with Visual Basic 6 Joint realize the Jupiter rotation examples, including the light source adjustment, Texture definition
- 2022-10-31 19:45:02下载
- 积分:1
-
在添加了测试audiere食人的例子
奥迪埃附加测试中的食人魔示例
- 2022-04-23 05:07:06下载
- 积分:1
-
it is a kind of game written with Opengl , it is called three ball chess
用OPENGL写的三地游戏 是一款三连棋游戏-it is a kind of game written with Opengl , it is called three ball chess
- 2022-01-26 03:57:16下载
- 积分:1
-
实现了氢原子电子绕核运动的立体仿真,可随意更换视角,用OPENGL编写...
实现了氢原子电子绕核运动的立体仿真,可随意更换视角,用OPENGL编写-achieve a hydrogen atom electronic nuclear movement around the three-dimensional simulation, free replacement of perspective and using OpenGL prepared
- 2022-04-28 16:16:17下载
- 积分:1
-
演示粒子系统的程序
演示粒子系统的程序-particle system demonstration procedures
- 2023-04-21 03:50:04下载
- 积分:1
-
用鼠标实现opengGL程序的拾取功能,并且可以对3D模型进行选择...
用鼠标实现opengGL程序的拾取功能,并且可以对3D模型进行选择-Use the mouse to pick up procedures opengGL realize functions, and can choose from 3D model
- 2022-07-01 09:08:20下载
- 积分:1