CorvusCroax
![]() |
Can someone tell me how to make a 'mirror' snippet? I need to make components which mirror one half of the image to the other half. That is, to make it symmetrical across one axis, but not both.
I understand there is some way to do this using the offset component ... but I can't seem to figure it out. Kaleidoscope doesn't work, because it mirrors in both the X and the Y direction. Thanks! Also, is there some way to do an arbitrary rotation? ie take my image and rotate it with an angle control? |
|||
Posted: September 2, 2008 2:24 am | ||||
Carl
![]() |
Uberzev has " Any Angle Rotate v1.1 "
![]() ![]() ![]() |
|||
Posted: September 2, 2008 7:28 am | ||||
jffe |
----You havta mask off half the image, then flip the half ya didn't mask off and then blend them together. I thought it could be done in 30 seconds with the *kaleidescope*, but yer right that it always seems to want to do both X and Y. jffe Filter Forger |
|||
Posted: September 2, 2008 1:16 pm | ||||
CorvusCroax
![]() |
Voldemort has a great filter called "Split Mirrir". Attached is an image of the 'business end' of the mirroring. The trick is to use offset, with half of the image being 50% gray, and the other half being white.
Honestly, I have no idea why this works... I guess I don't understand the fundamentals of the offset node. Why would offsetting something by 50% have the result of mirroring it? (Shrug) ![]() |
|||
Posted: September 3, 2008 11:37 pm | ||||
Carl
![]() |
||||
Posted: September 4, 2008 2:01 am | ||||
CorvusCroax
![]() |
Thanks Carl,
So, why do you need the Profile Gradient step? Why not just use offset? BTW: can you explian why the offset works to mirror ? |
|||
Posted: September 4, 2008 2:32 pm | ||||
Sjeiti
![]() |
||||
Posted: September 4, 2008 3:22 pm | ||||
KGtheway2B
![]() |
How the heck do you figure that stuff out?
|
|||
Posted: September 4, 2008 7:42 pm | ||||
CorvusCroax
![]() |
Hey, thanks Sjeiti:
Interesting. Is using a 3 color gradient is easier than a 2 color gradient with a step profile? Honestly, I think I understand the offset node your method even less: why would offset only use the gray half of the gradient, and ignore the fading black half? The black half doesn't seem to have any effect at all. |
|||
Posted: September 5, 2008 1:24 am | ||||
jffe |
I actually masked 1/2 the screen first, then used a method quite similar to Carl's. "Why" it works ? No idea, I just kept looking at it and thinking what am I working with, o.k., half the original image, so I started off masking half the image then it just clicked literally in like a minute from there. Weird how solving graphics problems can be like that, you really just havta get into a headspace to figure out, what am I working with and what part of that is the goal. I enjoyed this challenge, it took me like 45 minutes of really using my brain (unlike the usual 2-3 hours and only getting halfway there trying to cop some Sjeiti licks ha-ha) and really odd that there does not appear to be a simple mirror-this-image snippet or filter in the whole library ?
jffe Filter Forger |
|||
Posted: September 5, 2008 1:57 am | ||||
Sjeiti
![]() |
Well I do lots of trial and error with Offset component too. But I can explain most stuff beforehand. In this case my reasoning was simple:
I know using an entire gradient will simply flip the image. I know 50 percent gray will not offset anything (more black offsets one way, more white offsets the other way). So for flipping an image I just need half the normal b/w gradient, and the other half must stay the same: so must be 50 percent gray. |
|||
Posted: September 5, 2008 2:12 am | ||||
Carl
![]() |
LOL yours use more components ![]() ![]() |
|||
Posted: September 5, 2008 5:48 am | ||||
Sjeiti
![]() |
More?... I count one less.
|
|||
Posted: September 5, 2008 10:22 am | ||||
Carl
![]() |
to be able to select either mirror left or right side you would need two more components in your filter, unless you open - unplug - plugin - close each time as one of your branches is not plugged in....... hmmmm
![]() |
|||
Posted: September 5, 2008 9:05 pm | ||||
CorvusCroax
![]() |
||||
Posted: September 5, 2008 10:09 pm | ||||
CorvusCroax
![]() |
||||
Posted: September 5, 2008 10:16 pm | ||||
Carl
![]() |
yep it's an interesting one - where are all the techno heads when we need them
![]() ![]() |
|||
Posted: September 6, 2008 12:14 pm | ||||
Sjeiti
![]() |
Well in what I posted yes, but I just put the other one in there to show how it works. If I'd add controls for flipping and rotating it would look like this. mirror.ffxml |
|||
Posted: September 6, 2008 12:21 pm | ||||
Carl
![]() |
It is interesting Sjeiti the different ways to arrive at the same result, you probly understand it better than me
![]() |
|||
Posted: September 6, 2008 12:46 pm | ||||
Sjeiti
![]() |
Well... sometimes... but in this case, I don't understand in your posted filter, how that profile gradient (with two even colors) can offset the image the way it does. I see it, but I ... oh wait... I think I get it... yours has seamless tiling turned off. So with seamless tiling turned off, the offset image is flipped. But with seamless tiling turned on, the offset image is the same. That's weird... I wonder why that is.
|
|||
Posted: September 6, 2008 2:00 pm | ||||
jffe |
----Cause like Kraellin thinks, seamless tiling is the devil ha-ha ![]() jffe Filter Forger |
|||
Posted: September 6, 2008 2:22 pm | ||||
Sjeiti
![]() |
![]() You mean the Kraellin who claims to be god, right? |
|||
Posted: September 6, 2008 2:33 pm | ||||
CorvusCroax
![]() |
Ah, that's clever with the remapping of the check box inputs. I think I'm starting to understand this: the impulse method I posted above works because it's offsetting the entire image, which FF wraps around and tiles. Actually it works ONLY with seamless tiling turned OFF, which now makes sense. If you turn on seamless tiling, you get the flipped half of the flipped (seamless) image. Sjeiti's method works because the pixels are offset in order, placed like cards in a stack. |
|||
Posted: September 6, 2008 8:42 pm | ||||
Carl
![]() |
LMDO ![]() I hadn't even thought of the tiling changing it ![]() |
|||
Posted: September 9, 2008 5:19 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,712 Registered Users
+19 new in 30 days!
153,534 Posts
+31 new in 30 days!
15,348 Topics
+72 new in year!
26 unregistered users.