Announcement

Collapse
No announcement yet.

Interior mapping shader

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

  • #16
    Originally posted by Art48 View Post
    This looks nice, I didn't even know that was possible... If the chaosgroup guys could do a proper implementation of that in one of the next servicepacks that'd be cool ALthough this might not be very high on the priority list.
    I presume the ranking in the priority list is also determined to some extent by the amount of voices asking for a particular feature. So if we push hard enough...

    mekene

    Comment


    • #17
      That's true though I would voter for other stuff right now but I don't do much buildings
      Software:
      Windows 7 Ultimate x64 SP1
      3ds Max 2016 SP4
      V-Ray Adv 3.60.04


      Hardware:
      Intel Core i7-4930K @ 3.40 GHz
      NVIDIA GeForce GTX 780 (4096MB RAM)
      64GB RAM


      DxDiag

      Comment


      • #18
        +1 This would be very handy
        Cheers,
        -dave
        â–  ASUS ROG STRIX X399-E - 1950X â–  ASUS ROG STRIX X399-E - 2990WX â–  ASUS PRIME X399 - 2990WX â–  GIGABYTE AORUS X399 - 2990WX â–  ASUS Maximus Extreme XI with i9-9900k â– 

        Comment


        • #19
          Yep would love to have something like this,

          For the moment we build our own planes from 7 different angles based on interiors that we modeled and rendered.
          Now we multi sub them according to the angle of view from the camera.
          A bit of manual work but works great.
          If Vray does something similar out of the box, I'd love it.

          Stan
          3LP Team

          Comment


          • #20
            Hey all,

            I've got this working in max now, maya should be the same, I will tweak it some more this evening and I'll post the OSL and some pics!
            Rens Heeren
            Generalist
            WEBSITE - IMDB - LINKEDIN - OSL SHADERS

            Comment


            • #21
              Cannot wait to try it Rens! Thank you!
              Best Regards

              Tomek

              Portfolio: http://dtown.pl/

              Comment


              • #22
                Yep really looking forward for this too!

                Stan
                3LP Team

                Comment


                • #23
                  Ok here we go!

                  Click image for larger version

Name:	intmap_osl_setup.JPG
Views:	1
Size:	29.1 KB
ID:	856455

                  Click image for larger version

Name:	intmap_result.JPG
Views:	1
Size:	43.0 KB
ID:	856456

                  Some things to do still but the base shader is working nicely!

                  Open the ZIP file and load the OSL in a VRayOSLTex, then just connect the atlas map and adjust the scaling.

                  Have fun!
                  Attached Files
                  Last edited by Rens; 02-07-2015, 06:47 AM. Reason: added vrayosltex
                  Rens Heeren
                  Generalist
                  WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                  Comment


                  • #24
                    Originally posted by Kakashi View Post
                    Hi.

                    I adjusted a OSL file for Vray.
                    I can render it but a result is something wrong.

                    I do not yet understand all of a OSL source.
                    I hope to cooperate, if possible.

                    [ATTACH]24654[/ATTACH][ATTACH=CONFIG]24655[/ATTACH]
                    Hi Kakashi, the I (or localI) needed to be inverted, then it works.
                    Rens Heeren
                    Generalist
                    WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                    Comment


                    • #25
                      Rens, I'm testing but i can't make it working.
                      I did as you wrote.
                      I have vray 3.20.02 on max2012.
                      Loaded the OSL shader inside the VrayOSLMtl and left the coordinates as you shown.
                      In the material editor the sample sphere is blank and the render is black. The strange thing is also that the alpha channel is full black.

                      I've checked if it's a lighting problem but using a VrayMtl all is OK.

                      Where am I wrong?

                      Comment


                      • #26
                        Hi Bardo, make sure you place a bitmap with the atlas map in the atlas_bitmap slot in the OSL shader (above RoomCount).
                        Rens Heeren
                        Generalist
                        WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                        Comment


                        • #27
                          Ah I see you wrote VrayOSLMtl, it should be VRayOSLTex. : )
                          Rens Heeren
                          Generalist
                          WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                          Comment


                          • #28
                            Hey Rens, this is great! Can I add the shader to the repo of OSL shaders here? http://docs.chaosgroup.com/display/O...+Shaders+Home#

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

                            Comment


                            • #29
                              Sure, that'd be great! I'll add some things to the shader but I'll just post it here. : )
                              Rens Heeren
                              Generalist
                              WEBSITE - IMDB - LINKEDIN - OSL SHADERS

                              Comment


                              • #30
                                just out of curiosity how do the settings work exactly ?
                                I would expect that if I have a box and I set the roomcount to 1,1,1 I get to see 1 room stretched to whatever size my box is ?
                                I guess that's not how an osl shader works ?

                                Comment

                                Working...
                                X