Announcement

Collapse
No announcement yet.

RE_Lighting black with FastSSS2?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RE_Lighting black with FastSSS2?

    Hi,

    I set up a simple scene (one sphere, one Rect Light, Indirect Illumination enabled with solid color for GI and Reflection) to test assembling Render Elements to match the RGB Beauty. I also created a Light_Select RE associated to the Rect Light.

    First, I assign the sphere a VrayMtl. The result is good. Lighting + GI + Reflection = Beauty
    And the Light_Select = Lighting. This is what I expect to see.

    Then, I assign the FastSSS2 to the sphere. I got some unexpected results.
    1. The Lighting RE is empty.

    2. Diffuse RE x Raw_Light RE is not equal to the Light_Select RE, which is also supposed to equal to the Lighting RE (though it is empty now).
    Click image for larger version

Name:	Diffuse multiply RawLight.jpg
Views:	1
Size:	12.0 KB
ID:	872299Diffuse x Raw_Light Click image for larger version

Name:	Light_Select.jpg
Views:	1
Size:	11.9 KB
ID:	872300Light_Select Click image for larger version

Name:	difference.jpg
Views:	1
Size:	11.0 KB
ID:	872298difference between the two

    3. Interestingly, now the Light_Select + GI + Reflection = Beauty

    Is the black Lighting RE an intended result as the FastSSS2 is used?
    Why the Diffuse_RE multiplied by Raw_Light RE does not match the Light_Select when FastSSS2 is used?
    If a SSS_RE is generated, what is the composite formula such that the composite result will match the Beauty? I tried to simply "add" the SSS_RE into the comp tree but the result is incorrect.

    Thanks,
    Jason

    scene file attached.
    vray_multipass_test.zip
    always curious...

  • #2
    The Lighting element contains the diffuse lighting of the surface; since the sss2 material uses a different material model (that's what the whole sss thing is about, otherwise it would be just a plain diffuse material), it produces a black Lighting element. Instead, the dedicated sss2 element contains the equivalent information, and it is typically "added" to the composition.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Originally posted by vlado View Post
      The Lighting element contains the diffuse lighting of the surface; since the sss2 material uses a different material model (that's what the whole sss thing is about, otherwise it would be just a plain diffuse material), it produces a black Lighting element. Instead, the dedicated sss2 element contains the equivalent information, and it is typically "added" to the composition.

      Best regards,
      Vlado
      Thanks Vlado. It makes a lot more sense to me now.

      But what confuses me now is:
      I compare the SSS_RE and the Light_Select_RE and they are different. How come?
      When a regular lambertian model is involved (eg. a VrayMtl is used), Lighting_RE = Light Select_RE (these is only one Rect Light in the scene).
      Whereas when the FastSSS2 is involved, the SSS_RE is the replacement of the Lighting_RE and should be equal to the Light_Select_RE, shouldn't they?

      If I chose to involve the SSS_RE into the comp tree, how should I do the get the missing elements such that the SSS_RE + GI_RE + Reflection_RE + Specular_RE + Missing_RE = Beauty?
      Click image for larger version

Name:	head_SSS+Refl+Spec+GI.jpg
Views:	1
Size:	12.6 KB
ID:	843534 SSS_RE + GI_RE + Reflection_RE + Specular_RE
      Click image for larger version

Name:	head_difference to the Beauty.jpg
Views:	1
Size:	8.1 KB
ID:	843533the difference to Beauty

      If I If I chose to involve the Light_Select_RE into the comp tree, how should I do the get the missing elements such that the Light_Select_RE + GI_RE + Reflection_RE + Missing_RE = Beauty?
      Click image for larger version

Name:	head_difference 2.jpg
Views:	1
Size:	7.8 KB
ID:	843535 the difference to Beauty.


      Thanks,
      Jason
      Last edited by jasonhuang1115; 26-10-2010, 04:47 PM.
      always curious...

      Comment


      • #4
        I'm curious as to whether you found the correct formula. I have a similar situation now.

        V Miller

        Comment


        • #5
          See my post here: http://www.chaosgroup.com/forums/vbu...743#post560743

          It contains an explanation how to combine the render elements, including the sss2 one, into the final image.

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            Originally posted by vlado View Post
            See my post here: http://www.chaosgroup.com/forums/vbu...743#post560743

            It contains an explanation how to combine the render elements, including the sss2 one, into the final image.

            Best regards,
            Vlado
            Not sure if it's just me, but I don't have the privilege to view those jpg attachments and I can't reply in Softimage forums. I am wondering if it's only viewable for Vray for Softimage owner?
            always curious...

            Comment


            • #7
              Originally posted by jasonhuang1115 View Post
              Not sure if it's just me, but I don't have the privilege to view those jpg attachments and I can't reply in Softimage forums. I am wondering if it's only viewable for Vray for Softimage owner?
              Same for me, i can see nothing from XSI forums.
              www.deex.info

              Comment


              • #8
                Same here. I was checking the thread out before you posted the link here Vlado and I don't have priveleges to any of the images of your nuke script.

                V Miller

                Comment


                • #9
                  Hm, that's odd. Anyways, will see if I can re-post them here.

                  Best regards,
                  Vlado
                  I only act like I know everything, Rogers.

                  Comment


                  • #10
                    I think one needs to divide sss by diffuse to get raw sss first then add that raw sss to raw lighting otherwise the sss contains parts of diffuse map slso which is undesireble if you use raw passes.
                    Dmitry Vinnik
                    Silhouette Images Inc.
                    ShowReel:
                    https://www.youtube.com/watch?v=qxSJlvSwAhA
                    https://www.linkedin.com/in/dmitry-v...-identity-name

                    Comment


                    • #11
                      Originally posted by vance3d View Post
                      Same here. I was checking the thread out before you posted the link here Vlado and I don't have priveleges to any of the images of your nuke script.

                      V Miller
                      Just plus one-ing that, i can't see them either...

                      Chris

                      Comment


                      • #12
                        You should be able to see the attachments now (you might have to log out and log in on the forum again).

                        Best regards,
                        Vlado
                        I only act like I know everything, Rogers.

                        Comment

                        Working...
                        X