Closed Thread Icon

Preserved Topic: Pattern Wrap.. (DAH!) Pages that link to <a href="https://ozoneasylum.com/backlink?for=19005" title="Pages that link to Preserved Topic: Pattern Wrap..  (DAH!)" rel="nofollow" >Preserved Topic: Pattern Wrap..  (DAH!)\

 
Author Thread
Blotchy
Obsessive-Compulsive (I) Inmate

From: Toronto, On. Can.
Insane since: Jan 2001

posted posted 01-23-2001 22:27

Okay, maybe it did turn out that I amounted to nothing, but I still have a lowly question.. Okay, I'm trying to wrap a flat image around a "3-d" object.. (for example, trying to wrap a picture of your face around an image of a Coke can)

Is this even possible? I'm totally stumped.

LAter... WOOH! MY FIRST POST....


Nimraw
Paranoid (IV) Inmate

From: Styx
Insane since: Sep 2000

posted posted 01-23-2001 22:37

well, since I'm strolling along these parts of the corridors, I'd like to say welcome.

I can't help you with your problem, but I can give you a good piece of advice for a happy life in the asylum.

_never_ touch VP's mop without asking! He can be a bit sensitive about it. Might be some childhood trauma or something along those lines....

or what do I know, I'm an inmate myself. Or am I part of the staff...
<Jon Lovitz "the liar"-voice>yeees....that's right...I'm part of the staff....that's right... </Jon Lovitz "the liar"-voice>




-nimraw
If you can't convince, confuse!

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 01-23-2001 23:30

welcome!
i hope you enjoy your stay.... if not, a couple of black pills will soon fix that....
ok, i have a number or psuedo solutions....
1) in photoshop, try filter -> render -> 3d transform. its nothing great, but if you fiddle around, you may get the desired results.
2) there is a thing called a displacement map. (filter -> distort -> displace) i wont even bother trying to explain this one - there's no need when there is a mind blowing tutorial on it... http://www.gurusnetwork.com/tutorials/photoshop/displace1.html again, im not sure you will get the best results form this filter if you want to create the entire can... but hey, it wont hurt trying
3) this is probably the best solution - use a 3d rendering program. you'll see a special forum for this type of thing, go and check it out, they make some pretty pictures over there!
good luck, and i hope to see you wandering down these corridors again sometime!

vogonpoet
Maniac (V) Mad Scientist

From: Mi, USA
Insane since: Aug 2000

posted posted 01-24-2001 00:29

*totally ignoring the mop comment* heh

Welcome to the Aslyum... PS is not the best program for 3D work, however, with a bit of time and effort you might be able to achieve the look your are needing. In a book I have on PS it has an example of wrapping a label around a coffee can......but it uses Illustrator to achieve the distortion of the label.

There are some exellent graphic artists here who I am sure can help you.. there was a thread quite a while back in which some people were making beer bottles and wrapping labels onto those... havent got time to search for it in the archives (even if it is there), but I know DG had made a bottle and label, and I thik he might have only used PS to do it.. (long time ago and my memory is dim.. too much mopping and *way* too many black pills)

Popping over and posting in the 3D thread might also be a good idea, for further resources

keep your fingers crossed and some of the other guys/gurus here may be able to suggest some more detailed ideas.

*wanders off mumblin... now what was that about trauma and mops?.... *

~Vp~

Boudga
Maniac (V) Mad Scientist

From: Jacks raging bile duct....
Insane since: Mar 2000

posted posted 01-24-2001 13:45

If you wanted it to look really good I'd suggest you design your label in Illustrator then import it to a 3D proggie like Max and create your can in there then 'wrap that rascal'

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 01-24-2001 15:46

Nevermind.

[This message has been edited by warjournal (edited 01-24-2001).]

[This message has been edited by warjournal (edited 01-24-2001).]

bunchapixels
Neurotic (0) Inmate
Newly admitted
posted posted 01-24-2001 23:08

pssst.... warjournal.... you can delete your own posts.....

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 01-25-2001 13:34

Heh. Check that out. I'll remember that next time I get on a rampage and post before I come to my senses.

I'll be back later with a few thoughts about just using just PS for texture wrapping.

warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 01-25-2001 20:36

Well, some of the Edit > Transform work well enough for "flat" manipulation. Using the grid is a definite bonus.

Then there's Filter > Render > 3D Transform. A bit lacking because you can't zoom. And various other suck things about it. But, believe it or not, anchor points can be added with Cylinders. Some pretty nifty texture wrapping can be done with that little ditty, but it takes practice and you still can't zoom.

Then there's Displace, and bunchapixels already pointed out Steve's tutorial. Displace is one of my favorites. Since you mentioned wrapping to cans, I built a real quick Dmap for this (can.jpg). It's JPG so you will have to load and save as PSD to use it.

What Can-Dmap mostly does is push the middle down in a semi-circular manner. So, you'll have to make a selection with the sides tight, but leave plenty of up/down room to allow it to move. Make sure Stretch to Fit is on. Then practice with the vertical percentage. Now, towards the ends it will look a bit funny, but I've almost got it licked (you wouldn't believe what I'm going through to get it *perfect*). To trim it down, you will have to do some Alpha work. Make a square selection that fits what you are wrapping and Alpha it. Then, go to the Alpha channel with it loaded and Select > Transform. Bring the top up and the bottom down. Re-Displace it with the same values. You should now have an Alpha with a matching top/bottom profile. Back to Layers and chop away. Or you could just use the Elliptical Marque, preferably with grid or guides, and not go through the pain of dealing with an Alpha.

Wow. Could I be any more confusing about using an Alpha to trim it down?

Can-Dmap also has a built in squish factor. This is a horizontal function. It expands the middle and contracts the outside edges. Start with small percentages and work up. If it's too high, it will actually flip the center. Since left/right is important due to Stretch to Fit, Can-Dmap has a net squish factor of zero. That is, it won't bring in any outside pixels and won't give any up. Well, unless you have a narrow can and really pump up the horizontal percentage.

Here's a real quick variation example: wrapped to pipe. I cheated on the ends and it's jaggy city. And no highlights/specular/shadows to speak of. But it shows the base technique of using Displace for wrapping to a cylinder.

Actually, combining some the techniques that went into Can-Dmap and some of the Edit > Transforms is rather powerful for texture wrapping. Then again, there are drawbacks to this when compared to a 3D prog.

If you are confused and really want to hear me ramble about Displace for this kind of thing, raise your hand (chances are you will have to wait a bit because it's a dozy).


[This message has been edited by warjournal (edited 01-25-2001).]

Steve
Maniac (V) Inmate

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

posted posted 01-26-2001 05:00

Yahoo Warjournal! That's remarkable!

St. Seneca
Paranoid (IV) Inmate

From: 3rd shelf, behind the cereal
Insane since: Dec 2000

posted posted 01-26-2001 14:54

Very simple solution assuming that you have two layers..... the coke can, and the face.

Make a selection of the coke can and while in the face layer do a filter>>distort>> spherize.

You want the horizontal only option. It will make the face look like it is wrapping around the sides of the can. After you get the face looking the way you want, delete whatever part of the face isn't on the can.

Not the best looking solution, but by far the simplest and it will only work when wrapping around a cylindrical object.

« BackwardsOnwards »

Show Forum Drop Down Menu