|
Author |
Message |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Sun Mar 12, 2006 11:31 pm Post subject: Reflecting Vertically About an Irregular Diagonal |
|
|
Ok, I've noodled on this for quite a while now, but I'm stumped. All the reflection or mirror tutorials I've seen describe a simple reflection about a vertical or horizontal axis. I need to reflect something vertically about an irregular diagonal. Simply duplicating, flipping, distorting, and transforming the original doesn't work. After reading a bit about the displacement filter, I thought that might be the ticket, but no go. Perhaps I'm overlooking something obvious.
See this image:
I'd like to create a realistic reflection of the rock wall in the transparent area, as though the transparent area was a mirror or water. The diagonal bottom of the rock wall would be the "water line".
I know exactly what I want to do, but I have yet to discover how to do it. Basically, I need to proceed pixel by pixel across the image horizontally and "flip" the pixels vertically about the irregular diagonal edge. Anyone have any suggestions on how to go about this?
Thanks much,
---
Steve
|
|
|
|
 |
swanseamale47
Joined: 23 Nov 2004
Posts: 1478
Location: Swansea UK
|
Posted: Mon Mar 13, 2006 3:04 am Post subject: |
|
|
Do you mean something like this? You'll kick yourself when I tell you easy it was, copy and paste the rock, then with free transform drag it upside down, the with the curser just outside a corner rotate the image a bit untill it roughly lines up. I did it very quickly, take a bit of time and you'll get it much better. Wayne
Description: |
|
Filesize: |
26.27 KB |
Viewed: |
1853 Time(s) |

|
|
|
|
|
 |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Mon Mar 13, 2006 6:12 pm Post subject: |
|
|
swanseamale47 wrote: | Do you mean something like this? You'll kick yourself when I tell you easy it was, copy and paste the rock, then with free transform drag it upside down, the with the curser just outside a corner rotate the image a bit untill it roughly lines up. I did it very quickly, take a bit of time and you'll get it much better. Wayne |
Wayne, thanks for the reply. Yes, I already tried flipping, skewing, transforming, etc. While I appreciate your response, it's just not a believable reflection; and I am dealing with a much higher res image than the sample I posted. It simply doesn't look right with any technique I've tried. I really need to "flip" pixels vertically along the "water line".
I think I could write a JS script to do it, but it would probably take a while to execute on a multi-megapixel image. I was hoping there was an easy way I was overlooking.
Regards,
---
Steve
|
|
|
|
 |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Mon Mar 13, 2006 6:23 pm Post subject: Re: Reflecting Vertically About an Irregular Diagonal |
|
|
Ok, here's a follow-up question... Is there a way to get the edge of a layer to follow a path? If I could to that, then once I flipped and skewed the image to get it "close" to lining up, then if I could get the edge to follow the "contour" of a path, I could get the mirrored copy to "mesh up" with the water line.
I know the spatial manipulation I want to perform. I just can't figure out how to do it in PS. :-/
---
Steve
|
|
|
|
 |
grannygeek
Joined: 23 Feb 2006
Posts: 149
Location: Pennsylvania
|
Posted: Mon Mar 13, 2006 8:42 pm Post subject: |
|
|
I hope you don't mind me trying..I used SqirlzReflect program...
I used psp's animation shop to open it, and save as an animated gif..I suppose if you didn't want it animated you could use just 1 frame..
_________________ and the wisdom to know the difference... |
|
|
|
 |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Mon Mar 13, 2006 10:04 pm Post subject: Re: Reflecting Vertically About an Irregular Diagonal |
|
|
Shotster wrote: | I know the spatial manipulation I want to perform. I just can't figure out how to do it in PS. |
Well, I wound up flipping and skewing a copy of the layer and then breaking the diagonal up into segments and doing a "warp" on each segment to try to "fit" the reflection into the diagonal edge - like a piece of a jigsaw puzzle. It's not ideal and is a bit tedious, but I'll have to live with it for now.
|
|
|
|
 |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Mon Mar 13, 2006 10:09 pm Post subject: |
|
|
grannygeek wrote: | I hope you don't mind me trying..I used SqirlzReflect program... |
Hey, really cool animation! It's not quite what I need at this point, but I'll definitely keep that in mind for the future! :-)
---
Steve
|
|
|
|
 |
swanseamale47
Joined: 23 Nov 2004
Posts: 1478
Location: Swansea UK
|
Posted: Tue Mar 14, 2006 2:45 am Post subject: |
|
|
Yes the annimaton is pretty good!
Sorry Shootster I'm fresh out of ideas, I don't know of a way to make a layer follow a path (it might be possible though) if it's not that might be a good idea for later versions of PS to incorperate?
I suggested in an earlier post, one of the thing I'd like to see in PS is a transform option with more drag handles (say 7 or 9 a side) to be able to warp the image more (like say a flag waving) but with full control to stretch/warp etc Wayne
|
|
|
|
 |
Shotster
Joined: 12 Mar 2006
Posts: 6
|
Posted: Tue Mar 14, 2006 11:13 am Post subject: |
|
|
swanseamale47 wrote: | I suggested in an earlier post, one of the thing I'd like to see in PS is a transform option with more drag handles (say 7 or 9 a side) to be able to warp the image more (like say a flag waving) but with full control to stretch/warp etc Wayne |
Yes, exactly! I was thinking the same thing. That's precisely why I said I broke the diagonal edge up into "segments" to do the warping. If I could just create an arbitrary number of control handles and/or cells in the warp grid, that would allow me to do what I want. Anyway, thanks.
---
Steve
|
|
|
|
 |
|