-
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
-
水木清华的精华区OpenGL系列例程及教程,非常好,适合OpenGL初学者...
水木清华的精华区OpenGL系列例程及教程,非常好,适合OpenGL初学者-SMTH, the focus of OpenGL series of routines and classes, is very good and is suitable for beginners OpenGL
- 2022-09-23 15:30:02下载
- 积分:1
-
一个简单的粒子系统。使用OpenGL和VC++完成。加入了大量的注释。...
一个简单的粒子系统。使用OpenGL和VC++完成。加入了大量的注释。-A simple particle system. The use of OpenGL and VC++ finish. Add a large amount of the Notes.
- 2022-08-14 08:22:46下载
- 积分:1
-
OPENGL编程飞机三维仿真
针对飞机三维模型的设计与实现,首先利用专业建模软件3DS MAX 来建立飞机模型。然后将飞机模型文件格式用软件3D
Exploration进行转换并导入工程。虽然3DS
MAX建模方便,效果逼真,但是用3DS
MAX制作的动画没有交互性,无法实时控制,而OpenGL的实时控制功能强大,因此需要将3DS
MAX建立的飞机模型文件进行转换,转换后将新模型文件添加到仿真程序工程中。最后利用OpenGL 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-01-28 14:46:19下载
- 积分:1
-
用Delphi开发的一个OpenGL,这是一个很好的例子,它可以帮助你…
使用DELPHI来开发一个OPENGL的程序,这是一个很好的例子,它可以帮助你如何在DELPHI来实现这个梦想!-use Delphi to develop an OpenGL, this is a very good example, It can help you in DELPHI how to achieve this dream!
- 2022-01-28 16:46:14下载
- 积分:1
-
is goodgferfg greger gtrhsfvbs
主要功能一方黑色棋子 一方为白色棋子。颠三倒四的-is goodgferfg greger gtrhsfvbs
- 2023-06-03 06:50:03下载
- 积分:1
-
用opengl画一个黄金分割矩形
用opengl画一个黄金分割矩形-use opengl package to draw ....
- 2022-06-17 21:46:17下载
- 积分:1
-
本程序是模拟爆发的喷泉,包括粒子的生成、粒子的运动、粒子的死亡、粒子的绘制及场景的绘制...
本程序是模拟爆发的喷泉,包括粒子的生成、粒子的运动、粒子的死亡、粒子的绘制及场景的绘制-this process is simulated outbreak of the fountain, including particle formation, particle movement, the death particles, particle rendering and scene rendering
- 2022-04-24 02:38:19下载
- 积分:1
-
计算机图形学opengl
计算机图形学opengl-computer graphics opengl
- 2022-07-26 04:34:45下载
- 积分:1
-
图形学程序,用vc写的小球光照效果演示例子,非常经典,极力推荐下载...
图形学程序,用vc写的小球光照效果演示例子,非常经典,极力推荐下载-Graphics program, written using vc demo examples of ball lighting effects, very classic, highly recommended to download
- 2022-03-22 21:52:13下载
- 积分:1