-
This demo implements the marching cubes algorithm for constructing a polygonal m...
This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2 / ((ball.x - x)2 + (ball.y - y)2 + (ball.z - z)2) for all balls. The surface is defined to be where the sum is one.-This demo implements the marching cubes algorithm for constructing a polygonal model from an isosurface. The isosurface chosen here is a classical metaballs setup. Metaballs are isosurface chosen here is a classical metaballs setup. Metaballs are defined by field function that s the sum of R2/((ball.x- x)2+ (ball.y- y)2+ (ball.z- z)2) for all balls. The surface is defined to be where the sum is one.
- 2022-03-03 15:18:22下载
- 积分:1
-
OpenGL编写的烟花屏保
利用OpenGL编写的烟花屏幕保护,烟花升空时还有烟花燃放的声音和鞭炮声,程序里利用FMOD库实现了播放MP3等声音文件的功能。屏幕保护程序的关键是对以下两个入口函数的编写:1、屏幕保护处理程序入口函数LRESULT WINAPI ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)2、屏幕保护设置对话框BOOL WINAPI ScreenSaverConfigureDialog(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
- 2022-02-03 17:33:40下载
- 积分:1
-
opengl vc++ 代码 爆炸
用opengl以c++语言来编写的关于图像爆炸的代码,里面有主要图片两张,基本的粒子组成由LoadOBJ,MainFrm,MyExplosion,myExplosionDoc,MyExplosionView,MyText,等的文件。
- 2023-08-25 00:20:04下载
- 积分:1
-
OpenGL 中的底纹和着色器( iOS )
翻译 maninwest@Codeforge 作者:KarstenK@CodeProject介绍如何在 IOS 上使用 OpenGL 底纹。OpenGL 是个也可在其他平台可用的技术。背景我想更好地了解 OpenGL,因其图形性能和在其他项目中使用的兼容性。 使用代码包含的示例项目是根据 MVC-模式,从Xcode 纯模板衍生而来的, Model-View-Controller 有助于将代码分成有用的片段。ViewController 类名副其实,控制视图工作的方式。重要的是Displaylink,因为这是从显示器中的回调或用于新像素输出的更好的 GUP 计时器。- (void)startDisplayLinkIfNeeded
{
if (!_displayLink) {
self.displayLink = [CADisplayLink displayLinkWithTarget:_viewOpenGL selector:@selector(display)];
[_displayLink addToRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
}
}GUI 在存储控件的 Main.storyboard 中进行配置。它们通过 outlet(出口) 连接到 ViewController 。开始使用 OpenGL 为了以某种方式使用 OpenGL ,我通过 Objective -C 中的典型单例模式设计了一个 OpenGLContext 类。+ (instancetype)sharedInstance
- 2022-05-08 07:40:50下载
- 积分:1
-
基于C++环境的OPENGLE编程源码.
基于C++环境的OPENGLE编程源码.-based on C programming environment OPENGLE source.
- 2022-10-31 06:50:03下载
- 积分:1
-
扫雷,openGL.
操作:鼠标左右,鼠标中间键对应windows扫雷的左右同时按下,最大网格37*37(windows扫雷中级为16*16)
扫雷,openGL.
操作:鼠标左右,鼠标中间键对应windows扫雷的左右同时按下,最大网格37*37(windows扫雷中级为16*16)-Mine, openGL. Steps: the mouse around the mouse button between the left and right corresponding windows at the same time press the mine, the largest grid 37* 37 (windows mine Intermediate 16* 16)
- 2022-09-16 06:20:03下载
- 积分:1
-
opengl例子4
opengl例子4-opengl example 4
- 2023-03-16 01:35:04下载
- 积分:1
-
一条道路的OPENGL代码
一条道路的OPENGL代码-a path of OpenGL code
- 2022-01-24 08:51:53下载
- 积分:1
-
VS2010+OpenCV+OpenGL三维重建
利用VS2010+OpenCV+OpenGL三维重建
先标定棋盘,然后再进行特征提取,立体匹配得出视差图,最后得出视差数据,利用OpenGL画出3D模型
- 2022-03-04 05:10:06下载
- 积分:1
-
这是OPENGL的第一个例子,建立了OPENGL的初始化环境,编程者可以在此基础上继续深入
这是OPENGL的第一个例子,建立了OPENGL的初始化环境,编程者可以在此基础上继续深入-This is the first example OPENGL established OPENGL initialization environment, programmers can build on the depth
- 2022-03-11 13:41:27下载
- 积分:1