Blur effect on live scene?
    Tobias Bley 
    tobi at ultramixer.com
       
    Mon Aug 10 12:28:22 UTC 2015
    
    
  
Hi Mike,
yes, but that’s another demo of using snapshot approach…the question is: why can’t we use this effect in live? So one solution would be to set clip on the effect…
Best,
Tobi
> Am 10.08.2015 um 14:13 schrieb Mike Hearn <mike at plan99.net>:
> 
> Yes, it can be done, and I have done this in my app. Take a look here:
> 
> https://github.com/vinumeris/lighthouse/blob/master/client/src/main/java/lighthouse/Main.java#L474 <https://github.com/vinumeris/lighthouse/blob/master/client/src/main/java/lighthouse/Main.java#L474>
> 
> I do it by taking a snapshot, then blurring that, then cross-fading, then replacing it with a live blur effect once done. I found this gave better frame rates than the simpler way of just animating the blur property of a blur effect, with very little visual degradation.
> 
> Be aware that this won't work well on software pipelines, so I use some internal API to detect that and use a lighter weight effect instead.
> 
> You can download a binary of the app from https://www.vinumeris.com/lighthouse <https://www.vinumeris.com/lighthouse> if you want to see the effect in action (press one of the buttons at the top to trigger it).
    
    
More information about the openjfx-dev
mailing list