Iray is a Lyin' to me

Hey folks.  Here's what I'm seeing in Viewport vs. what actually renders. I've upped the smoothing & collisions a bit & looks fine in Viewport.  So what's causing this poke thru, or rather how do you correct or prevent something that's not showing?

 

image

PokeThruClip_14.jpg
1920 x 1080 - 473K

Comments

  • JonnyRayJonnyRay Posts: 1,744

    A lot of times that happens because of displacement or something which is only calculated at rendering time (even with the Iray preview).

    Your best bet might be to add a push modifier.

    1. Select the jeans.
    2. Edit menu -> Object -> Geometry -> Add Push Modifier
    3. Give it a name if you need to, but I usually just leave it default
    4. In the Parameters pane, you'll now have a "Mesh Offset" parameter. Dial it back from the 1.0 default to something like 0.1 or 0.2.
    5. Play a bit to get the minimum push you need to get the poke through to disappear.
  • Doc AcmeDoc Acme Posts: 1,153

    Great.  Thanks, I'll give those a go.  I also have the Fit Control for Genesis 8 Male(s) so might explore that too.  I guess do spot renders to check or is there a viewport render setting I might tweek?

     

  • kenshaw011267kenshaw011267 Posts: 3,805

    It won't show up in viewport ever.

  • Doc AcmeDoc Acme Posts: 1,153

    Sounds like a known, semi-common issue.  Anyway, that did do the trick.  I just snuck up on the problem spots using the Spot Render & found a setting; was in the .05-.07 range.

     

  • barbultbarbult Posts: 24,839

    You can also add a Push Modifier Weight Node (found on the Create menu) to your Push Modifier, and target the push modifier to only the spots where you need it, by using the Weight Brush tool.

  • KitsumoKitsumo Posts: 1,216

    Here's a post that might be useful. https://www.daz3d.com/forums/discussion/comment/2583171/#Comment_2583171

    Long story short, the Render SubD setting controls the subdivision in your Iray render. The Subdivision Level setting controls the subdivision in Iray preview, OpenGL preview, and any external reneder engines. So if you set both settings the same, you'll get a more accurate preview. Just remember you may have to set them for the figure and the clothes. The only problem is setting subdivision higher in preview mode can slow things down a lot.

  • Doc AcmeDoc Acme Posts: 1,153

    Thanks a heap guys, and nice link & synopsis there Kitsumo.  I've saved that off to study later.

     

  • chris-2599934chris-2599934 Posts: 1,839

    Another way to fix this would have been to make his collar and shoulder bones (and any other part of his body that's 100% hidden inside clothing) not visible. That way you don't have to care about poke through, and it can speed up your render too.

  • PadonePadone Posts: 3,796

    Another way to fix this would have been to make his collar and shoulder bones (and any other part of his body that's 100% hidden inside clothing) not visible.

    Second that .. it does not make sense to keep the underling geometry visible if it is not needed. In that particular case where the outfit hides almost the whole figure you can hide everything but the head and the arms. And this is faster, not only for rendering, but also on the viewport and when loading the scene since this way you don't use the smooth and/or push modifiers ..

     

  • Doc AcmeDoc Acme Posts: 1,153

    Another way to fix this would have been to make his collar and shoulder bones (and any other part of his body that's 100% hidden inside clothing) not visible. That way you don't have to care about poke through, and it can speed up your render too.

    I'm exporting to another app via FBX to retain the rigging so would prefer all working correctly if possible.

  • KitsumoKitsumo Posts: 1,216
    edited June 2019

    Edit: never mind

    Post edited by Kitsumo on
  • kenshaw011267kenshaw011267 Posts: 3,805

    It won't show up in viewport ever.

    That's simply not true -- I see poke-throughs in my viewport.

     

    If its the sort the OP described, that only show in the render, then there is nothing you can do to see them in the viewport. I've had this issue and spent many hours with the viewport in iray mode trying to see when it was fixed but no matter what I did they don't show up.

Sign In or Register to comment.