Login - Create Account

Proportional Gradient by ThreeDee



ronviers
na

Posts: 3486
Filters: 30
Proportional Gradient by ThreeDee
http://www.filterforge.com/filters/5311.html

User added an image



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Excellent! Going to use it right away. Thank you. Big grin



How do I look? You look ready... [Kill Bill]
  Details E-Mail
uberzev
not uberfez

Posts: 1138
Filters: 31
http://www.filterforge.com/filters/5311.html

Deer
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Oh my god, Uberzev -- you've already done this before??? I better go see if you did it the same way.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Man, how did I miss that? Your solution is simpler and faster. How did you ever discover that threshold oddity to find the center point, anyways?

Maybe we could just combine the automatic detection of horizontal vs. vertical and have a real easy plug-and-play snippet?
  Details E-Mail
uberzev
not uberfez

Posts: 1138
Filters: 31
If you'd like to update your filter with my simplified logic that would be great. Cool

(I made it so long ago I had forgotten how it works.) Deer

Your making some totally awesome filters, and if I wasn't as conceited as I am I'd spend more time praising your work around here. Wink

Also you may have overtaken me as having the coolest avatar. Crying
  Details E-Mail
Kraellin
Kraellin
Posts: 8795
Filters: 79
lol. your avatar was never cool, uber. it just thought it was cool Big grin Wink

now that 3d has spotted yours, uber, you might both explain how and when to use these. i tried once and got lost.
Ya can't sell art to artists!

Craig
  Details E-Mail
CFandM
ForgeSmith

Posts: 1835
Filters: 140
Good work Threedee

Quote
Kraellin wrote:
now that 3d has spotted yours, uber, you might both explain how and when to use these. i tried once and got lost.


Try this Kraellin
http://www.filterforge.com/forum/read.php?FID=10&TID=4923
Smile
  Details E-Mail
Kraellin
Kraellin
Posts: 8795
Filters: 79
ah, thanks, CF Smile
Ya can't sell art to artists!

Craig
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Hi ThreeDee, here is a variation that makes life easier for filter makers wanting a simple snippet for updating their old filters - it bypasses the controls.


I changed it again, this time I just piled everything on top - less confusing and easier to work with.
It would be nice if something could done to make it faster.

Thanks for the great snippet. Smile

Proportional Gradient var b.ffxml



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Hi Ronviers,

Great, that looks very handy for inclusion in other filters!

TD
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Thanks for the new snippet! Big grin Big grin I will post back with some numbers a little later.

Quote
ThreeDee wrote:
handy for inclusion in other filters!

Sure thing. Snippets are for teaching and I like the way you lay them out and explain them with comments. Smile



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
I am not showing any significant difference in performance. In fact the new one took ten seconds longer than the old one. Here is my test. Tick the old to select the old version.
This probably a result of my test.

Stretch by Corners jcompare old_newa.ffxml



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Here is something I was thinking of. Here I shrank the frame down to tiny then expanded it back to normal after it does the calculation. It served only to make it much slower. Sad I'm really not good at this kind of thing. Smile

pg a.ffxml



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Quote
ronviers wrote:
I am not showing any significant difference in performance. In fact the new one took ten seconds longer than the old one.


If you were already using Uberzev's Proportional Gradient as the "old" one, the "new" one would not be faster, it just added the automatic detection of horizontal vs. vertical, which would result in some slowdown. It's a bit hard or me to tell from the stacked version what the "old" and "new" versions are, but I assume this is the case.
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Here they are spread out.

Stretch by Corners scompare old_news a.ffxml



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
I took a look at the way the Stretch by Corners is put together and I have one (theoretical) idea: You may want to try the approach of making radial spokes first (that all originate from the center -- I believe uberzev or someone has one of those) and then, at the end, use offsets to place the center at the corners and stretch the image to the correct proportions. There is a limit to the maximum relative difference in the width and height of the image this way (either 2:1 or 4:1), but it may be faster. Or it may not. But it's another idea.
  Details E-Mail
ronviers
na

Posts: 3486
Filters: 30
Thanks for the suggestion, and eventually I will look into it, but I am going to leave things just as they are for now. I am happy with what I have posted. Smile



How do I look? You look ready... [Kill Bill]
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Quote
ronviers wrote:
Here they are spread out.


Christ, I still don't recognize them due to the arrangement. Is the "old" one my first one and the "new" one the one that uses Uberzev's gradients with my automatic horizontal vs. vertical? In other words, are these my old and new versions?
  Details E-Mail
ThreeDee
Lost in Space

Posts: 432
Filters: 67
Okay, that's good. The filter is just fine as it is. I thought you might still be in the search for potential ways to improve speed.
  Details E-Mail