Home Technical Talk

Texture Seam Gap Maya/Zbrush

So, I have this model I'm working on. I'm trying to create normal maps using Maya and Zbrush. I get this texture seam gap after I create the NM in Zbrush. I looked around on the forum and it seems to be a vertex normal issue? How would I go about fixing them?

I played around with the uvmap adjustments in Zbrush but it doesn't really fix the problem. I also tried reuvmapping in maya and transfering the uv details into zbrush with no luck.

Replies

  • KWAN
    Options
    Offline / Send Message
    I really don't know if I should tweak in Maya or Zbrush. I have a gut feeling its vertex normals :/
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    You'll probably get better results baking in Maya if it's going to be rendered in Maya.

    I'm a bit curious what the highest subdivision level and UVs look like. If these are auto-UVs I'd either try playing with the UV smoothing options when baking the map, or clone the result over to the Texture Map subpalette and hit the Fix Seam button to add some more padding.

    You could try using UV Master in zbrush to create a new set as well that should be less disconnected. When you say ReUV'ing in Maya had no luck, did you encounter an error when trying to import those UVs or do you mean the new UVs didn't change the result any?
  • KWAN
    Options
    Offline / Send Message
    Hey thanks for responding!

    Well It's going to be low poly when finished. I'm not really familiar with rendering low poly in maya unless you mean by high quality preview, everyone is using marmoset render ingame which I don't have access to, so I was just going to create displacement maps and render it in Zbrush.

    The piece is pretty basic, like a neck guard thing lol.

    Doesn't the Uv Map Boarder only work on zbrush generated maps?

    I hand uv all my stuff in maya, I checked the face normals and vertex normals and they "look" fine. I actually tried numerous times trying to copy and paste the uv information from a new cage with really bad results.

    I did get some weird results when importing a new cage from maya to zbrush when I hit freeze subdivision levels to get the new uv info. The uv info usually doesn't transfer or moves to one side of the geo.
  • KWAN
    Options
    Offline / Send Message
    Well it looks fine when I uvmaster it but when I export it out into Maya and flip and reverse the normals it goes back to that jittery mess after I try to copy the uv's back in zbrush.
  • KWAN
    Options
    Offline / Send Message
    I think its a Maya setting...
  • KWAN
    Options
    Offline / Send Message
    I am completely stumped on this, I spent the entire night trying to fix this... >_>

    face/vertex normals in maya.
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    Well it looks fine when I uvmaster it but when I export it out into Maya and flip and reverse the normals it goes back to that jittery mess after I try to copy the uv's back in zbrush.
    Are you doing:
    UV Master -> Maya - > Back to Zbrush?

    If you're happy with the UV Master layout, once you send it to Maya there would be no need to send them back to zbrush. Just keep the model as-is in both programs at that point, and flip any textures you bake.

    As for the original layout, looking at that last image the appearance of the polyframe makes it look like the UVs aren't merged/healed together. This is something that could probably be checked and fixed quite easily in Maya if it was the case. You could also check in zbrush by going to Polygroups: Auto Groups with UV

    If you wanted, you could also upload the OBJ somewhere so we can look at it.
    I did get some weird results when importing a new cage from maya to zbrush when I hit freeze subdivision levels to get the new uv info. The uv info usually doesn't transfer or moves to one side of the geo.
    Freezing shouldn't be necessary. As long as you dont change the vertex order, then you'd just have to import the new OBJ and it should update the UVs automatically. It would be worth noting that zbrush flips the UVs so it wont appear exactly the same as you might be expecting, but as long as it doesn't butcher the actual islands themselves then everything should be fine.
  • KWAN
    Options
    Offline / Send Message
    Are you doing:
    UV Master -> Maya - > Back to Zbrush?

    - Yes.

    As for the original layout, looking at that last image the appearance of the polyframe makes it look like the UVs aren't merged/healed together.

    -It's a solid merged object.

    If you wanted, you could also upload the OBJ somewhere so we can look at it.

    - Sure, where can I upload it to?

    Freezing shouldn't be necessary. As long as you dont change the vertex order, then you'd just have to import the new OBJ and it should update the UVs automatically.

    - I know I've tried it just simply importing it but the High details don't get transferred unless I freeze the subdivisions.

    It would be worth noting that zbrush flips the UVs so it wont appear exactly the same as you might be expecting, but as long as it doesn't butcher the actual islands themselves then everything should be fine.

    - Yeah, I noticed when I did UVMaster,Maya, Zbrush the normals got flipped (red). I could simply leave it with UVMaster, the problem is I have about 30 subtools sharing one uv map. UV Master takes up the whole 0-1 UV space, so I have to resize it in Maya, unless if there is a way to modify the UV Map in Zbrush, which I don't think is possible, is it?

    I never get good results when I use project all in Zbrush, which I already tried about a couple dozen times. Something happens to the vertex normals when I export/import, I'm still stumped though on what options are causing it.

    I don't think rendering a low poly cage in Maya is very practical. It takes too long to set up the render settings/lighting and doesn't look as good. Since I can get better rendering results in Zbrush. Is there a Mac equivalent program to render out in-game assets?
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    know I've tried it just simply importing it but the High details don't get transferred unless I freeze the subdivisions.
    You're changing the vertex order at some point along the way then. Normally if you export an obj with new UVs, everything updates automatically.
    Yeah, I noticed when I did UVMaster,Maya, Zbrush the normals got flipped (red). I could simply leave it with UVMaster, the problem is I have about 30 subtools sharing one uv map. UV Master takes up the whole 0-1 UV space, so I have to resize it in Maya, unless if there is a way to modify the UV Map in Zbrush, which I don't think is possible, is it?
    I meant the UVs themselves get flipped, not the channels.

    As for UV Master, If you use the Flatten button you can change the UVs with the move brush, masking, and transpose, and then unflatten.
  • Scruples
    Options
    Offline / Send Message
    Scruples polycounter lvl 10
    Why are you making normal maps & displacement maps if you are planning on rendering in Zbrush?. Low poly render in Zbrush doesn't work well so you will eventually have to learn another program if you want to see what your low-poly looks like with proper shaders, lighting and textures.

    Rendering a low-poly in Maya is very practical, to display a normal map in the viewport with a couple spotlights and a diffuse map only takes 2-3 minutes.

    Like Cryrid said, It looks to me like your uv's are getting broken apart.
  • KWAN
    Options
    Offline / Send Message
    Scruples wrote: »
    Why are you making normal maps & displacement maps if you are planning on rendering in Zbrush?. Low poly render in Zbrush doesn't work well so you will eventually have to learn another program if you want to see what your low-poly looks like with proper shaders, lighting and textures.

    Rendering a low-poly in Maya is very practical, to display a normal map in the viewport with a couple spotlights and a diffuse map only takes 2-3 minutes.

    Like Cryrid said, It looks to me like your uv's are getting broken apart.

    I know how to render in Maya, I already know that it takes more set up and more time. There's no way you can get a good enough render in Maya with out severely tweaking the crap out of the render settings and shaders. Shaders are fine in Zbrush. I've done plenty of low poly rendering in Zbrush, it works fine. Like I said the UVs are not broken.
  • KWAN
    Options
    Offline / Send Message
    I'm planning on baking the displacement map to get more height on the normals.
  • KWAN
    Options
    Offline / Send Message
    Nevermind that's not gonna work. I'm going to have to use GoZ >_>
  • KWAN
    Options
    Offline / Send Message
    Maybe it has something to do with the vertex faces. How can I send you guys the file? Would reapplying a new UV map reset the vertex settings on the mesh, or would I have to do it separately?
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    If you can't find a place to upload it to, you could email it to me.
    mike @ cryrid.com
  • KWAN
    Options
    Offline / Send Message
    http://www.mediafire.com/file/179ax0j987y1a3a/mask_leather.ZTL

    Let me know if that link doesn't work

    Should be a clean slate, deleted the uvmap, 7 sdiv. It projects fine in UVMaster. Try exporting and modifying the uv's in maya and reimport into zbrush. Zbrush doesn't like the new uvmap created in Maya. It's not the export/import options, I just tried it. Thanks btw.
  • KWAN
    Options
    Offline / Send Message
    In the five years of using 3D I've never encountered this before, ever.
  • KWAN
    Options
    Offline / Send Message
    Wow, ok I'm a dumb ass.

    I think you guys are right....

    For some reason when the obj gets imported back into Zbrush. It turns on Groupings. So when I'm copying the new UV information its copying it in sections, like you guys said. I just assumed since I had it off when I exported it would remain off not on. Going to do more tests....
  • KWAN
    Options
    Offline / Send Message
    hmm...still not able to fix it.
  • KWAN
    Options
    Offline / Send Message
    Interestingly enough Zbrush exports the cage out with groupings on, even though I have it turned off. I sew the uvs in maya and export it back into zbrush and it turns grps on again with off scaling attributes under the Export option.

    Scale 1.1067

    x Offset -0
    x Offset 2.3231
    z Offset .0382
  • KWAN
    Options
    Offline / Send Message
    Ok, I don't know whats wrong lol
  • KWAN
    Options
    Offline / Send Message
    Looks like zbrush is importing the file with broken uv's. I have groupings turned off in maya.
  • KWAN
  • KWAN
    Options
    Offline / Send Message
    This is problem is kicking my ass, I'm feeling like Jabba right now lol.

    [ame="http://www.youtube.com/watch?v=oxMmw1uj19s"]Jabba the Hut's death scene - YouTube[/ame]
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    I was hoping to see the OBJ and UVs. I suppose this will work though.

    The mesh itself is inverted. It's easier to tell by going to Tools: Display Properties and turning off Double.

    So while you're in that subpallete, I'd jump to the highest subidivion level and then hit the flip button to flip the normals. Once that's taken care of, turn off the old texture so it's not so confusing to look at. Give it UVs when it is in this state. From here on out the normal map should bake fine (you might want to turn on adaptive, and turn off SmoothUV).

    And if you're happy with the highpoly sculpt, it would probably be faster and better to work with Maya from here on out. The bane of baking in zbrush is that the highpoly has to be a higher subdivision level of the same tool, and if you can't work out an import/export process that keeps things consistent, then you're going to run into quite a few problems even if you just want to change UVs around. By separating the sculpt from your final game mesh you're going to have more freedom over the baking process, and changes you make to the final mesh wont run the risk of altering the sculpt. The bake may take longer, but you'll get more control over it and the tangents should sync up (more importantly you'll also be able to see the result of the normal map on the model, instead of just faking it with a displacement map and matcap-driven specular). Unfortunately I'm not familiar enough with Maya's export options to let you know what needs to be done for a smooth pipeline between the two. With XSI I just keep the default settings + local coordinates, and with zbrush I ignore subgroups. You should maybe check your Preferences:ImportExport settings to make sure it's not automatically trying to flip normals, or import groups.

    So export the Highres as an OBJ (it wont need UVs), check that the normals are correctly pointing outwards, and do whatever you need to do to the lowpoly and its UVs in Maya.
  • KWAN
    Options
    Offline / Send Message
    Thanks a lot for your help.

    I actually did some digging on zbrush central and found out that the normals got inverted when I used the zbrush retoplogy method. I get too many problems using zbrushes retop method so I try to avoid it at all costs. I don't have access to topogun unfortunately otherwise I would use that.

    http://www.zbrushcentral.com/showthread.php?166762-Unwelded-UVs
  • KWAN
    Options
    Offline / Send Message
    Well, go figure. I thought I had a work around for this problem it seems that I don't. I just reprojected the details on a new mesh. It's transferring onto other meshes that were perfectly fine....
  • KWAN
    Options
    Offline / Send Message
    I probably wont get the job anyways.
  • cryrid
    Options
    Offline / Send Message
    cryrid interpolator
    Well, go figure. I thought I had a work around for this problem it seems that I don't.

    Are you still running into problems? All I had to do with the file was hit the flip button and give it UVs.
  • KWAN
    Options
    Offline / Send Message
    Well oddly enough, I wasn't able to get it to work but I did a fresh install on a friends PC and I was able to get it done with out any problem. /shrug
Sign In or Register to comment.