Home Technical Talk

Unwrap help for very simple object

polycounter lvl 6
Offline / Send Message
Pinned
TannedBatman polycounter lvl 6
Hey I know its dumb but do I unwrap this how I have or have each face as a seperate thing? I only mention because someone said to have uvs stop at hard edges, so wouldnt that mean I have loads of single faces, which Ive also been told to avoid. The highpoly has beveled edges btw.

Replies

  • Fabi_G
    Offline / Send Message
    Fabi_G high dynamic range
    Hi! If the question is "split UVs at hard edges?", the answer is yes, UVs must be split at hard edges. But edges at UVs split don't need to be hard. A search should bring up a few more threads on this topic.

    Depending on the mesh, if each face had its own UV shell, it would foremost be a waste of texture space due to the combined amount of padding necessary. Iirc correctly, more UV shells effectively increase vertex count when rendering - potentially increasing performance cost - again depending on the specific mesh. If you really want to know, best read up on rendering.

    I think a reasonable approach here is to use hard edges where they are beneficial (steep angles) and split corresponding UVs. But of course, when working on a project, follow its guidelines.
  • pior
    Offline / Send Message
    pior grand marshal polycounter
    And to add to the above : there is nothing wrong with unwrapping a cube as 6 islands. That's part and parcel of the whole hard edge approach.


    To our dear friend Jake Gyllenhaal : what about trying things out ?
  • TannedBatman
    Offline / Send Message
    TannedBatman polycounter lvl 6
    well, I tried both versions and for this particular mesh it produced the same result when baking. I just wanted to make sure there wasnt anything happening behind the scenes that I didnt know about, or for future reference as well.
  • TannedBatman
    Offline / Send Message
    TannedBatman polycounter lvl 6
    That image you put is actually really helpful, thank you. You mention it being beneficial to split uvs at hard edges but I dont understand what is the downside to unwrapping as one island for hard edges? If more shells are costly on rendering wouldnt it be better to avoid it? I suppose il have to try some more researching.
  • pior
    Offline / Send Message
    pior grand marshal polycounter
    Well ... you simply have to try it to see it/understand it indeed. it's not about it being "beneficial".
  • Eric Chadwick
    A recent example, if that helps. See point#2 https://polycount.com/discussion/234499/mini-tutorial-baking-seamless-normal-maps-for-gltf

    One important thing to note: splitting UVs on hard edges is only really necessary if you’re baking normal maps.
  • TannedBatman
    Offline / Send Message
    TannedBatman polycounter lvl 6
    ah I see, thank you very much =)
  • pior
    Offline / Send Message
    pior grand marshal polycounter
    "If more shells are costly on rendering wouldnt it be better to avoid it?"

    IMHO this is a case of taking an assumption (which isn't necessarily wrong of course) and running with it without really putting it in context.

    We've all seen polygon density affecting performance : importing a sculpt into a regular 3d program can makes it crawl ; and upgrading a video card allows to handle scenes with more complexity. And similarly, models get reduced for LODs or for games to be ported to low-end hardware.

    But the above is orders of magnitude different from adding a few hard edges and their matching UV splits. Sure enough this is increasing the vertex count - but not to a point that it makes it even a factor for performance. Or if it was, I'd love to see an example of that ... but that would require a scene already pushed to the limit geometry-wise ... which is not viable in production anyways.
Sign In or Register to comment.