Clothes perfect in viewport - but poke thru in render - What to do?

Time and time again the clothes are perfect in view port but with tons of poke thrus in the actual render. Both the open gl and photo real viewport shows the same - perfect fit. It has been the same in 4.10, 4.11 and now in 4.12. What can be done? Changing collision or smoothing iterations doesn't work. I have to use push modifier or expand the clothes to get it to work.But why is the collision iterations working in the view port but not in the actual render?

Comments

  • JonnyRayJonnyRay Posts: 1,744

    This typically happens for a cople of reasons.

    1. Mesh Resolution / subdividing - if the character and/or clothing are using Sub-D, then it's changing the topology of the mesh during the rendering process.
      1. You can limit the effect tthis has by reducing or eliminating the amount of subdivisions being added. However that may radically change the look of your results if the artist who created the object was counting on Sub-D to make the mesh smoother.
    2. Mesh Smoothing type - By default, Studio chooses "Hard Edges" for smoothing. But sometimes I get better results by changing to one of the softer options. This seems to help even more on soft clothing that should have smooth flowing from edge to edge.
    3. Displacement - If either your character or clothing uses displacement maps, since these actually move the surface during rendering, you can get poke through where there was none. Reducing the strength of displacement can help with this.
      1. Note that since Bump and Normal maps do not physically change the surface, they will not have this same effect; so you don't need to worry about those.

    TBH, I've chased poke through a number of times trying to get it to look right and normally just resort to a low strength push modifier because it still looks okay and gets me the results I wanted.

  • Thanks a lot JonnyRay!

    I will start to play around with that...now!

  • Hi! I have played around a bit!

    I have tried to fit Angels Secrets Lingerie (G8F)  https://www.daz3d.com/angels-secrets-lingerie-and-poses-for-genesis-3-and-8-female-s to a G8F with custom body.

    1. Subd. The clothes don't have subd but G8F has subd level 1. If I change G8F subd to 0 - the clothes fits perfect! Great! But....subd 0 crashes the teeths on G8F, she gets gaps between the teeth, the mouth becomes slightly open etc. Is it possible to set subd 1 to a certain bodypart, ie the head, and have other bodyparts set to 0?

    2. Mesh smoothing. Is this setting "Edge Interpolation"? I tried to set that to "Soft corners and edges" but nothing much happened.

    3. Displacement. I removed all displacement maps but that didn't change anything.

     

    Did I follow your instructions correctly for "Mesh Smoothing" and is there a way to set subd 1 to a certain bodypart, ie the head, and have other bodyparts set to 0?

     

  • OstadanOstadan Posts: 1,128

    Also, a millimeter (.1) or even less Push Modifier can help in many cases.

  • JonnyRayJonnyRay Posts: 1,744

    Hi! I have played around a bit!

    I have tried to fit Angels Secrets Lingerie (G8F)  https://www.daz3d.com/angels-secrets-lingerie-and-poses-for-genesis-3-and-8-female-s to a G8F with custom body.

    1. Subd. The clothes don't have subd but G8F has subd level 1. If I change G8F subd to 0 - the clothes fits perfect! Great! But....subd 0 crashes the teeths on G8F, she gets gaps between the teeth, the mouth becomes slightly open etc. Is it possible to set subd 1 to a certain bodypart, ie the head, and have other bodyparts set to 0?

    2. Mesh smoothing. Is this setting "Edge Interpolation"? I tried to set that to "Soft corners and edges" but nothing much happened.

    3. Displacement. I removed all displacement maps but that didn't change anything.

     

    Did I follow your instructions correctly for "Mesh Smoothing" and is there a way to set subd 1 to a certain bodypart, ie the head, and have other bodyparts set to 0?

     

    You followed them all corectly. And yeah, it's known that G8F doesn't like Sub-D very well. :) Might be okay unless you want her to smile and spoil it all with her awful teeth? I'm kidding!

    I was going to also suggest hiding body parts, but that won't work very well with a lingerie set. ;)

    Basically, everything you've said is exactly why I only give it one or two tries of fixing it "the right way" until I go for the "cheat" with the push modifier. 

  • barbultbarbult Posts: 24,835

    HD morphs are another thing that cause pokethrough some times.

    As a last resort, you can render twice - once normally and once with the body parts Visible in Render = OFF (setting on the Parameters pane). Then composite the two images in an image editor, using the render with body parts invisible to patch the poke through areas. Sometimes postwork like this is easier than fiddling forever in Daz Studio to try to get a single clean render..

  • JonnyRay said:

    is exactly why I only give it one or two tries of fixing it "the right way" until I go for the "cheat" with the push modifier. 

    Well, well, that what I have been doing. Hoped it was a bug that would be fixed at some point ....have to continue with the XXX push modifier!

    Thanks a lot anyway!!!

  • barbult said:

    HD morphs are another thing that cause pokethrough some times.

    As a last resort, you can render twice - once normally and once with the body parts Visible in Render = OFF (setting on the Parameters pane). Then composite the two images in an image editor, using the render with body parts invisible to patch the poke through areas. Sometimes postwork like this is easier than fiddling forever in Daz Studio to try to get a single clean render..

    I guess that would work for many people, but I want to get my renders "right" without postwork. Part is that I am lazy but it would take far to much time per pic to suit what I am doing.

    Thanks barbult!

  • Ostadan said:

    Also, a millimeter (.1) or even less Push Modifier can help in many cases.

    Hi Ostadan!

    Yes, you are right, BUT, why the XXX isn't it working from the beginning!!! Having the collision iterations etc working fine in the viewport bu NOT in the actual renders MUST be, not just a bug, but a HUUUGE bug. It was like that in 4.10 how come it 's still there in 4.12.  Rrrrrr!!!!

    Thanks anyway!

     

  • TheKDTheKD Posts: 2,700
    edited August 2019

    You don't really have to turn subd in render down, just make sure the veiwport subd is the same as render subd. I usually use all at o subd while setting the scene up like 98%, then when I know no major changes needs doing anymore, crank everything I am using subd on to 2 or 3 for the fine tuning. Hd morphs are problematic sometimes, clothes might need to be pumped up to as much as subd 4 sometimes, depending on the mesh. If it don't have the polygon details to follow the HD mesh, it will more than likely poke through. Another thing I do with more problematic things, I add a geoshell to the person, and turn it invisible, then use that as a collision item instead of the figure. You can play with the geoshell offset to try and get things looking better. A lot of tricks to do, but a lot of times it's actually quicker and easier to fix it in postwork. 5 minute in photoshop vs an hour mucking around in studio.

    Post edited by TheKD on
  • nemesis10nemesis10 Posts: 3,500

    I should also mention utilities like https://www.daz3d.com/sy-clothing-fit-helper-genesis-8-female/  which work really well and are really quick and easy to use.

     

  • TheKD said:

    You don't really have to turn subd in render down, just make sure the veiwport subd is the same as render subd.

     

    Uuuuiii! That's true! It solves the problem! Subd must be the same in viewport and render!

    Thanks TheKD!

    I will play around with geoshells, never done it but it could be good to learn that to!

     

    Thanks!

  • nemesis10 said:

    I should also mention utilities like https://www.daz3d.com/sy-clothing-fit-helper-genesis-8-female/  which work really well and are really quick and easy to use.

     

    OK! I will check that out, but TheKD's suggestion solved the acute (well, I have had it for year(s) problem!

Sign In or Register to comment.