-
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
-
基于ati显卡使用shader实现的运动模糊效果。需要ogl的扩展和最新的显卡才能运行。开发环境使vc6+ogl2.0...
基于ati显卡使用shader实现的运动模糊效果。需要ogl的扩展和最新的显卡才能运行。开发环境使vc6+ogl2.0-ati cards based on the use of shaders to achieve the motion blur effect. T needed for the expansion and the latest graphics card to run. The development environment makes vc6+ ogl2.0
- 2023-07-17 12:35:03下载
- 积分:1
-
code, you must use the OpenGL glut.h header file, tarball contain glut.h use
图象拼接代码,必须使用OpenGL的glut.h header file,压缩档内含有glut.h使用说明-code, you must use the OpenGL glut.h header file, tarball contain glut.h use
- 2023-03-17 23:40:03下载
- 积分:1
-
Little Red Book OpenGL (third edition) example code: Select code
OpenGL红宝书(第三版)例子代码:选择代码-Little Red Book OpenGL (third edition) example code: Select code
- 2022-05-12 11:29:24下载
- 积分:1
-
OpenGL超级宝典(第五版)源代码
OpenGL超级宝典(第五版)源代码
OpenGL超级宝典(第五版)源代码
OpenGL超级宝典(第五版)源代码
重要的事情说三遍
内含适合各种系统的代码
- 2022-02-10 08:38:56下载
- 积分:1
-
梁友栋直线裁剪
Cohen-Sutherland 线段裁减算法是计算机图形学的经典裁剪算法,利用键盘交互,实现线段的裁剪算法线段的裁减要判断线段与裁剪矩形边界的各种关系
- 2023-03-31 05:15:04下载
- 积分:1
-
this program is based on the opengl vc programming, through mouse to choose obje...
本程序是基于vc的opengl编程,通过鼠标选择物体,从而可以进行图像交互功能,有很好的参考价值。-this program is based on the opengl vc programming, through mouse to choose objects, which can image interactive function, a good reference value.
- 2022-05-15 18:11:44下载
- 积分:1
-
图形学代码,共初学者学习
可以供初学者学习:OpenGL绘图模版,利用顶点数组旋转矩形,旋转矩形框
- 2022-03-02 00:55:06下载
- 积分:1
-
openGl文件
openGl文件-openGl documents
- 2022-01-21 04:36:20下载
- 积分:1
-
OpenGL三维交通场景仿真
OpenGL 三维交通场景仿真,可以创建道路网和通过外部文件添加车辆
- 2023-03-10 00:25:03下载
- 积分:1