Announcement

Collapse
No announcement yet.

Complex fresnel using VRayOSLtex

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

  • #61
    Added some presets...
    Click image for larger version

Name:	compFresnel_test002.jpg
Views:	1
Size:	86.4 KB
ID:	855932
    Regimantas Valiukas
    SIGER STUDIO
    www.sigerstudio.eu

    Comment


    • #62
      Presets: That's going to be a awesome tool!
      When do you plan to release this?
      Great work!

      Stan
      3LP Team

      Comment


      • #63
        Originally posted by 3LP View Post
        When do you plan to release this?
        Perhaps today or tomorrow.
        Click image for larger version

Name:	compFresnel_test003.jpg
Views:	1
Size:	132.5 KB
ID:	855933

        Good practice for the future. Creation of UI and dialog processor in comparison with .NET - a real hell. But it is cheerful
        Last edited by Siger; 26-04-2015, 06:25 AM.
        Regimantas Valiukas
        SIGER STUDIO
        www.sigerstudio.eu

        Comment


        • #64
          Beta version released.
          Click image for larger version

Name:	CF_beta_sc.png
Views:	1
Size:	28.8 KB
ID:	855935

          Quick presets test (used same glossiness value for all materials (exl. Chromium) only for testing purpose).
          Click image for larger version

Name:	CF_presets_test.jpg
Views:	1
Size:	449.0 KB
ID:	855936

          Tested with V-Ray 2.x.x, 3.x.x, Corona Renderer 1.x.x, Default Scanline

          ComplexFresnel.zip
          Regimantas Valiukas
          SIGER STUDIO
          www.sigerstudio.eu

          Comment


          • #65
            Originally posted by Siger View Post
            Beta version released.
            Tested with V-Ray 2.x.x, 3.x.x, Corona Renderer 1.x.x, Default Scanline
            Awesome, downloading now.

            Comment


            • #66
              Hi,
              Thank you very much for the release.

              Would it be possible to make it to work with Vray RT GPU? I´m testing now and Vlado´s OSL seems to work fine with RT...

              Best regards

              Julio

              Comment


              • #67
                Originally posted by Julio_Cayetano View Post
                Would it be possible to make it to work with Vray RT GPU?
                That's something that we will need to do - add GPU specific code for it, essentially rewriting the whole texture. The nice thing about OSL is that it is supposed to be portable and in fact, OSL on the GPU is planned for later this year.

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

                Comment


                • #68
                  Good news, thanks.

                  Vray RT GPU is getting better and better.

                  Best

                  Julio

                  Comment


                  • #69
                    ComplexFresnel texmap plugin for 3ds Max v.1.0.0 available for download (Free!). Compatible with V-Ray 2.x - 3.x.
                    http://www.sigerstudio.eu/shop/3ds-m...omplexfresnel/
                    Regimantas Valiukas
                    SIGER STUDIO
                    www.sigerstudio.eu

                    Comment


                    • #70
                      Originally posted by Siger View Post
                      ComplexFresnel texmap plugin for 3ds Max v.1.0.0 available for download (Free!). Compatible with V-Ray 2.x - 3.x.
                      http://www.sigerstudio.eu/shop/3ds-m...omplexfresnel/
                      Thank you Siger

                      Comment


                      • #71
                        For the complex IOR shader (not the artistic shader in the OP), which uses the measured data on refractiveindex.info for n & k you need to input the wavelength in micrometers individually for the R, G and B channels. What is the method used for determining these wavelength values? Here Vlado mentioned R:0.65, G:0.51,B:0.47 (which he said the artist friendly paper used) but on his complex_IOR shader it mentions in the comments the wavelengths R:0.65, G:0.55,B:0.45. So I'm a bit confused as to (1) how to derive these numbers in the first place (2) why the variance?

                        Comment


                        • #72
                          The values are the wavelengths of those three values on the visible spectrum. There's a slight amount of variance as "red" can mean a range of hues so I'm not sure if anyone's been as precise as to convert the specific rgb values we're using to exact wavelengths, I'm sure it's possible to do it.

                          http://science-edu.larc.nasa.gov/EDD...or_Colors.html

                          Actually here's a converter - http://academo.org/demos/wavelength-...-relationship/

                          And an explanation saying it's actually kind of hard to do a really accurate conversion between wavelength and hue - http://stackoverflow.com/questions/3...sible-spectrum
                          Last edited by joconnell; 14-07-2015, 09:37 AM.

                          Comment


                          • #73
                            So according to the wavelength to RGB calculator (http://academo.org/demos/wavelength-...-relationship/) these are the values for RGB: R:0.645, G:0.51, B:0.44

                            I notice that the n value for gold in rgb is actually blue (n = 0.18627, 0.75314, 1.4324) rather than yellow. Is this because gold absorbs blue and reflects back yellow?

                            Comment


                            • #74
                              Originally posted by sharktacos View Post
                              I notice that the n value for gold in rgb is actually blue (n = 0.18627, 0.75314, 1.4324) rather than yellow. Is this because gold absorbs blue and reflects back yellow?
                              Those values are not colors. It makes no sense to interpret them as such.

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

                              Comment


                              • #75
                                Doh!
                                I very much appreciate the physics education, even if I do have smoke coming out of my ears!

                                Comment

                                Working...
                                X