sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    V-ray questions

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    94 Posts 19 Posters 25.4k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      @aceshigh said:

      1 - if I explode all components, wont the model size skyrocket?

      Depends on how large the mesh inside component is. But generally I find geometry to add very little to the file size. It's the textures that blows the file size sky high.

      @aceshigh said:

      2 - Matthieu Noblet script to reduce VRAY Render Times (parsing time) seems to already do that... as far as I understand (true, I didnt understand very well what it means "assigning textures directly to geometry)... anyway, if I use his scrip, will it automatically do what you said? If it does, I wonder how I would be able to MAINTAIN one noise texture to all glass panes (if that was what I wanted)
      viewtopic.php?f=180&t=13711&st=0&sk=t&sd=a//url

      No. His script is to transfer all material applied to the outside of components and groups to the actual geometry inside. VfSU chokes when you apply materials to the outside of components/groups.

      The thing is, if all your glass are instances of the same definition, then they will all look alike. It seems that the Noise texture is generates identical from the 0,0,0 point of the component that contains it. This is probably to be able to render animations without having the noise whirl about. That's why, that if you take all your glass components and group them, so all the glass components are now inside a single group, and you then explode all of the glass; the noise will then generate it pattern from the 0,0,0 point of the group and generate a different pattern across all your glass surfaces.

      Practically I don't think you have to take all the glass into one component. But enough to break up the repeating pattern.

      Disclaimer: I don't know the behaviour of the noise as a fact. It's just what it appears to from my observation. I wouldn't be surprised if Damien saw this thread he's say "no no no, that's not how it works at all.". 😉

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Maybe an illustration help?


        ss-illustration.png

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • A Offline
          AcesHigh
          last edited by

          your solution is very good, and I will use it... but there is still a problem that we should consider for other times...

          your solution spreads the noise across all glasses... thats also not realistic. The ideal would be to EACH PANEL to have its own noise. There lies the problem... either we have the SAME noise pattern in each glass panel, or we do have ONE noise pattern across all glasses (as if they were all only one pannel). Its not realistic because the distortion should not continue from one panel to the other. But its the better solution so far.

          Thus, the real question is... how to generate a distortion that begins at xy of EACH PANEL, but at THE SAME TIME, making that distortion different for each panel?

          My room is smelling like fried brain... 😄

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            My second example tries to address that. It blends the noise with a bulge map. The bulge map when tiled 1.0 horizontally and vertically will match the tiling of your diffuse texture. So the Noise creates a global unique distortion and the bulge adds an emphasize on each window tile.
            Though, I suppose a more distinct contract would be desired. I'll try later. Now I'm going to bed.

            Thomas Thomassen — SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • A Offline
              AcesHigh
              last edited by

              gosh, it takes quite a long time to explode 15 thousand glass panels...

              1 Reply Last reply Reply Quote 0
              • thomthomT Offline
                thomthom
                last edited by

                Yea. SU's exploding takes a looong time. But it seems to me it works faster if you explode them in smaller batches instead of one big one...

                Thomas Thomassen — SketchUp Monkey & Coding addict
                List of my plugins and link to the CookieWare fund

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  Another test.

                  Bump: Blend
                  - Multiplier: 0.5
                  - Blend Ratio: 0.1
                  - Texture A: Bitmap (Attached) - Tile UV: 0.25, No Filter
                  - Texture B: Bulge


                  Render07.png


                  Breaks.png

                  Thomas Thomassen — SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AcesHigh
                    last edited by

                    looking good, but did you match the bitmap size so the squares match the glass panes? (btw, this pisses me off in VRAY... UVmap... right, and how can I know how big "1" translates into the model? Or 0.25?

                    in Sketchup, you set the SIZE of the bitmap... 2x2 meters... etc... much better.

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      V-Ray UV Size:
                      If you have a texture in your SU material, and your material is set to 5000mm,1000mm, then UV of 1.0,1.0 would match SU's. If you set the UV to 0.5,2.0 then it'd equal to 2500mm,2000mm.

                      If you have no texture in SU, then a UV of 1.0,1.0 is one inch, 25.4mm.

                      What I did with the last bumpmap that I posted, since it's 4x4 tiles, I wanted each tile to match the size of the SU texture size, so I set the UV tiling to 0.25,0.25.

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sepo
                        last edited by

                        Sorry about my ignorance but can you show how bulge diffuse looks like.

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          How the blended bumpmap looks like in the diffuse channel?

                          Thomas Thomassen — SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            sepo
                            last edited by

                            😳 You can tell I am total newby with Vray... I thought it was actually diffuse texture.
                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              I do have a diffuse texture in the material. (http://www.sketchucation.com/forums/scf/viewtopic.php?f=80&t=18096&st=0&sk=t&sd=a&start=30#p149199) But that's only to create UV co-ordinates. The diffuse layer is completely transparent. You only see the reflection layer which is distorted by the bump.-

                              Thomas Thomassen — SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • A Offline
                                AcesHigh
                                last edited by

                                What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

                                Thom, I gave up on exploding my model. I will try it next time. My model was too big with too many glass components... the building is 130 floors tall, and I had to select 5 floors each time and even so it would take over 30 minutes to explode them...

                                I tried using the bulge in a teste model... Ive run into trouble, probably a bug... bulge would work in the first render... then usually it would look too small. I would try setting it correct then suddenly disappeared! No bulge anymore. Even returning to the initial settings, I would never see it again!

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @aceshigh said:

                                  What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

                                  I'm not sure if it's V-Rays default unit. Damien has claimed it uses the model units. He might be correct in one way, but wrong in another. Sketchup uses inches internally. Always. So if V-Ray uses the SU units, without taking into account the model display settings, that would explain why we have to enter units in inches in V-Ray.
                                  So technically, V-Ray uses the model units. But not from an end user's point of view.

                                  Thomas Thomassen — SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nomeradona
                                    last edited by

                                    @thomthom said:

                                    @aceshigh said:

                                    What? The default VRAY unit is an inch?? I thought VRAY was created by europeans.

                                    I'm not sure if it's V-Rays default unit. Damien has claimed it uses the model units. He might be correct in one way, but wrong in another. Sketchup uses inches internally. Always. So if V-Ray uses the SU units, without taking into account the model display settings, that would explain why we have to enter units in inches in V-Ray.
                                    So technically, V-Ray uses the model units. But not from an end user's point of view.

                                    i begin to believe that its actually inches. i began redoing and resized my map in inches 2 inchesx inches or 1 inch by 1 inch and its just fit with the scale. aslo after doing the displacement. they are more exact in inches (2.54 cm)even though my measurement that im using is cm and not inches.

                                    visit my blog: http://www.nomeradona.blogspot.com

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      Yea, in V-Ray you have to use inches.

                                      Thomas Thomassen — SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

                                      1 Reply Last reply Reply Quote 0
                                      • soloS Offline
                                        solo
                                        last edited by

                                        Okay new Vray glitch...

                                        I have a .skp model on one machine complete with materials and they are optimised for vray, however if I try open that model on another computer there are no materails in the vray material dialogue...am I missing something?

                                        http://www.solos-art.com

                                        If you see a toilet in your dreams do not use it.

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          Hm... I tried loading the same file twice on the same computer, and I saw no issues. I'll see if I can install the trial on my other computer and try to open on two separate machines.

                                          Thomas Thomassen — SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • soloS Offline
                                            solo
                                            last edited by

                                            Thank you very much, I would not bother but I have a model that took me ages to make before my computer died of a static shock, fortunately I had saved it to my server but now i't's useless as it has over 70 textures yet in Vray it only shows one.

                                            http://www.solos-art.com

                                            If you see a toilet in your dreams do not use it.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement