Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

how to flatten a series of images from a cylender
show user profile  Ali3D
I'm wondering what's the best way to flatten a series of images taken from a mug so I can use them as one single texture, to map it on a 3d mug
Right now I'm trying to stretch the lower part of each image, and over lap them, but isnt there any better way?


read 728 times
10/5/2015 8:55:39 PM (last edit: 10/5/2015 8:55:39 PM)
show user profile  herfst1
Use a gradient ramp with mask for each cel.

P.S. This is just a dodgy 2 minute go, but you'd still need to fix it afterwards if you did it "un-dodgely" to extract the picture from the shadows and highlights... plus you need one more photo to the left to get undistorted grapes.
read 711 times
10/5/2015 9:33:02 PM (last edit: 10/5/2015 9:37:06 PM)
show user profile  FX
I don't know if it works for curved surfaces, but I use Texture Ripper for this kind of thing, good for fixing perspective, saves time having to do it manually in PS.

read 708 times
10/5/2015 9:36:29 PM (last edit: 10/5/2015 9:36:29 PM)
show user profile  npcph
this might be a weird way to do it, but if it was me, i would put the cup on a lazy susan and set my camera to panoramic. rotate the cup and you get a picture of the entire cup. you can get a lazy susan for a cheap at a dollar store.

read 690 times
10/5/2015 10:05:21 PM (last edit: 10/5/2015 10:05:21 PM)
show user profile  LionDebt
The cup isn't a cylinder, it's tapered so you're gonna have distortion either way.

But yeah, lazy susan and stitching together in photoshop (or panoramic mode), then just use freeform distort or other tools in PS to eyeball it until it looks right.
read 681 times
10/5/2015 10:31:45 PM (last edit: 10/5/2015 10:31:45 PM)
show user profile  FX
I was thinking that too, or scanning it on a flatbed, you'd need to make some kind of frame rig you could slide along the scanner whilst rotating the cup and get the timing right.

Failing that, take many more images of it and use strips from each.

read 670 times
10/6/2015 1:22:56 AM (last edit: 10/6/2015 1:24:35 AM)
show user profile  Ali3D
Thanks guys,
gonna give that texture ripper a try and if it doesnt work then gonna go with the way herfst said

read 639 times
10/6/2015 8:31:46 PM (last edit: 10/6/2015 8:31:46 PM)
show user profile  ccampbell
I like @npcph's idea - just seem fun. @LionDebt Not so much of a taper as much as a fillet at the bottom I think.

Panoramic may also solve the issue of the texture warping around the cylinder and the gradient lighting issues you're having depending on apples panoramic stitching algorithm. Not really sure.

I have a basic 3 point light set up so I might try setting up the cam on a tripod and rotate the cup in diffused lighting on a lazy Susan. Then stitch using photomerge in the automation menu in photoshop. But you'll still have to deal with image warping as the texture wraps around the cup(real life is not orthogonal you know... yeah you know)

Photomerge tut:

$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};

read 627 times
10/7/2015 5:45:11 AM (last edit: 10/7/2015 5:47:37 AM)
show user profile  Ali3D
can't find a lazy susan in a timely manner, so for now i'm sticking to rotating it myself

The problem with this object is it's so reflective, so unless i can find a diffuse light box, i cant get a decent shot without any specular on the mug.

I tried the photomerge, it didnt work, not sure if i did some part wrong or not, might try canon photo merge and see if it works or not.

read 597 times
10/9/2015 7:46:28 AM (last edit: 10/9/2015 7:46:28 AM)
show user profile  FX
Personally I would give up on the automated approach and just rebuild it by hand, take each element individually, grape, pear, leaf, vine and just rebuild it in PS, even someone with the most basic painting skills could reproduce & reassemble that design in a short time, touch up, use portions of other images from paintings from a google image search etc...

Have you tried soaking it off ? :D
read 530 times
10/13/2015 8:52:24 PM (last edit: 10/13/2015 8:52:51 PM)
show user profile  ccampbell
^ you give up too easy

$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};

read 512 times
10/14/2015 7:29:39 AM (last edit: 10/14/2015 7:29:39 AM)
show user profile  FX
^ If you need to get it done , then get it done, If I was desperate I would just send it to a 3d scanning service, assuming you would be able to bake the texture out into a flat texture.

In the meantime I would have gone this route, find a cheap / old scanner, modify it, snap off the handle on the mug and scan away, you would need a better support structure for the curved object, and probably need to do two or three passes then merge them together.

read 503 times
10/14/2015 9:17:20 AM (last edit: 10/14/2015 9:39:17 AM)
show user profile  Ali3D
that's a fantastic approach, i gotta try it.
I put it in a bookshelf covered with black cloth to minimize the reflection and rotated it for each shot, it worked but probably wasnt the best way.

read 480 times
10/16/2015 6:33:36 AM (last edit: 10/16/2015 6:33:36 AM)
#Maxforums IRC
Open chat window