Digital Art Zone

 
   
1 of 3
1
texture dead end help needed
Posted: 01 August 2012 11:45 AM   [ Ignore ]
Member
Rank
Total Posts:  59
Joined  0

Hello,
I need help texturing Michael4 in Carrara 8 pro in a very specific way. I need him to have a seamless grid on him which resides either:
seamlessly within existing shading domains
or
find a correctly flattened shading domain and texture map which will allow me to do this. Attached is a file which shows how close/far I am from achieving this goal. You will see that the transition from hips to torso, is ok, but the hips to legs is a disaster. I have tried various different
grids ( within texture mapping and tiling ) to try to smooth these bad seams, but nothing is working. Can someone direct me to the promised land on this? Thank you,
Rick

Image Attachments
texturegridforM.jpg
Profile
 
 
Posted: 01 August 2012 12:57 PM   [ Ignore ]   [ # 1 ]
Member
Avatar
Rank
Total Posts:  31
Joined  2008-10-13

Hello protovu!

That´s an UV-Layout-Problem (off course - it´s a nice UV) which couldn´t be solved inside Carrara.
But here some workarounds:

- You could use “Photoshops” Liquid-Brush or other things to tweak it manually.

- Maybe you could built your own UV-Map inside “DAZstudio” or “C8.5Beta” or any other tool?! Within “UV-Mapper” you could swap UV-Maps of an object.

- The easieast way I think of is using “ZBrush4R4”: Import that figure, Clone it, Subdivide it a few times, Push the button which will save the details and level it to subdivsion 0, QRemesh that clone in your wanted style, UV-Map it via UV-Master, reproject details, “Flatten” it (=show UV-Layout), Screenshot that and apply it as a texture onto the clone, Smooth the clone ~4 times, Polypaint from texture, ... and project the clone onto the original figure (and original UV) via ZSphere-Retopo or projection, ...make a texture out of that polypaint and: Voilá! ...think that this is working within the trial-version of that software. But if you ever tested it you will hate it (because of the alien-UI) or buy it (because of the alien-UI). It´s every penny worth and Pixologic didn´t charge for updates.

Happy 3Ding!
tezen

 Signature 

www.zen3.de

Profile
 
 
Posted: 01 August 2012 02:01 PM   [ Ignore ]   [ # 2 ]
Member
Rank
Total Posts:  59
Joined  0

Hi Tezen,
Thank you for your prompt, comprehensive reply.

The Photo shop way might work, but it would be labor intensive, not perfect, and not usable in animations.

Is there a reason you prefer C8.5 beta over C8 regarding building my own UV map? I have not gotten to the Beta yet. Been put off by some of the reviews.

The easiest way you mention seems pretty involved. You feel it would be easier than building a new map in C8 or C8.5beta?

thank you

Profile
 
 
Posted: 01 August 2012 03:00 PM   [ Ignore ]   [ # 3 ]
Active Member
Avatar
RankRank
Total Posts:  768
Joined  2005-09-19

Carrara’s not my thing, so I’m going to come at it through the maths/topology. You can’t map a flat square grid onto a complexly curved surface without the effects you are seeing, the only way to get a seamless grid is for each four-sided figure to be anything but square with each side varying in both length and angle with its neighbours. Just think of the difference between the top of the thigh and the ankle, one is three or four times larger in diameter than the other. If you have the same number of four sided figures going around each, then clearly the size must be varying. If they merge smoothly into one-another from ankle to thigh, then clearly the angles and lengths of the sides must be varying continuously all the way up the leg as its shape and size vary.

You could project a grid onto the surface - literally imagining light shining through a mesh onto the body and then marking off the shape of the shadows, but that’s a completely different mathematical transform than wrapping a plane around the shape.

Profile
 
 
Posted: 01 August 2012 03:45 PM   [ Ignore ]   [ # 4 ]
Member
Rank
Total Posts:  59
Joined  0

Thanks Again, Tezen,
I completely agree with the logic you have indicated, but attached image shows that C8 is capable of doing what I desire.

The represented shape is basically like an arm or leg; that is,  descending in diameter and polygon count as it narrows. You will see that it is behaving fairly well. Within the image is the shading domain seam of issue on the M4 model. You will note that it is not that bad.

So it seems to me that the problem C is having is not with the projection mapping, per se, but with the seams where the shading domains
meet. Again, leg/ foot, and torso/hip are good. The leg to hip seam is the problem. Arms to torso also bad.

Thank you again for you in depth replies. Very much appreciated.

Image Attachments
texturegridforM2.jpg
Profile
 
 
Posted: 01 August 2012 05:03 PM   [ Ignore ]   [ # 5 ]
Addict
Avatar
RankRankRankRank
Total Posts:  8436
Joined  2009-07-13

you could try changing the uv mapping, this is planar split by orientation along the y axis, gets curved lines on hips etc depending which way you orientate it.

Image Attachments
Doc3.jpg
Untitled.jpg
 Signature 

WARNING do not click tongue rolleye what video horrors will be seen if you do cannot be unseen.
my render thread
        never forget
A Drows Walk
Jaderail is at it again

Profile
 
 
Posted: 01 August 2012 05:15 PM   [ Ignore ]   [ # 6 ]
Member
Rank
Total Posts:  59
Joined  0

Hi Wendy,
Thank you for jumping in. Your suggestion was my first course of action. It is pretty good, but the side views…...not so great.  The next thing
I tried was adding the leg shading domain to the hip shading domain. This might be a possible route, but I am finding that moving the vertexes to merge at the errant seams is extremely cumbersome. Could take days to get it right. The number of vertexes seems correct, but
sizing, placement, and angle….not good.
Thanks again

Profile
 
 
Posted: 01 August 2012 05:17 PM   [ Ignore ]   [ # 7 ]
Member
Rank
Total Posts:  59
Joined  0

also, thank you for taking the time to put the tutorial together.

Profile
 
 
Posted: 02 August 2012 10:13 AM   [ Ignore ]   [ # 8 ]
Member
Avatar
Rank
Total Posts:  238
Joined  2006-01-21

Does it have to be that exact grid?

If not, why not just export the UV grid from the UVmapper. The lines will match exactly by default anyway.

If that grid is too dense then simply delete every other line. You can also go over it with line tool in your painting app. The only parts to be careful not to change are the transitions between maps.

OR

(a favourite technique for building my custom textures available on shareCG wink )
Use the 3d paint tool to draw in just the lines across the seams (black line tool against white texture) and then build your grid around them.

 Signature 

http://roguepilot.deviantart.com/
http://www.renderosity.com/mod/gallery/browse.php?username=RoguePilot
http://www.ShareCG.com/pf/full_uploads.php?pf_user_name=RoguePilot

Profile
 
 
Posted: 02 August 2012 10:33 AM   [ Ignore ]   [ # 9 ]
Member
Rank
Total Posts:  59
Joined  0

Hi Rogue Pilot,
Thank you for jumping in.
It does not have to be precisely that grid, but I would like something close. The size of the squares could be an issue. Odd shaped
polys would also be an issue, so the UV grid, aside from being too dense, would be difficult to edit in a paint program.

Deleting lines from the grid would be a huge task.

I will look into your 3D painting idea, but I worry about precise spacing.

I have tried exporting the UV grid into my illustration program, and then trying to overlay a vector grid on top of it seems like it should work, but getting the leg/hip lines to match up is proving quite difficult.

 

 

Profile
 
 
Posted: 02 August 2012 03:59 PM   [ Ignore ]   [ # 10 ]
Power Member
Avatar
RankRankRank
Total Posts:  1098
Joined  2007-10-15

I believe, though I don’t profess to have even the slightest veneer of knowledge on the subject, that if you get the UV template for the character it will give you the guide you need for exact matches. I believe it is basically a jpg image of the mesh itself, so you’ll be able to line up your grid with it. Though no matter how you do it I don’t think it’s gonna be easy. I don’t think they line up the UV mapping so that you can just plop down a grid and get it to match. It’s gonna be some work.


As the first bit of work will be actually finding the UV template. DAZ has the website so screwed up right now that finding the base M4 character page might be impossible. But I recall that’s where you get the templates, on the character’s page. Not as part of the download. On the order page. Makes sense, right? 


Anyway, another thing that came to me is that there might be a texture somewhere in your libraries that you might be able to modify and use, something that has the matching already done. Not sure what that might be for M4, but with V4 there might be something like a fishnet outfit that is already matched. Or maybe use the UV template itself and modify it to make your grid. Just a thought….

Profile
 
 
Posted: 02 August 2012 04:09 PM   [ Ignore ]   [ # 11 ]
Member
Rank
Total Posts:  59
Joined  0

Hi JM,
I will see if I can find what you are referring to, though I am not sure how it would differ from what is native. Regarding the hip/leg mis alignment, for example: if I make the current leg shading domain part of the hip shading domain, the problem of lining up the seams
is really difficult. I would imagine that the template, by definition would follow this scheme, no?

Profile
 
 
Posted: 02 August 2012 04:45 PM   [ Ignore ]   [ # 12 ]
Power Member
Avatar
RankRankRank
Total Posts:  1098
Joined  2007-10-15
protovu - 02 August 2012 04:09 PM

Hi JM,
I will see if I can find what you are referring to, though I am not sure how it would differ from what is native. Regarding the hip/leg mis alignment, for example: if I make the current leg shading domain part of the hip shading domain, the problem of lining up the seams
is really difficult. I would imagine that the template, by definition would follow this scheme, no?


I’m really not sure what you’re getting at. The template is, I believe, just an image of the mapped mesh for the particular shading domains, much like what you see when you bring the mesh into the UV editor in the modelling room. Having that just saves you a few steps. There’s nothing “non native” about it. It IS the UV mapped mesh.


Shading domains make no difference. Your issue is a matter of UV mapping. The character has a UV map, and unless you want to re-map it, you have to use what exists. Which means you have to modify your texture to fit the existing mapping. No way around it that I know of. Except, like I say, use a texture that has already been worked, which is the approach I’d take. Run the UV template thru Photoshop and modify to come up with the grid texture you want.


Otherwise it’s gonna be a lot of work. I may be wrong, but I don’t think you’re gonna find a nice easy way to do this, other than finding an existing texture you can modify. But don’t discard a whole list of solutions in search of an easy one, because you may never find an easy one.

Profile
 
 
Posted: 02 August 2012 05:11 PM   [ Ignore ]   [ # 13 ]
Member
Rank
Total Posts:  59
Joined  0

Actually, I think we agree. The problem is in the existing map - which I refer to as native . To achieve what I am after, as you are saying, I would need to create a new UV map. I refer to the shading domains, because while they are obviously correct for M4’s skin maps, there was some resizing done between legs and hip, and the unwrapping scheme was somewhat different between them. Maybe this was done to fit all of the maps into a nice square? I bet if the UV’s had been unwrapped to scale, there would be no problem…who knows.

the main idea here…..lots of work, unless someone is out there with an alternative.

Profile
 
 
Posted: 02 August 2012 05:39 PM   [ Ignore ]   [ # 14 ]
Power Member
Avatar
RankRankRank
Total Posts:  1098
Joined  2007-10-15
protovu - 02 August 2012 05:11 PM

Actually, I think we agree. The problem is in the existing map - which I refer to as native . To achieve what I am after, as you are saying, I would need to create a new UV map. .


Well, that’s only part of what I’m saying. The more important part is that I’m suggesting that you use the UV mapping in the way it was designed. It’s analagous to how clothing is designed using patterns. You take the pattern (similar to the image of the UV mesh mapping…call it a template, or UV projection, or whatever you want…) and arrange the material/fabric of the clothing (similar to the texture image) underneath the UV projection so that it will appear the way you want when you sew it together. Really the process is no different.


So I’m suggesting that you take the UV projection image, and underneath it you arrange the texture so it will line up on the final character. Which means you make a couple of layers in PShop (or whatever), then cut/scale/rotate sections of the grid texture that you want underneath the UV projection so that it lines up. Really not a lot of work, and ultimately what UV mapping is designed for in the first place. It’s pretty much the basics of doing UV mapping, but in your case you want a bit more accuracy than in most cases. But the procedure is the same.

Profile
 
 
Posted: 02 August 2012 06:56 PM   [ Ignore ]   [ # 15 ]
Member
Avatar
Rank
Total Posts:  238
Joined  2006-01-21

Your overcomplicating things.
The UV Template will be what is exported from the UVmapper (any mapper) for each map (3 in total; torso, head and limbs).
What you want is for the seams to match between maps. The absolute best way to do this is to use the 3d paint tool to draw reference marks over the seam between maps for your gridlines.

Then using the reference and the uvtemplate as semitransparent layers in photoshop you can construct your grid. The only thing you must do is make sure that your gridlines intersect the seam references exactly, beyond those points the grid is at your discretion.
You actually seem to have most of the grid already made up, all you really need to do is align the seams by a little warping and rotating.

You could do this entirely in 3dpaint and then simply tidy up in photoshop, it’s easier than you think.

(sorry Joe, just noticed you’d already said most of that)

Just posted a quick image (I’m putting a Shatner skin texture together at the moment so he was convenient) showing how you can get perfect seam references in the paint tool. You can be more accurate if you load M4 up in a ‘small’ scene.

Image Attachments
Image2.jpg
 Signature 

http://roguepilot.deviantart.com/
http://www.renderosity.com/mod/gallery/browse.php?username=RoguePilot
http://www.ShareCG.com/pf/full_uploads.php?pf_user_name=RoguePilot

Profile
 
 
   
1 of 3
1