Fast Gaussian blur

View previous topic View next topic Go down

Fast Gaussian blur

Post  sio2interactive on Sun Apr 05, 2009 7:19 am

Does somebody have a fast gaussian blur code that let me specify the kernel seed similar as the one in the gimp. This is for real time so it better be fast hehehe Wink

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Fast Gaussian blur

Post  Francescu on Sun Apr 05, 2009 12:37 pm

Some interesting articles on Fast Gaussian blur filter techniques:

[1] Alex Evans, "Four Tricks for Fast Blurring in Software and Hardware," Gamasutra, February 9, 2001. http://www.gamasutra.com/features/20010209/evans_01.htm

[2] Wojciech Jarosz, "Fast Image Fast Image Convolutions," ACM SIGGRAPH@UIUC. http://web.archive.org/web/20030801220134/http://www.acm.uiuc.edu/siggraph/workshops/wjarosz_convolution_2001.pdf

2 very fast Gaussian blur implementations w/ code:
http://incubator.quasimondo.com/processing/fast_blur_deluxe.php (fastest)
http://incubator.quasimondo.com/processing/fastblur.pde (fast)

You can see them in action at:
http://incubator.quasimondo.com/processing/gaussian_blur_1.php


Last edited by Francescu on Mon Apr 06, 2009 4:10 pm; edited 1 time in total

Francescu

Posts : 136
Join date : 2009-03-18

View user profile

Back to top Go down

Re: Fast Gaussian blur

Post  sio2interactive on Sun Apr 05, 2009 4:23 pm

Yeah I found the same thing using google but none of them convince me... tks anyway...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Blur (alpha of mesh)

Post  goldfrapp0x0309 on Mon Apr 06, 2009 2:51 pm

Could it be possible to ghost copies of a mesh (with incremental alpha loss), and create a per mesh "blur effect" ?
avatar
goldfrapp0x0309

Posts : 43
Join date : 2009-02-28

View user profile

Back to top Go down

Re: Fast Gaussian blur

Post  sio2interactive on Mon Apr 06, 2009 4:59 pm

I think render to texture is the only way... (that's what Im doing...)

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Fast Gaussian blur

Post  goldfrapp0x0309 on Mon Apr 06, 2009 5:58 pm

I'll experiment on my side, i'm trying to create effects without accessing the render buffer... (mainly through vertices and going through scene graph)... we'll see how that turns out...
avatar
goldfrapp0x0309

Posts : 43
Join date : 2009-02-28

View user profile

Back to top Go down

Re: Fast Gaussian blur

Post  sio2interactive on Mon Apr 06, 2009 7:31 pm

well its like 100% sure that it turns bad cuz you are going to overload the GPU with vertices... you really better get access to the color buffer or render to texture...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Fast Gaussian blur

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum