资源简介
破解了Instagram App的几十种滤镜(OpenGL ES shader 文件 和 color mapping 文件)。并且利用GPUImage来完成demo。可以给照片和视频,以及实时相机加上各种滤镜效果。
由于这份代码中的滤镜效果是破解Instagram的,按照原作者的意思,这些滤镜文件是不能直接用作自己App的滤镜,希望我们开发者能自觉遵守,仅把这份代码作为学习用途。
代码片段和文件信息
//
// IFAppDelegate.m
// InstaFilters
//
// Created by Di Wu on 2/28/12.
// Copyright (c) 2012 twitter:@diwup. All rights reserved.
//
#import “IFAppDelegate.h“
#import “IFRootViewController.h“
@implementation IFAppDelegate
@synthesize window = _window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithframe:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor blackColor];
IFRootViewController *ifRootViewController = [[IFRootViewController alloc] init];
self.window.rootViewController = ifRootViewController;
[self.window makeKeyAndVisible];
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-11-22 17:55 InstagramFilters-master\
文件 8196 2015-11-22 21:11 InstagramFilters-master\.DS_Store
目录 0 2015-11-22 21:20 __MACOSX\
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\
文件 120 2015-11-22 21:11 __MACOSX\InstagramFilters-master\._.DS_Store
文件 18594 2015-06-27 03:45 InstagramFilters-master\Default-568h@2x.png
目录 0 2015-11-22 17:55 InstagramFilters-master\FacebookSDKResources.bundle\
目录 0 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\Contents\
目录 0 2015-11-22 17:55 InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\
目录 0 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\en.lproj\
文件 1702 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\en.lproj\Localizable.strings
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\en.lproj\
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\en.lproj\._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\._en.lproj
目录 0 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\he.lproj\
文件 1674 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\he.lproj\Localizable.strings
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\he.lproj\
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\he.lproj\._Localizable.strings
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\Resources\._he.lproj
文件 212 2015-11-22 17:55 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\Contents\._Resources
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\._Contents
目录 0 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\
目录 0 2015-11-22 17:55 InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\images\
文件 1540 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\images\close.png
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\
目录 0 2015-11-22 21:20 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\images\
文件 212 2013-11-01 16:19 __MACOSX\InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\images\._close.png
文件 2501 2013-11-01 16:19 InstagramFilters-master\FacebookSDKResources.bundle\FBDialog\images\close@2x.png
............此处省略315个文件信息
相关资源
- opengl 3d obj模型加载,贴图
- 实时计算机图形学 第二版英文版pdf格
- OpenGL实践三:水面涟漪的逼真绘制毕
- Opengl实现的Ray Casting 光线投射算法
- 天空盒(opengl)
- opengl图形学实验七 不同的光照渲染
- OpenGL-Nehe完整中文教程和全部源代码
- 扫描线填充算法的OpenGL实现
- OpenGL soil库与布置方法,位置
- 基于opengl的杯子模型
- opengl 红宝书 计算机图形学红宝书 图
- 一套基于QT、GDAL、OpenGL的遥感影像显
- OpenGL 画荷花
- OpenGL安装包+安装指导Windows平台
- freeglut,包括.dll、.h和.lib文件,完美
- OpenGL的虚拟校园漫游系统的设计与实
- 基于OpenGL的Loop网格细分
- OPenGL地层时适渲染LOD
- OpenGL使用画家算法实现隐藏面的消除
- OpenGL实现3D小车
- 基于VS2010的OpenGL 3D场景
- 使用OpenGL实现飞机动画
- OpenGL圣诞树
- 计算机图形学OpenGL——地月系
- opengl立体树
- OpenGL+FreeType渲染宋体中文
- opengl库文件132171
- opengl场景设计(房子+烟花+漫游+山)
- 扫描线有序边表实现
- Opengl函数与范例解析手册pdf
评论
共有 条评论