setup(500/*width*/,100/*height*/,10/*offsetX*/,10/*offsetY*/,2/*scaleX*/,2/*scaleY*/,1/*channels*/,200/*-IMDN开发者社群-imdn.cn"> setup(500/*width*/,100/*height*/,10/*offsetX*/,10/*offsetY*/,2/*scaleX*/,2/*scaleY*/,1/*channels*/,200/* - IMDN开发者社群-imdn.cn">
登录
首页 » OpenGL图像 » 轻量级实时OpenGL 图形组件

轻量级实时OpenGL 图形组件

于 2022-02-13 发布 文件大小:82.43 kB
0 414
下载积分: 2 下载次数: 1

代码说明:

翻译  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 /*

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC、Opengl编写的屏幕保护程序 包含源码和执行程序 表现了三维手电筒的旋转...
    VC、Opengl编写的屏幕保护程序 包含源码和执行程序 表现了三维手电筒的旋转-VC, Opengl prepared by the screen contains the source code and the procedures for implementation of 3D performance of the rotating flashlight
    2022-05-07 22:26:07下载
    积分:1
  • Visual C++ 高级编程技术OpenGL篇 》程序源代码特别有一个三维图象打开,保存,压缩,绘制的源码很有价值...
    Visual C++ 高级编程技术OpenGL篇 》程序源代码特别有一个三维图象打开,保存,压缩,绘制的源码很有价值-Visual C programming OpenGL chapter "source code with a special three-dimensional images open, preservation, compression, rendering the source of great value
    2022-03-19 03:28:29下载
    积分:1
  • OPenGL超级宝典源代码,14――17,很好,适合初学者
    OPenGL超级宝典源代码,14――17,很好,适合初学者-OpenGL source ,14-- 17, good for beginners
    2022-04-11 05:26:10下载
    积分:1
  • 992年7月,SGI公司首次发布了作为三维图形编程接口的OpenGL。目前它已成为国际上通用的开放式三维图形标准。它被集成到Unix、Windows NT 4....
    992年7月,SGI公司首次发布了作为三维图形编程接口的OpenGL。目前它已成为国际上通用的开放式三维图形标准。它被集成到Unix、Windows NT 4.0、Windows 98等窗口系统中。各种游戏加速卡、专用加速部件都能不同程度地提高OpenGL程序的运行性能。OpenGL是一个图形硬件的软件接口("GL"即Graphics Library)。图形程序员可以利用它提供的接口函数设计高品质的三维彩色图像所需的对象和操作。-992, in July, SGI has announced the first as three-dimensional graphics programming interface OpenGL. Currently, it has become common on the open 3D graphics standard. It was integrated into the Unix, Windows NT 4.0, Windows 98, such as window systems. Games Accelerator, dedicated components can speed up the different levels to improve the functioning of OpenGL performance. OpenGL graphics hardware is a software interface ( "GL" that the Graphics Library). Graphics programmer can use it for the interface design function of high-quality three-dimensional color images of objects and operations.
    2022-09-03 15:45:08下载
    积分:1
  • opengl游戏编程 书中实例的第3章代码
    opengl游戏编程 书中实例的第3章代码-opengl game programming book, Chapter 3 code examples
    2022-04-30 00:51:38下载
    积分:1
  • coons 边界曲面的构造例子,用opengl进行可视化,
    coons 边界曲面的构造例子,用opengl进行可视化,-coons tectonic boundary surface, by using opengl for visualization,
    2022-03-21 13:28:52下载
    积分:1
  • A card deck
    此程序使用列表框来显示牌组中的牌和手中的牌。下一个版本将介绍类似于Windows操作系统附带的纸牌和红心游戏中使用的牌图形;
    2022-02-03 12:12:56下载
    积分:1
  • opengl的程序,模拟光照效果,有助于进一步的提高1
    opengl的程序,模拟光照效果,有助于进一步的提高1-opengl procedures, simulated lighting effect, contribute to a further improvement
    2022-03-14 10:29:20下载
    积分:1
  • 增加的典型方法
    The typical approach to adding in-game media such as movies and television has been to cycle through a series of textures. In order to play even a short show meant that a lot of texture swapping and memory had to be used, so the idea was to replace this method with a MPEG decoder and display each pixel as a polygon. I believe this is the first example of this method for two main reasons, firstly it takes a lot of processing to read the frames and display the large number of polygons but this is no longer a problem with the latest video cards, and secondly, it is no picnic writing a MPEG decoder. Fortunately I didn t have to write the MPEG decoder, I have used and modified the freely available source code ported to Win32 by Thanassis Tsiodras which was originally released by the University of California in 1992, back when there was a greater open source ethic.
    2023-01-19 08:00:04下载
    积分:1
  • c builder's own example opengl
    c++ builder 自带的 opengl example-c builder"s own example opengl
    2022-09-21 04:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载