| jffe | 
				 
			If I'm in the middle of a filter, wiring it up, and say I want only some of the blurred (we'll use *Blur* in this example question, but obviously it could be for any component) image created thus far going to a 2nd component, how can I do that using only 1 blur ? Yeah, I already know, but this to get you all to think, and to maybe help us find a better way even. Assuming anyone replies/guesses/etc., I will post what I have found works in a day or two. Consider this a fun challenge maybe ? I don't think it's been discussed much, or else sorry if I just missed if it has.  
			jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 2:20 am | ||||||
| 
				
				Sphinx.
								
									 | 
			
				
 I'm not sure I understand what you're saying here.. blend the parts you want blurred and blur them? Assign the different sources to different channels, blur them and extract the channels (given its grayscale)?  | 
		|||||
| Posted: December 12, 2007 2:58 am | ||||||
| jffe | 
				
 ----That might work in some cases, but for the most part let's say that can't be done, the parts both need blur going into them, but they themselves can't just be blended. 
 ----That might be a good though complicated way of doing it.  
----To maybe further clarify the goal, in the picture (above), the idea is to only use one *Blur* component, and accomplish the same thing. jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 1:52 pm | ||||||
| 
				
				Sphinx.
								
									 | 
			
				 
			ah I see.. you want different blur radii outputs... 
 
			Well, for rather simple inputs you could simply adjust the output using different curves. E.g. if the background is black, you could adjust the blackpoint and gamma.. This won't work for high frequency inputs though, as the features would melt together consider a white circle on black background... you want blur radii outputs of 2.5 and 5.. you blur it using 5, and then adjust a copy output to blackpoint around 50... this contracts the visible range roughly to the half.  | 
		|||||
| Posted: December 12, 2007 2:07 pm | ||||||
| jffe | 
				
 ----That sounds like an intersting way to do it, that could be scaled as well to some degree at least. ----In case anyone is wondering, well, obviously the idea is to sort of cheat and save on render time, because using 2 blurs, even at lower radius settings still adds considerabley %-wise to render time. jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 2:21 pm | ||||||
| 
				
				Kraellin
								
									 | 
			
				 
			you could also re-map the blur output individually... use one blur into two components, but re-map each. 
			If wishes were horses... there'd be a whole lot of horse crap to clean up!
 				Craig  | 
		|||||
| Posted: December 12, 2007 2:30 pm | ||||||
| jffe | 
				
 ----Err, remap them how exactly ? Once the set amount of blurred output goes into the next component, the amount of blur is unchangable then no ? jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 2:42 pm | ||||||
| ssamm | 
				 
			Assuming we want to have an image blurred at 5 radius and 2.5 radius, two possible ideas (which give maybe not exactly similar results to the image jffe used above, but fairly close) might be:
 
			1 Chain two blurs each at 2.5, where the second blur would look very similar to a blur with 5 radius. (So the total blur radii calculations aren't 7.5, but just 5). 2. Use one blur at 5 radius, then for the 2.5 radius, blend the 5 radius blurred image over the source image at 50% opacity. (So the blur calculations still only add up to 5 radii, and you use a quick blend component -- which I'm guessing may be faster than calculating 7.5 blur radii.) (I'm not sure I spent enough time trying to understand the question, but this is what I imagined so far...)  | 
		|||||
| Posted: December 12, 2007 6:28 pm | ||||||
| jffe | 
				
 ---That defeats the purpose of using just one blur, but is something I've done before for other things. 
 ----That would be approx. 2.5 blur radii, although blending the blur with itself might produce a 7.5 blur radii, hmm. See, I knew this was a good topic, new ideas. ----And since ssamm guessed it, my way was exactly his #2 suggestion, blend the blurred 5 with it's unblurred self, for an approx. 2.5 blur then going out to the 2nd component, thusly getting 2 *Blurs* for the price of one. jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 6:39 pm | ||||||
| ssamm | 
				 
			jffe, 
 
			
 Yay! I probably wouldn't have thought of it, if you hadn't posited it as a question, though. I think it's a nice practice to try to see how we can reduce render times with filters -- since for me, long render times tend to turn me off from further experimenting with certain effects...  | 
		|||||
| Posted: December 12, 2007 7:19 pm | ||||||
| jffe | 
				
 ----It's a feature we requested back in the beta days if I recall, but FF pretty much said extensive "math" components wouldn't be implemented until V2 at the earliest. So I had all but forgotten ever wanting it (like many things in life, why bother daydreaming when it isn't anywhere near on it's way ha-ha), until the other night when I really wanted it again ha-ha. The blending trick works alright, and it can be scaled a bit, but it's surely an imperfect solution ultimately. But hey, meanwhile it can save ya 1%-10% render time in a filter pretty easily, unless you need a 100% control and pristine looks, then it's probably not gonna cut it. jffe Filter Forger 				 | 
		|||||
| Posted: December 12, 2007 7:27 pm | ||||||
| 
				
				Mousewrites
								
									 | 
			
				 
			::blinks at this post, and then skulks back to her 'I use curves sometimes... I swear.' place, where she has cheerios. ::				 
			 | 
		|||||
| Posted: December 13, 2007 12:40 am | ||||||
| jffe | 
				
 ----It takes way too long to start thinking in FF terms, but once ya do, you start picking it apart, and looking for ways to subvert what exists ha-ha.  
jffe Filter Forger 				 | 
		|||||
| Posted: December 13, 2007 1:22 am | ||||||
| 
				
				Sphinx.
								
									 | 
			
				
 Hmm.. So you simply blend a blurred source with the unblurred source... I can understand how this would work for radii < 1.. but > 1 it seems like a rather far fetched approximation... think of radius = 50.. blending that 50% on the source doesn't give something that looks like 25.. it gives you a semitransparent blob Let me try that tonal remapping approach I talked about.. I'll post a an example later..  | 
		|||||
| Posted: December 13, 2007 4:09 am | ||||||
| 
				
				Sphinx.
								
									 | 
			
				 
			Allright.. here's a hardcoded white on black edition of the remap idea. It still needs alot of tweaking, and I didn't put much analytical brainwork into it - I know there is a specific relation between the brightness decrease and blur radius, which most probably can be compensated better than I do here... and remember this only works for simple inputs like a white frame on black background - plug in an image and you'll get extreme over exposure or something. 
			Faux Variblur - Tonal Variation.ffxml  | 
		|||||
| Posted: December 13, 2007 5:43 am | ||||||
| 
				
				Sphinx.
								
									 | 
			||||||
| Posted: December 13, 2007 5:44 am | ||||||
| 
				
				Sphinx.
								
									 | 
			||||||
| Posted: December 13, 2007 5:44 am | ||||||
| 
				
				Sphinx.
								
									 | 
			||||||
| Posted: December 13, 2007 5:46 am | ||||||
| jffe | 
				 
			Very smooth, compared to the blend half & half method. Your method could definitely be used for something(s) and look much nicer. I was just trying to think and get people thinking about a fast & dirty way to get 1/2 or so of any output routed somewhere else without doubling that component and costing more render time and needing a 2nd control etc. If you ever brainstorm a way to do it as smoothly with any component and even using image input, that might very well become snippet of the year.   
			jffe Filter Forger 				 | 
		|||||
| Posted: December 13, 2007 2:32 pm | ||||||
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,736 Registered Users
					+14 new in 30 days!
153,582 Posts
					+5 new in 7 days!
15,355 Topics
					+5 new in 30 days!
24 unregistered users.