PDA

View Full Version : stiches on cusion, uv maps



prometheus
03-16-2010, 04:06 AM
Well I have to admit that I really need to do My homework in the Uv map
Section.

Im a little confused on approaching best uv mapping ways for creating
stiches on a subpatched leather cushion, mainly trying to avoid
distortions of the stiches

what Ive tried so far is simple atlas mode with subpatch and in
photoshop I tried with a dual brush stroke and a pen path wich used
that stroke, but that would stretch the strokes nonuniformly so
I used Illustrator and used dashed line instead wich worked better, the
problem with Illustrator is when exporting out to bmp would mismatch
the whole map in position, so I had to match it against the photoshop
image to make it work.
so that makes the strokes okay in the image, but Im really not sure
wich UV mapping method I should use to avoid distortions.

In the image sample itīs looking quite good, but I believe there is some
distortions in there.
there is to be stiches on the side and on the top of the cushion.
So to sum it up what the problems are..

1. Illustrator image not matching photoshop image when exported.
2. Not sure what Uv method to use.

Michael

SplineGod
03-16-2010, 12:58 PM
To be honest with something like that I would seriously give 3dcoat a try. You can easily paint that kind of detail on and export it as normal maps to LW. It also does a great job of creating UVs.When exporting the geometry and textures back to LW the node network for the normal map is already setup for you. :)

prometheus
03-17-2010, 01:22 AM
Yeah..3d coat is on my mind as a good 3d complement, Iīll look in to that later, for know I think I got it almost right anyway.

The mismatch I had when exporting out the image from Illustrator was
due to the path strokes of the stitches was outside of the image size
and therefore pushing the image to the side, so that was solved.

And the distortion now seem to have vanished to, not sure what it was
if I accidently made the wrong uv map subpatch interpolation or something.

I used the atlas map to create UV and UV Imaginator to export out the image and the open it up in Illustrator,and made the paths following
the seams and simply exported it out with screen resolution.

So it worked out pretty nice anyway, and I would recomend working
with illustrator for this kind of stuff such as stitches, you can easy change
paths to strokes with dashed line and control dash amount,dash gap, round cap and size etc.

Illustrator strokes on paths are vector based so they wonīt distort as if
you were to do that with stroked paths in photoshop.

the seat cushions are remodeled for a smoother look on gymmachines that
otherwise is exported out from solidworks.
Presentations on the web are to small thou to really notice the stiches,unless we do a close up.

I need them later on anyway when were doing higher print renders for
the product catalog.

Thanks for the suggestion Larry.

Michael

erikals
03-21-2010, 08:07 PM
in your case top-bottom-side kind of uv mapping is the way to go
(for then to bake the stitches into another uv map if necessary)

for extremely distorted objects however you could use a method combining modeling and baking
http://www.youtube.com/watch?v=UJAOHjyygnM

zarti
03-22-2010, 07:40 AM
Well I have to admit that I really need to do My homework in the Uv map
Section.

Im a little confused on approaching best uv mapping ways for creating
stiches on a subpatched leather cushion, mainly trying to avoid
distortions of the stiches

what Ive tried so far is simple atlas mode with subpatch and in
photoshop I tried with a dual brush stroke and a pen path wich used
that stroke, but that would stretch the strokes nonuniformly so
I used Illustrator and used dashed line instead wich worked better, the
problem with Illustrator is when exporting out to bmp would mismatch
the whole map in position, so I had to match it against the photoshop
image to make it work.
so that makes the strokes okay in the image, but Im really not sure
wich UV mapping method I should use to avoid distortions.

In the image sample itīs looking quite good, but I believe there is some
distortions in there.
there is to be stiches on the side and on the top of the cushion.
So to sum it up what the problems are..

1. Illustrator image not matching photoshop image when exported.
2. Not sure what Uv method to use.

Michael

Hi Michael,

here it is my suggestion;

+ generate continuous UVs for polygons where stitches will be (see UV_screen.png (http://www.newtek.com/forums/attachment.php?attachmentid=83348&stc=1&d=1269265021); image from Modeler)
+ download these files; surface (http://www.newtek.com/forums/attachment.php?attachmentid=83347&stc=1&d=1269264989), normal (http://www.newtek.com/forums/attachment.php?attachmentid=83345&stc=1&d=1269264959) and mask (http://www.newtek.com/forums/attachment.php?attachmentid=83346&stc=1&d=1269264968)
+ load the surface to the cushion one (reload bitmaps if needed)

i tried to rename nodes to be easily modifiable. see my fast result below (screen.png (http://www.newtek.com/forums/attachment.php?attachmentid=83349&stc=1&d=1269265040); Layout render) ...

good luck! =)

http://www.newtek.com/forums/attachment.php?attachmentid=83349&stc=1&d=1269265040

prometheus
03-22-2010, 09:14 AM
Zarti!

That looks interesting, Ill have a look at that in the middle of this week, thanks.:thumbsup:

not sure if I can get that in a correct poly flow at certain parts thou.

Michael

erikals
03-22-2010, 12:20 PM
the UV should probably be relaxed a bit to get less distortion.

Nice stitchin' though. http://erikalstad.com/backup/anims.php_files/smile.gif