资源简介
破解了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参考手册
- Qt Creator opengl实现四元数鼠标控制轨迹
- OpenGL文档,api大全,可直接查询函数
- opengl轮廓字体源代码
- MFC读三维模型obj文件
- 利用OpenGL写毛笔字算法
- MFC中OpenGL面和体的绘制以及动画效果
- 基于OPENGL的光线跟踪源代码368758
- VC 实现三维旋转(源码)
- 自编用openGL实现3D分形树,分形山
- OpenGL球形贴图自旋程序
- OpenGL导入贴图的Texture类
- 计算机图形学(openGL)代码
- 用OpenGL开发的机械臂运动仿真程序(
- OpenGL-3D坦克模拟
- OPENGL实现世界上最小的3D游戏
- VS2012OpenGL配置所需要的全部libdllh文件
- 基于OpenGL的仿蝗虫机器人三维动态仿
- 图形学 - OpenGL实现3种三维茶壶显示源
- opengl程序-会跳舞的骷髅
- opengl实现三维网格光顺Laplacian算法
- opengl——爆炸
- OpenGL三维地形建模
- opengl游戏编程徐明亮版(含源码)
- 用OPENGL画的一个简单的直升飞机
- opengl完美天空盒
- 3D绘图程序设计:使用Direct3D 10/9和Ope
- OpenGL绘制可运动自行车源程序.zip
- OpenGL实现飘动效果
- opengl室内场景的绘制,包括碰撞检测
评论
共有 条评论