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

    Texture positioning randomization? (realistic textures)

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    17 Posts 9 Posters 7.4k Views 9 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.
    • A Offline
      agamemnus
      last edited by

      How is it done?

      I downloaded IRender nXt, and rendered some logs. The texture is still awful. I'd like to be able to randomize the starting coordinates of the textures on each log to create realistic textures. How are realistic textures typically done?

      Thanks for all future replies.. 😃


      example.png

      1 Reply Last reply Reply Quote 0
      • E Offline
        ericschimel
        last edited by

        This sounds like a job for the ruby scripters! I would love to see something like this... I would be able to use this all the time. I just wish I had the time to learn ruby!

        -Eric
        http://plugin.sketchthis.net
        Sketchup Kitchen Design Plugin
        Custom Models

        1 Reply Last reply Reply Quote 0
        • brodieB Offline
          brodie
          last edited by

          You'd think that would work but it doesn't work as well as you'd think. Photoshop has a filter call Pattern Maker that you can download which does this. I've tried it several times but the result never comes out well. It basically looks like a crappy texture that's been randomized. The only way I know of to improve a texture is to make the sample size of the texture as large as possible and make sure it tiles well. There are other tricks that can be done with rendering programs but otherwise I think that's about it.

          -Brodie

          steelblue http://www.steelbluellc.com

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

            I requested this several times to the Sketchup developers - but like mostly - no reaction, I don't know if/how they think about it. I think this would not need a completely new and complex feature, rather a modification of what we already have.

            For repeated objects, we use components. But in fact, we mostly want it for repeated geometry, not for repeated textures. For example we use components for the bars of a garden fence because the geometry of all bars should be the same - but the wood grain would look strange if it's always the same.

            The current state: You can apply texture directly on faces and control the texture positioning with right click. Or you apply a texture on a component/group and have no (not much) influence on it. The default texture positioning is used which refers to the component's origin point. That is why all components have the same texture positioning.

            The idea: default texture positioning of components/groups should refer to the model origin (like it is usual in free, ungrouped geometry). This way we can move copies of our bar and the wood grain would always be a bit different.

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

              Actually I guess I'm asking for two things here.

              The first is making textures look nice on a single log. Repeated textures are boring and often ugly.

              The second is randomizing texture positioning per instance, or making them look good/unique in some way when they're grouped.

              I'm not asking to limit the options to just Sketchup.. just basically any 3d program that can read 3ds or Sketchup files, though obviously Sketchup addons or the like would be best.

              I am not sure what techniques the "awesome rendered images" we see everywhere use, but surely it's not just the default texture system in Sketchup.

              I know several methods that could help but wouldn't know how to easily do it in Sketchup (or any other program):

              1. Randomized texture start position per component...(an on/off tick, or maybe a "select groups of objects">"randomize texture start position"?)

              2. Texture tiling. For a wood texture for instance, I'd specify four textures and the renderer would use a random seed to determine which texture to put when tiling. (one random texture per texture-tile) The textures would of course be designed to allow continuity regardless of how they were arranged. I see this method in newer games a lot.

              3. Texture doodads.. either semi-randomly or algorithmically determined locations for wood doodads placed on top of the texture. (like wood imperfections or rings).

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

                I appreaciate that more people would like this.

                1. / 3. You were very very close, but maybe a bit too complex approach.

                The secret how renderers do it is "layered materials" and "procedurals". Procedurals are mathematical algorithms for patterns that look for example like clouds, rocks, tiles, giraffe fur etc. Layered materials contain several textures or procedurals that are mixed with masks. Imagine you have two different grass textures. You blend one over the other using a procedural mask which never repeats.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  Ecuadorian
                  last edited by

                  Hi, check this out:
                  http://forums.sketchucation.com/viewtopic.php?f=18&t=23163&start=0&st=0&sk=t&sd=a
                  Here's the final result, straight SketchUp output. Go to the thread for the full info.

                  http://www.forums.sketchucation.com/download/file.php?id=36006&t=1

                  -Miguel Lescano
                  Subscribe to my house plans YouTube channel! (30K+ subs)

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    remus
                    last edited by

                    If youve got a suitably large texture i think youd get quite a good 'random' look by rotating each log about its axis, so a different bit of texture is showing on each log.

                    you could even use a DC, so it automatically rotates itself when you make a copy.

                    http://remusrendering.wordpress.com/

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

                      If finding suitable large texture is difficult, one option is to use procedural textures. Many renderers can use a procedural wood, that picks colours from a texture sample and generate a wood texture. That usually is good enough if you wont do a close up render.

                      Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

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

                        Aerilius -> I would have considered procedural texture generation more complex than doodads or multiple textures, though. 😉

                        Ecuadorian's link gives a good tutorial on how to semi-randomize rotation and sizes of the logs, as well as gives a good place for a full log texture.

                        However.. could anyone recommend a free or trial version of a rendering program that does do procedural wood textures?

                        1 Reply Last reply Reply Quote 0
                        • GaieusG Offline
                          Gaieus
                          last edited by

                          Kerkythea is free and can do procedural textures. It's just up to you how effectively you can create them.

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            davesec
                            last edited by

                            off topic, but in ecuadorian's picture, how do you get that sky & grass and background?

                            1 Reply Last reply Reply Quote 0
                            • E Offline
                              Ecuadorian
                              last edited by

                              The grass is in the Vegetation folder of SketchUp's materials, with a slightly changed color.

                              The sky is a picture inserted as a background type watermark in the style.
                              [flash=640,505:h2secodx]http://www.youtube.com/v/ey0sKd5I700&fs=1[/flash:h2secodx]

                              I highly recommend watching all the basic SketchUp tutorials. It shouldn't take more than a day, and will save you months of frustration.
                              http://sketchup.google.com/training/videos.html

                              -Miguel Lescano
                              Subscribe to my house plans YouTube channel! (30K+ subs)

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                davesec
                                last edited by

                                thanks very much!

                                i checked out the tutorial and learned the watermark thing - i'm going through sketchup's youtube channel right now and you're right, there's a ton of good info in there

                                getting back to the picture you posted of the logs, i haven't seen anything so far on making the grass/land an image? watermarks only seem to work for the 'sky' portion of the screen for me. am i missing something?

                                1 Reply Last reply Reply Quote 0
                                • E Offline
                                  Ecuadorian
                                  last edited by

                                  Could you give an example?

                                  -Miguel Lescano
                                  Subscribe to my house plans YouTube channel! (30K+ subs)

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    davesec
                                    last edited by

                                    yeah, of course!

                                    okay, so in that picture of the logs you posted, you have a nice sky, and the logs themselves are on some grass with some trees in the far background.

                                    it's the grass/trees effect i'm trying to figure out!

                                    when i go to watermarks in styles, it only lets me place the sky. i'm not sure how to get the grass/trees. do you just draw a giant square on the ground and fill it with grass?

                                    hopefully this makes a little more sense. i'm still going through the tutorials (slowly, since i'm at work) and haven't stumbled across this yet.

                                    thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      Ecuadorian
                                      last edited by

                                      @davesec said:

                                      do you just draw a giant square on the ground and fill it with grass?

                                      Yes, that's what I did. And the trees are simply part of the background photograph.

                                      -Miguel Lescano
                                      Subscribe to my house plans YouTube channel! (30K+ subs)

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

                                      Advertisement