Announcement

Collapse
No announcement yet.

A Quantized-Diffusion Model for Rendering SKIN and Translucent Materials

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

  • #46
    Perhaps, I gather the presets are done using fit data. It might be more intuitive to see what the curves are doing in several cases and work at matching the curves rather than as you say using a color swatch which can be visually misleading.

    Also just so I understand can you or one of the gang there post a sample file where the green OJ isnt the case? I really do want to get my head wrapped around how to eliminate it within the existing model.

    -Michael

    Comment


    • #47
      How about this one? The settings are exactly the same as in your scene, and the material is still physically accurate.

      Click image for larger version

Name:	sss_test.jpg
Views:	1
Size:	143.7 KB
ID:	846663

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

      Comment


      • #48
        Originally posted by vlado View Post
        That's the point - it's not really a color. If I knew better back then, I would have named it "scattering coefficient" or something. The scatter "color" represents the scattering coefficients in the volume for the red, green and blue wavelengths respectively. While it has three components and it's convenient to represent it as a color in the UI, it does not behave as other colors like diffuse, reflection and so on. If you put orange diffuse in a VRayMtl material, orange diffuse is what you get no matter how look at the material. However, since scattering happens in a volume, the light changes as it goes through the volume - what comes out orange at one end, may end up as green on the other (or blue, or red), depending on the material properties.
        Are we kind of in a situation similar to what metals do with reflection? As in different wave lengths reflect differently in a metal and similarly different wavelengths scatter differently in different liquids / sss mediums?

        Michael what is fit data? Is it similar to a brdf scan except for refraction / scattering?

        Comment


        • #49
          So the pesky greenish tint bug is fixed now; one of the formulas for calculating the volume properties out of the sss color was wrong - it is also wrong in the original bssrdf paper that I followed

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

          Comment


          • #50
            Wow congrats o.o
            CGI - Freelancer - Available for work

            www.dariuszmakowski.com - come and look

            Comment


            • #51
              Hehe hopefully really fixed this time

              Original code:
              Click image for larger version

Name:	sss_before.jpg
Views:	1
Size:	47.9 KB
ID:	846664

              Fixed code:
              Click image for larger version

Name:	sss_after.jpg
Views:	1
Size:	47.9 KB
ID:	846665

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

              Comment


              • #52
                Originally posted by vlado View Post
                it is also wrong in the original bssrdf paper that I followed

                Best regards,
                Vlado
                Ahah, really ?
                www.deex.info

                Comment


                • #53
                  Originally posted by bigbossfr View Post
                  Ahah, really ?
                  Well, you know how most papers usually have one or two subtle mistakes - a plus turned into a minus, or a ' sign omitted somewhere, can make a bug difference

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

                  Comment


                  • #54
                    Originally posted by vlado View Post
                    So the pesky greenish tint bug is fixed now; one of the formulas for calculating the volume properties out of the sss color was wrong - it is also wrong in the original bssrdf paper that I followed

                    Best regards,
                    Vlado
                    I knew it!.. So will it be Skin material or Mtl 2 still?
                    Dmitry Vinnik
                    Silhouette Images Inc.
                    ShowReel:
                    https://www.youtube.com/watch?v=qxSJlvSwAhA
                    https://www.linkedin.com/in/dmitry-v...-identity-name

                    Comment


                    • #55
                      Originally posted by vlado View Post
                      Hehe hopefully really fixed this time

                      Original code:
                      [ATTACH=CONFIG]12588[/ATTACH]

                      Fixed code:
                      [ATTACH=CONFIG]12589[/ATTACH]

                      Best regards,
                      Vlado
                      This makes a huge difference vlado!
                      Dmitry Vinnik
                      Silhouette Images Inc.
                      ShowReel:
                      https://www.youtube.com/watch?v=qxSJlvSwAhA
                      https://www.linkedin.com/in/dmitry-v...-identity-name

                      Comment


                      • #56
                        Congrats
                        I just can't seem to trust myself
                        So what chance does that leave, for anyone else?
                        ---------------------------------------------------------
                        CG Artist

                        Comment


                        • #57
                          WOW! That's awesome Vlado. Fixing everyone's code since 2001. Hehehehe

                          Comment


                          • #58
                            So in the latest nightly builds, there is an option in the sss material (in the Options rollout in 3ds Max, in the Extra Attributes rollout in Maya) called "legacy mode"; it is automatically enabled when loading old materials, to preserve compatibility, but is turned off for newly created sss2 materials. When this option is off, there should be no unwanted color shifts in the sss2 material. If you can test this and let me know if it works as expected, it will be very helpful.

                            Best regards,
                            Vlado
                            Last edited by vlado; 14-01-2013, 01:31 AM.
                            I only act like I know everything, Rogers.

                            Comment


                            • #59
                              Maya 2013 nightly too?

                              Thanks, bye.
                              CGI - Freelancer - Available for work

                              www.dariuszmakowski.com - come and look

                              Comment


                              • #60
                                Originally posted by DADAL View Post
                                Maya 2013 nightly too?
                                Yes.

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

                                Comment

                                Working...
                                X