Kraellin
![]() |
ok, i've looked at the prof grads and still dont see how to hook them up to make a non-square image work right with an effect. and now that there seems to be more than one prof grad filter, i'm even more confused. would someone care to write a tutorial on these?
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 1, 2008 9:34 pm | ||||
Kraellin
![]() |
ok, i'd better ask this question, too. can a proportional gradient filter be used to make a filter work that doesnt use profile gradients but does use 3 or 5 color gradients when used with non-square images??
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 1, 2008 10:15 pm | ||||
ThreeDee
![]() |
Hi Kraellin,
The implementation will depend on your filter somewhat. In the simplest of cases you can just replace the Profile Gradient with the Proportional Gradient. It gets more complicated when you want to use a Proportional Gradient and expect for example the Offset component to work the same way as it does for a square image. It doesn't. Let's take the 3 and 5 color gradient matter as an example. If you had a filter that was using a 5-color Gradient to make a "landscape," you would go about converting the square 5-color gradient to non-square as follows: 1) Copy the Proportional Gradient snippet into you filter. (Ronviers made a handy-dandy version thereof that is the easiest to include, but you can also take my modified Uberzev version. Both of them work without requiring a checkbox for vertical vs. horizontal.) Ronviers version ("Proportional Gradient var b.ffxml") can be found in this thread: http://www.filterforge.com/forum/read...1&TID=4916 2) Add an Elevation Gradient component. 3) Connect the vertical Proportional Gradient to the Elevation input of an Elevation Gradient 4) Connect the 5-color Gradient to the Gradient input of the same Elevation Gradient A sample filter of what I described above is attached here. In this sample I have also shown how to use the Switch Component to enable faster rendering for square images for a filter that includes non-square support. (Note: You can remove the unused proportional gradients -- the two horizontal ones and the second vertical one -- from the filter, as they are not needed in this particular filter. I simply copied the Ronviers snippet complete.) If you have a filter you are trying to get to work that you are having trouble with, you can attach it to this thread and I'll take a look at it. Proportional Gradient sample.ffxml |
|||
Posted: May 2, 2008 8:00 am | ||||
Kraellin
![]() |
3D, ok, thanks for that. however, that 'Proportional Gradient var b' filter has no markings so, i'm a little confused on what the 'vertical proportional gradient' is. is it the blend component or one of the inverts or what? nothing is marked in that filter.
also, if i have more than one 3 color gradient, will i need another copy of the snippet and use it with the other 3 color grad as well? and i apologize ahead of time; this snippet has always confused me (and thus frustrated me). i think it's something i need and want to use, but just have never had a clue as to how to use it. so, bear with me on this one, if you would, please. you might think someone who has been using the program for two years would have a clue, but on this filter, nope... no clue whatsoever. so, be patient, break it all down into idiot terms and such and point out everything precisely. and i probably will post the filter later on today if i cant figure this out any better ![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 2, 2008 9:12 am | ||||
Kraellin
![]() |
3D, it doesnt work. well, not like i thought, anyways. i have image and threshold componets plugged into the 3 color gradient 'colors' nodes and that data doesnt now get passed through like before. i guess i'll have to post the filter. i may do that after i submit this as a square only.
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 2, 2008 2:16 pm | ||||
Kraellin
![]() |
ok, i submitted this one to the library. here it is:
Side Shadowing 1i.ffxml If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 2, 2008 2:28 pm | ||||
ssamm |
Kraellin,
One idea to create that Side Shadowing effect on non-square images, could be to use Proportional Gradients as opacity masks. I'll attach an example filter. (The added controller is there to let you choose between a Square image (using your filter), a Wide image (using uberzev's snippet), a Tall image (using uberzev's snippet), or Any image (with any proportion (using ThreeDee's snippet) -- which probably runs the slowest).) There's also ways you could adjust the gradients/masks (e.g. putting the gradients through a Tone Curve adjustment with tweaked Curves...) I hope this helps somehow... ![]() Side Shadowing 1M.ffxml |
|||
Posted: May 2, 2008 4:25 pm | ||||
Kraellin
![]() |
well, i havent a clue why that works, ssamm, but it does! i'll have to study it more. thank you!
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 2, 2008 10:18 pm | ||||
ronviers
![]() |
||||
Posted: May 4, 2008 8:23 am | ||||
ThreeDee
![]() |
Hi Kraellin, back from other business...
Okay, I see what you're doing. I would have never thought of doing the filter that way, but I see what you want to achieve. And I can see the frustration you are having -- the way you have it, there is no direct way of making it non-square. So here's an approach that would allow making it non-square. It is pretty different from how you did it and far from the best way to do so, mostly made for the purpose of demonstrating how you could use the proportional gradient to do something similar. Side Shadowing 1j.ffxml |
|||
Posted: May 5, 2008 10:45 am | ||||
ThreeDee
![]() |
As to having more than one gradient in the filter, it would be best to just connect the output from one copy of the Proportional Gradient snippet to the inputs of the different components that need it.
|
|||
Posted: May 5, 2008 10:49 am | ||||
Kraellin
![]() |
ah, that's what i wanted to hear ![]() and thanks, 3D. now that i know you cant do anything non-square and cant fix it to work with non-square, i'm sure i can come up with another method as well. in fact, i've already got another method in mind ![]() oh, and if you'd put your name in there on the filters you post here that would be a big help. i already have a 'side shadows 1j.. 1k, 1l, 1m, 1n, etc, etc, etc ![]() ![]() and i do thank you for the filter and all the help here from everyone! ron, ssamm, 3D, thanks guys ![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 5, 2008 1:20 pm | ||||
ThreeDee
![]() |
I didn't mean to say you can't do anything non-square.
You CAN make non-square filters using the Proportional Gradient. You CAN replace a Profile Gradient with a Proportional Gradient. You CAN'T directly replace a 3-color gradient (especially one that uses an external image as an input) by a proportional gradient. You will have to construct the filter differently. The sample filter I attached shows one way to do the side lighting effect, albeit not a very good one. Hope that's clearer. |
|||
Posted: May 6, 2008 9:27 pm | ||||
Kraellin
![]() |
3D, it's ok. i understood you the first time
![]() If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: May 6, 2008 10:59 pm |
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,533 Posts
+38 new in 30 days!
15,348 Topics
+73 new in year!
11 unregistered users.