Quartz Composer Patch : Blur Mapping
/* Published by b-l-a-c-k-o-p.com
Copyright (c) 2007-2012

SAMPLE: QameraWetter.qtzThis kernel takes a mask image, and uses the brightness of the mask pixel as the input to a 3x3 blur kernel. This kernel has proved useful in creating "water on glass" effects. It's derived from msBlackCheapBlur, which is listed elsewhere on this page. One of the reasons that we developed cheap blur (actually, ported from shader fragments in cyberspace) is because Core Image gaussian blur seems to be invoking the software OpenGL renderer on the Intel MacBooks. The performance hit is noticeable, as is the increase in memory bandwidth usage. Mr. Black pointed this out, I am simply relaying the info.

UPDATE: This blur mapping kernel is also exceeding the fragment program limits on the MacBook. More research underway...

kernel vec4 msBlackBlurMap(sampler input_image, sampler input_mask_image)
vec3 maxel = sample(input_mask_image, samplerCoord(input_mask_image));
float clamped_radius = dot(maxel,maxel);
float delta_x = 1.0 / (0.1+clamped_radius*0.5);
float delta_y = 1.0 / (0.1+clamped_radius*0.5);
vec2 center = samplerCoord(input_image);
vec4 c = sample(input_image, center + vec2(-delta_x,-delta_y));
vec4 bl = sample(input_image, center + vec2(-delta_x,-delta_y));
vec4 l = sample(input_image, center + vec2(-delta_x, 0.0));
vec4 tl = sample(input_image, center + vec2(-delta_x, delta_y));
vec4 t = sample(input_image, center + vec2( 0.0, delta_y));
vec4 ur = sample(input_image, center + vec2( delta_x, delta_y));
vec4 r = sample(input_image, center + vec2( delta_x, 0.0));
vec4 br = sample(input_image, center + vec2( delta_x, delta_y));
vec4 b = sample(input_image, center + vec2( 0.0,-delta_y));
vec4 blur = 0.25 * c + 0.125 * (l + t + r + b) + 0.0625 * (bl + tl + ur + br);
return blur;

By : Ms. Black Blur Mapping




 B-L-A-C-K-O-P NEWS    
 Mac Apps    
 iOS Apps    
 Free Download    
 B-L-A-C-K-O-P HOME    
 Privacy Policy    
 Terms & Conditions    
 DIY Greenscreen    
 3D Webcam Mac    
 USB 3D webcam    
 CamCamX Blog    
 CatEye Blog    
 DotMatrix Blog    
 GrabberRaster Blog    
 GrabberWindow Blog    
 Qamera Blog    
 Watermarks Blog    
 PDF Watermarking Mac    
 free art software    
 art software free for Mac    
 art software mac    
 PDFBatchBuild Blog    
 PDF Combine Mac    
 CombinePDFs Mac    
 Combine PDF Files    
 Create iTunes Booklet    
 free graphic arts software    
 graphic design software mac    
 free graphic design software    
 Share Your Pictures    
 Washington DC    
 Universal Binary    
 Cocoa Programming    
 Cocoa Software    
 vector art software mac    
 graphic arts software mac    
 Screen Capture    
 Screen Grab Mac    
 iSight download    
 iSight software    
 PhotoBooth download    
 MacBook Camera    
 iMac Camera    
 CamCamX compatibility    
 Fake WebCam Mac    
 VJ Software Mac    
 Video Mixer Mac    
 Live Video Switcher    
 Video Switcher Mac    
 Apple Webcam Effects    
 Webcam Video Effects    
 Free iChat Video Effects    
 Skype Video Effects Mac    
 Video Effects Stickam    
 iSight Virtualizer Mac    
 Webcast Streaming Mac    
 Best Screencast Mac    
 Desktop Streaming Mac    
 Screencast Streaming Mac    
 Broadcast Live Streaming Video Mac    
 QuickTime Broadcaster    
 Quartz Composer    
 Quartz Composer Plugins    
 Quartz Composer Patches    
 Video Effects Ustream    
 Best Polaroid App    
 Polaroid Camera App    
 iPhone Polaroid App    
 Polaroid Camera Emulator    

Copyright © 2005-2015
All Rights Reserved