Rawn (RawArt)
![]() |
Anyone know how to make a filter that will apply a pattern that projects out from a selection?
I have seen alot of cool things done with FF2 and directional filters, but I dont have the time lately to play and see what can be done. So I am wondering if anyone has tried something like this. I have a couple pattern settings I would love to apply this way for a few projects I am working on. I think alienskin or one of those used to have a lightening effect that followed the edge of an object *shrug* ![]() |
|||
Posted: August 24, 2010 8:53 am | ||||
Sphinx.
![]() |
Yes, I worked a bit on that some time ago. Its a tough problem and I didn't manage to make it perfect. Check out the discussion here.
|
|||
Posted: August 24, 2010 9:02 am | ||||
Kraellin
![]() |
uhm, is the selection within photoshop or FF? cause if it's in ps, then it's easy, you just invert it and apply the FF pattern to the inverted. and since FF has no real 'selection' thingie, no 'marching ants', then i'm not sure what you mean. but, frames and ellipses come to mind as a starter.
If wishes were horses... there'd be a whole lot of horse crap to clean up!
Craig |
|||
Posted: August 24, 2010 4:07 pm | ||||
Rawn (RawArt)
![]() |
Yeah, I am thinking of a photoshop selection....but I am confused as to how to get the filter to recognize the selection and project the pattern out accordingly with regard to the edges of the selection.
Rawn |
|||
Posted: August 25, 2010 8:22 am | ||||
GMM
Moderator
Posts: 3491 |
Rawn, there is a pretty detailed help article on the subject. Does it make the issue clear?
|
|||
Posted: August 25, 2010 9:08 am | ||||
Sphinx.
![]() |
Think about how the coordinate x and y dimensions look respectively for that mapping, i.e. what would you need to plug into a Lookup component to get the pattern.
One dimension would look like gradient going from black to white outwards from the shape (or inverted). This can be faked with a blur (ideal is a distance transform). If the selection is a disc/circle, this would be a radial gradient. The other dimension would look like a repeating gradient around the shape path. This is the "hard" problem I tried to solve (see the link). If the selection is a disc/circle this would look like a repeating angular gradient with center in the center of the disc. Follow? |
|||
Posted: August 25, 2010 9:09 am | ||||
Rawn (RawArt)
![]() |
I think I follow...thanx guys
If nothing else, I at least have some ideas to play with till i figure something out ![]() Rawn |
|||
Posted: August 25, 2010 9:25 am | ||||
tigerAspect |
Gah, again, another effect that a Distance Transform is perfect for. It's really frustrating, it's impossible to implement without the bitmap-based Script component. After passing the area through the distance transform, one direction is the normal of the resulting heightmap, and the other is simply that normal rotated 90 degrees (or the "orthonormal"), at least, I think, i'd have to actually see if that worked or not ![]() |
|||
Posted: August 25, 2010 12:06 pm | ||||
CorvusCroax
![]() |
Hi Rawn,
A way you can sort of fake distance transform is to use photoshop's outer glow (or inner glow). Once you have that, say as a selection, you can then use a technique similar to Sphinx's and Mike's dotted lines. There will still be distortion at the narrow points, though.
Yeah, even some kind of 'outer glow' would be hugely useful. It seems like, since all the noises use distance in their generation, that a generalized node should be possible... Maybe later I'll whip up something to demonstrate. |
|||
Posted: August 25, 2010 5:47 pm | ||||
CorvusCroax
![]() |
||||
Posted: August 26, 2010 12:55 am | ||||
CorvusCroax
![]() |
||||
Posted: August 26, 2010 12:57 am | ||||
CorvusCroax
![]() |
||||
Posted: August 26, 2010 12:58 am | ||||
CorvusCroax
![]() |
||||
Posted: August 26, 2010 1:02 am | ||||
CorvusCroax
![]() |
And here is the filter. (again, based off of Sphinx's original.)
You can control where the shape starts and stops by messing w/ the cuves. You can change the 'circularity' of it by changing the control after the derivatives. You can rotate the whole thing by changing the curve driving the Repeat A shape. If you shift the phase on this, you roate the pattern around the shape. Basic Angular Expansion PATTERN.ffxml |
|||
Posted: August 26, 2010 1:09 am | ||||
Rawn (RawArt)
![]() |
Thanx...I look forward to playing with this this weekend
![]() You guys Rock! Rawn |
|||
Posted: August 26, 2010 7:41 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!
15 unregistered users.