Hair not visible through window in scene

paul_ae567ab9paul_ae567ab9 Posts: 231

This has me baffled. I have a charactor, cloths and hair in a scene where the charactor is outside looking in.

When I move the charactor to the outside of the window the hair vanishes. Everything else remains visible.

If I rotate to view from the outside the hair returns.  I placed the charactor mid way in the plane of the "glass" and posted the result below.

Any clue why hair only vanishes when viewed through the glass but everything else is visible as expected?

I have tried other hair and results always same. Hair invisible through window.

I did a spot render with strange results as well.  The hair renders but the head is distored along plane of the glass. (second pic) note how head in "inside" is not aligned with head on outside.

hairissue.jpg
480 x 508 - 32K
distort.jpg
358 x 379 - 17K
Post edited by paul_ae567ab9 on

Comments

  • AndySAndyS Posts: 1,438

    Hi,

     

    there're two different problems in your post.

    1. Hair disappearing if watched through glass
    This is normal. Every object you can look through has an idividual cutout opacity. So the viewport processing seems to have some own ways to handle multiple opacity appearance. Please don't ask.
    As you see: when rendering, everything is fine.

    2. Usage of refractive objects
    In your render it looks as if you used the "wrong" glass shader for your window. The distortion is the result of the refraction effect.
    Please use the "Thin Glass" shader for your window and compare the result.

  • The vanishing hair problem looks like it could be one of the known limitations of the Viewport (what you see before you render). The window has a simple transparency applied to it, and the hair has a complex (probably mutilayered) transparency. The Viewport, which is driven by the capabilities of your graphics card, can't cope with multiple transparencies like that. The only easy way to work around this is to do all posing etc. of the figure inside the room, then move it outside before rendering.

    Not sure about the distortion, I haven't seen anything like that before.

  • Thanks.  I found a work around that takes care of it.  Not worth messing with the settings for the glass as it is part of an entier wall and not a separate prop as I can tell.

    It used the geometry editor to make the glass invisible and that took care of it.  The final render does not appear any different with or without the "glass" visible since it is suppsed to be transparant anyway.

    This was more about the curiosity of why this happens but the responses make sense.

    Now to remember this effect as it might actually be useful some day !

     

    Again, many thanks.

  • I also have seen such viewport preview problems with transparent objects shining thru others "in the wrong order" it seems!

     Like with some scullcaps shining thru hair. I fixed the hair - I made a decimation and therefore I saved it as a new figure to the library - and this one got the transparent opacity right.

    I've done this with WyattHair once.

    hope that helps.

Sign In or Register to comment.