Tepearley
![]() |
So I'm playing around with a filter I'm making and I want to add some blur to it but the actual component is waaayyy too slow. Are there any ways of getting the effect without slowing things down so much?
|
|||||
Posted: March 12, 2014 1:49 am | ||||||
SpaceRay
![]() |
YES! this would be a very good thing to find, as there are many things that could be faster, but the blur slows it down much, also would be good for making shadows.
1 - Maybe someone could be possible perhaps to make a script with an blur alternative that maybe could be faster 2 - Or another idea I have just had, is to use the new loops to generate the blur effect with other components, but of course that do not know if this could be faster or slower than the real blur component. I found something in the forum, but do not know how to do it or if it could work
As said above, maybe this offset construction suggestion could be done using a loop to increase gradually the offset to make the blur effect.
|
|||||
Posted: March 12, 2014 3:23 am | ||||||
Yuya
![]() |
Basically this. But it's as slow anyway. |
|||||
Posted: March 12, 2014 8:02 am | ||||||
Tepearley
![]() |
Thanks guys! I figured it would be a tough one. I'm still pretty new to this so I have no idea how to use the loop component yet and I've read on here that it's pretty slow too. It probably would take someone who can write code for a script component to be able to have a faster alternative.
|
|||||
Posted: March 13, 2014 2:39 am | ||||||
Tepearley
![]() |
||||||
Posted: March 15, 2014 9:20 pm | ||||||
Tepearley
![]() |
It's supposed to simulate clear liquid macro photos.
|
|||||
Posted: March 15, 2014 9:22 pm | ||||||
ThreeDee
![]() |
Here's a simple approach that improves rendering speed especially for large-radius blurs. Turn the radius up and down with and without the "fast" button clicked.
Fast Blur.ffxml |
|||||
Posted: March 16, 2014 1:33 pm | ||||||
Tepearley
![]() |
Wow! That's blazing fast
![]() |
|||||
Posted: March 16, 2014 8:49 pm | ||||||
SpaceRay
![]() |
WOW!!ThreeDee this has been a clever and interesting way of making it faster, just reduce the original and then enlarge it back again to original size!!!
Congratulations on thinking of this and thanks for sharing it in the forum and help us with your knowledge and great ideas! Although there is something wrong in your filter, the result from enlarging it is NOT exactly the same although quiet close, so I have tried to reduce the size of the radius in the scaled version to make it more similar to the original blur, but yet I have not found the exact number that will match the original blur Instead of 10 in the remapping, I have tried 2, 5, 8 and 11 and 15 but gives slighty different results, will see which should be the better radius value that will fit to this so you get the closest result to the original blur in the same way that I got it right in the High Pass below HOW MUCH FASTER IS IT? Although there is something strange, when testing the filter with 600x600 images it is very clear that the fast version is really much faster and works smoothly, but I have tried to use a 7000x7000 image and the difference is not very high Original Blur with radius 3 = 2 minutes Fast Blur with radius 3 = 1 minute 44 seconds I wonder if it could be that the difference in time is because both do not have exactly the same radius and the result is slighty different? Would need to make more speed test to know it FASTER HIGH PASS The best thing from this idea, is that this idea of scaling CAN be applied to OTHERS SLOW components, for example I have tried to use the HIGH PASS that is also slow and it works also well, and even better as I got the best radius value so both results are nearly the same, the difference here is really very, very little and almost identical To get this I have reduced the remapping value from Maximum 10 to Maximun 2 In a 7000x7000 pixels: The original High Pass takes 2 minutes 14 second The new Fast High Pass takes 1 minute 45 seconds Here is the Fast High Pass filter Fast High Pass.ffxml |
|||||
Posted: March 17, 2014 4:50 am | ||||||
Tepearley
![]() |
From a test I just did using fast blur only I used a 4896 X 3672 at 300 dpi and it took 26.9 seconds for a final render using the Photoshop plugin.
When I added it to the filter I'm working on, it's way faster then the regular blur component but yeah filters with more to them and on higher resolutions are still slow for the final render although fast for the preview render (I forgot what the first render is called haha). It's a surface filter so I'm guessing that would effect it too. It's just in the nature of FF and maybe the team will find a way for the speed issue to be addressed. Anyway Fast Blur really does look a lot better then the median method and it is faster then the blur component ![]() |
|||||
Posted: March 17, 2014 8:18 pm | ||||||
ThreeDee
![]() |
That's correct. It is basically just a dirty trick which utilizes the fact that blur is a bitmap-based effect. The only setting which will give you the same exact result is zero scaling. This trick works better with larger blurs; the larger the image and the blur radius, the greater the scale factor up and down can be. It could possibly be made more "intelligent" by adding a script that calculated the optimum scaling factor from a combination of the image size and blur radius. But I haven't tried it. |
|||||
Posted: March 20, 2014 12:32 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,537 Posts
+6 new in 7 days!
15,348 Topics
+72 new in year!
44 unregistered users.