Textures and Shaders in OpenGL on iOS
2016-08-23
1 0 0
no vote
Other
Earn points
Translated by maninwest@Codeforge Author:KarstenK@CodeProject
The article demonstrates how easy it is to work with OpenGL textures on iOS and common work pattern as singleton, MVC, outlets and test. So OpenGL is a useful technology which is also available on other platforms. The drawback is, that the very old version 2.0 from 2004 is standard, and the "new" is OpenGL 3.0 (2008).
Screenshot: with selection of the pictures and slider for red filter effect.
Background
I wanted to understand OpenGL better, because its graphic perfomance and compatibility to use it in other projects.
Using the code
The included sample project is derived from the plain template of Xcode following the MVC-model, which Model-View-Controller means and really helps to separate code into useful pieces. So the ViewController class is making full use of its name and it is controlling how the view is working. Important is the Displaylink
The article demonstrates how easy it is to work with OpenGL textures on iOS and common work pattern as singleton, MVC, outlets and test. So OpenGL is a useful technology which is also available on other platforms. The drawback is, that the very old version 2.0 from 2004 is standard, and the "new" is OpenGL 3.0 (2008).
Screenshot: with selection of the pictures and slider for red filter effect.
Background
I wanted to understand OpenGL better, because its graphic perfomance and compatibility to use it in other projects.
Using the code
The included sample project is derived from the plain template of Xcode following the MVC-model, which Model-View-Controller means and really helps to separate code into useful pieces. So the ViewController class is making full use of its name and it is controlling how the view is working. Important is the Displaylink
objective-c
ios
opengl
着色
底纹
Related Source Codes
OpenGL sun earth moon coordinate transformation
0
0
no vote
ABCD system for security ABCD available ABCD avail
0
0
no vote
OpenGL draw solid circle
0
0
no vote
2022zui complete original e-commerce multi termina
0
0
no vote
AT24C16 Soft IIC Driver
0
0
no vote
No comment