Sphinx.
![]() |
It is not always clear when FF uses a blending approach rather than a simple interpolation scheme. Patterns and noises use blending and gradients use lerp (interpolation).
Also it is not given what actually IS the pragmatically correct approach - it depends on the actual construction. Sometimes blending is useful, other times lerping is useful and then mostly it doesn't matter since input colors are all opaque. Since lerping is cheaper itself (computationally, compared to blending) and is more simple which in most component cases makes it possible to skip fetching either "Foreground" or Background depending on the weight, I propose this option be added where applicable ("Use fast lerp"). |
|
Posted: June 10, 2012 8:15 am | ||
uberzev
![]() |
I've noticed that chaining thresholds is pretty much the fastest way to blend multiple layers in certain situations. Not sure if that has to do with what your saying...
|
|
Posted: June 10, 2012 9:05 am | ||
Sphinx.
![]() |
Well, it is kind of related. The Threshold is infact using that optimization opportunity I'm talking about. What you're doing sounds like a Clipping Tree variation..
|
|
Posted: June 10, 2012 9:29 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
26 unregistered users.