Archive for March 12th, 2008

12
Mar
08

Supershape 2D GLSL Rewrite

I’ve just re-written the Superformula 2D effect in GLSL, rather than CIKernel code, because I couldn’t work out how to fix an annoying CoreImage Filter bug. You can see it clearly as a horizontal line of displaced pixels from the centre to the right edge of the image below.

The rewrite only took me a few minutes, and it works just as well as it did before now (but without the glitch, obviously). I’m not sure what performance differences there are between the GLSL and CIFilter versions, though they should in theory both run on the GPU, rather than the CPU.

I’m going to upload this qcClip to Memo’s site too, in the next couple of days.

CIFilter Bug




Twitter

March 2008
M T W T F S S
« Feb   Apr »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links

Blog Stats

  • 406,832 hits

Follow

Get every new post delivered to your Inbox.

Join 37 other followers