Closed Thread Icon

Preserved Topic: Transform to selection (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=19483" title="Pages that link to Preserved Topic: Transform to selection (Page 1 of 1)" rel="nofollow" >Preserved Topic: Transform to selection <span class="small">(Page 1 of 1)</span>\

 
WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-18-2001 06:16

I have a selection and I want to transform the layer to fit the selection. I am using photoshop, is this possible?

How would I do this? Do I need illustrator?

lotiss
Paranoid (IV) Inmate

From: San Diego CA USA
Insane since: Mar 2000

posted posted 12-18-2001 10:46

hmm... not following you, do you mean displace?

maybe post a pic?

DarkGarden
Paranoid (IV) Inmate

From: in media rea
Insane since: Jul 2000

posted posted 12-18-2001 12:19

You want to transform the layer to be visbile only in the selection?

If so, you want to click the dotted circle at the bottom of the layers palette to create a quick mask of that selection on the layer.

Not sure exactly what you're asking though....'splain?




ICQ:# 10237808

Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 12-18-2001 14:04

Maybe make a new layer from selection?

Ctrl+J


But just wandering......

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 12-18-2001 18:44

I am assuming that he means he'd like the actual shape of the layer to be transformed to fit the shape of the selection.

To my knowledge that is not possible, but there are many other people here that would know better than I.

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-18-2001 19:15

If you are talking about taking a Layer and making it fit into a blob of a selection, then I can show you a way to do it with Displace. It's not *exact*, but some faking it might be in order. (LOL Well, sort of.)

Some more clarification would be nice.




[This message has been edited by warjournal (edited 12-18-2001).]

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 12-18-2001 19:27

no matter what he meant, i'd like to see your way warjournal.
thx

PunisherOlsen
Bipolar (III) Inmate

From: We discovered Greenland.
Insane since: Oct 2001

posted posted 12-18-2001 20:14

Me 2

Cheers!
/Punishers Inc. - Nephalim

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-18-2001 20:52

Yes, the way you mentioned it warjournal is how I would like to work it.

I have a selection that is a bit curvey. I have a square picture. I can sqew the picture to amost fit the selection. However, it is not perfect I want it to fit the selection exactly.



[This message has been edited by WarMage (edited 12-18-2001).]

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 12-18-2001 21:16

Then it is assumed you can live with the inevitable distortion that will follow forcing a rectangular shape to conform to a curved shape? What you really need is some sort of envelope warping function, bezier control handles, that sort of thing. That has Illustrator written all over it, but it's probably not vector art, is it?

If you're using version 6 have you looked into pushing it around with liquify (or Kai's PowerGoo if an earlier version)? The problem is going to be seeing the selection inside the liquify interface. That's a tough one. When you use the word "exactly" I get worried for you!

Using displace is going to involve a good bit of trial and error to get the shapes and brightness values in the D-map right to they shove the image the right amount and direction. I hope you don't have to do this on a lot of images! Or if you do, I hope you have to do the exact same thing on all of them!

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-18-2001 21:17

Sqew? Curvey? If you are talking about a wave that's horizontal or vertical, then that's a bit easier than squishing into a blob. Not exactly pixel perfect, but it should work just fine.

Pretty please post an Alpha channel of your target selection.


WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-19-2001 01:08



This is the alpha.

The I want to fit a square pirture into this area. I am not worried about the distortion.

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-19-2001 03:03

I can do that, but it appears I've temporarily lost my touch. Stay tuned.


Wakkos
Maniac (V) Mad Scientist

From: Azylum's Secret Lab
Insane since: Oct 2000

posted posted 12-19-2001 03:29

Am I too stupid or this will work?

I'm not pretty sure what do you 'really' want, I think that what I did is simple, so it's impossible that this is the problem, anyway, I already did it:



Well, the original one:





[This message has been edited by Wakkos (edited 12-19-2001).]

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-19-2001 04:17

Looks like Edit > Transform > Distort, Wakkos. Whether or not, give it up, Wakkos! Show and tell, damn it.

I'm having a tough time coming up with a tweakable way to do it with Displace. I'll probably be dreaming about it tonight and figure it out. Then I'll wake up and forget.


warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-19-2001 05:11

I finally got it. Turns out my Layer Masks were at 90°. Silly me.

I've tried to make the D-Map as easy to understand as possible. There are 5 Layers total:

5) G bottom -- Curves Adjustment Layer with a modified curve in the Green channel
4) G top -- Curves Adjustment Layer with a modified curve in the Green channel
3) R left -- Curves Adjustment Layer with a modified curve in the Red channel
2) R right -- Curves Adjustment Layer with a modified curve in the Red channel
1) Background -- basic Squish cube as a base

Layers 2 - 5 all have an appropriate Layer Mask.

Important Note: must have "Save Composite" or "Image Preview" turned on!! Tweakability is useless without it.

The best way to see how to tweak this is to see it in action. Best bet is a square canvas with an outline along the outside. The outline should be a few px thick. Also have the D-Map open. Run Displace, use Stretch to Fit and Repeat Edge Pixel, use around 100 x 100 or so, choose the D-Map, and watch the magic.

Now for the fun part. Keep the image viewable. Select/activate the D-Map. Look at the Adjustment Layers and see how the different parts correspont to the Diplaced image. To look at the top edge, double click Layer "G top" and go to the Green channel. You should be able to see how the Green channel curve affects the top edge of the target image. Same goes for the bottom, right, and left edges (I mixed up the curves a bit to better clarify what they do and orientation).

Play with the curves in the appropriate channel, save, and Displace.

wavy_d-map.zip

It works and it's fully tweakable.

Is that not awesome, or what? Now gimme a cookie.





[This message has been edited by warjournal (edited 12-19-2001).]

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-19-2001 07:55

I went to bed a few hours ago. As I lay there waiting for sleep, I discovered an error in my previous post. My clock reads 1:44 am and girlie just got me up. So I'm taking this time to fix my boo-boo.

"Turns out my Layer Masks were at 90°." This is not the case. Turns out my R and G channels were at 90°. This means that "1) Background -- basic Squish cube as a base" is also wrong. The base D-Map that I used (in the above PSD) is what I call a "Skew Cube".

What I have presented is a more complex version of Curve It page one second example. Reading that might help explain how wavy_d-map.psd works.

quote:
The cool thing about Curving this way is that you can create pretty much any profile you want rather visually. Any way you make the Curve in the dialog is how it will be in the image. It's doesn't have to be a semi-circle. Any profile you want.



My clock now reads 1:52 am and I feel better. Thank you, and good night.




[This message has been edited by warjournal (edited 12-19-2001).]

PunisherOlsen
Bipolar (III) Inmate

From: We discovered Greenland.
Insane since: Oct 2001

posted posted 12-19-2001 10:10

Whooha! Warjournal you really are amazing! -share some of those PS-steroids you must be stuffing your bulk with

Cheers!
/Punishers Inc. - Nephalim

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-19-2001 20:31

Punisher, the basis for a lot of those PS-(Displce)steroids is already in my Tech-Slop. Well, sort of as I still have a lot of explaining to do in the way of gradients and Displace. Right now it's more in the way of "Here is some basic stuff, and here is some 'advanced' stuff."

But it always boils down to what works. Sure, I show some amazing things with Displace, but it's not always the best route for a given application. Faking it and poetic license might be what the doctor ordered. I recently showed some people how to duplicate the distortion that KPT 5 ShapeShifter spits out, but faking it instead of using a D-Map is certainly easier and can produces the same end result.

But I love Displace and the challenge of it. So I usually go this route for edification -- my own and perhaps others.

play.fiddle.learn


PunisherOlsen
Bipolar (III) Inmate

From: We discovered Greenland.
Insane since: Oct 2001

posted posted 12-19-2001 21:48

Ok, I never seen that site before. I'll check it out later tonight (Bookmark => Fascinating Stuff)

quote:
I recently showed some people how to duplicate the distortion that KPT 5 ShapeShifter spits out, but faking it instead of using a D-Map is certainly easier and can produces the same end result.



Any chance for a demonstration? -it sounds very interesting!

Sincerly Rasmus

Edit :: typos => my denglish again

[This message has been edited by PunisherOlsen (edited 12-19-2001).]

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-20-2001 01:03

ShapeShifter


PunisherOlsen
Bipolar (III) Inmate

From: We discovered Greenland.
Insane since: Oct 2001

posted posted 12-20-2001 01:06

Ups

Cheers!
/Punishers Inc. - Nephalim

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-20-2001 10:57

Didn't have time to go through all of that yet, but I will tomorrow, however, I still wanted to give a big thank you to all involved in those wonderful solutions.

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 12-20-2001 16:26

liquify!
heh.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 12-20-2001 19:08

Liquify as in the PS 6.0 Filter?

Don't tell me I should upgrade...

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 12-20-2001 19:40

Liquify is a PS6 thing. It can do some pretty cool things. I love the fact that it works on a mesh, but I don't care for using brushes to push the mesh around.

For instance, you can do trendy tentacle things in a heartbeat with it.

The other day I was getting to know the Liquify dialogue a bit better. Reconstruction looks promising.


docilebob
Maniac (V) Mad Scientist

From: buttcrack of the midwest
Insane since: Oct 2000

posted posted 12-21-2001 00:58

After you`ve pushed the mesh around, hold the shift key when you click OK, and it will remember the mesh the next time you open it. that way you can back oout gracefully if you don`t like the result, or continue on the same mesh...

« BackwardsOnwards »

Show Forum Drop Down Menu