-
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的控制台程序-an opengl on the Console
- 2022-01-21 20:27:23下载
- 积分:1
-
visual c++与opengl实现的实体旋转程序
visual c++与opengl实现的实体旋转程序-visual c++ realize entity with opengl rotation procedures
- 2022-05-30 23:54:34下载
- 积分:1
-
关于opengl开发最新的开发工程包,该包中含有众多的开发例子,可以通过这些例子加快openGL开发...
关于opengl开发最新的开发工程包,该包中含有众多的开发例子,可以通过这些例子加快openGL开发-opengl on the latest development of the project for the development package, the package contains many examples of the development can be accelerated through these examples development openGL
- 2022-06-03 07:59:02下载
- 积分:1
-
可以显示三维地形表面,是一个很不错的学习OpenGL的源程序
可以显示三维地形表面,是一个很不错的学习OpenGL的源程序-Can display three-dimensional topographic surface, is a very good source to learn OpenGL
- 2022-11-30 06:20:04下载
- 积分:1
-
NeHe教程系列的源代码 很不错的
NeHe教程系列的源代码 很不错的-NeHe tutorial series of source code is very good
- 2023-05-14 09:10:03下载
- 积分:1
-
在MFC中调用OpenGL库函数来实现二维图像的三维显示
在MFC中调用OpenGL库函数来实现二维图像的三维显示-OpenGL in MFC library function call to achieve the two-dimensional images of three-dimensional display
- 2022-03-01 12:07:51下载
- 积分:1
-
利用OpenGL建立MFC视图环境,三
利用Opengl设定MFC的视图环境,三维显示三维数据,处理大量点云数据的显示旋转、平移、缩放等-use Opengl set MFC View environment, three-dimensional display of 3D data, handling a large number of point cloud data show rotation, translation, zooming, etc.
- 2022-05-24 12:36:04下载
- 积分:1
-
OpenGL初级学习的经典例程open inventor
OpenGL初级学习的经典例程open inventor-OpenGL and open inventor
- 2022-02-04 17:35:27下载
- 积分:1
-
虚拟现实中,3D图形的显示,并且拥有光照效果
虚拟现实中,3D图形的显示,并且拥有光照效果-Virtual reality, 3D graphics display, and has lighting effects
- 2023-05-09 23:45:03下载
- 积分:1