• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Random tip: A stack of logs without obvious repetition

Scheduled Pinned Locked Moved SketchUp Tutorials
sketchup
33 Posts 10 Posters 8.8k Views
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.
  • E Offline
    Ecuadorian
    last edited by Ecuadorian 30 Oct 2009, 00:54

    In response to this thread , here is a "Random Tip": πŸ˜‰

    1. Grab a log texture from the Wood > tree bark > deciduous page of cgtextures.com and a log end texture from anywhere else.

    2. If needed, make the bark seamless in a photo editor by simply duplicating the base layer, offsetting it 50% in horizontal and erasing the seam with a soft brush.

    3. In SketchUp, use Whaat's UVtools "cylindrical map" after applying the bark to the cylinder.
      01.jpg

    4. After creating the array of logs, random select a few ones and flip them along their blue axes. After that, use Chris Fullmer's random scale and rotate script with scale min 0.9 max 1.0 and rotate min 0 max 360 or any other high value. Make sure to do this around the component centers, not the axes. Flip/rotate a few logs manually if needed.
      02.jpg

    5. Drop the logs in an adequate container with SketchyPhysics to randomly stack the logs. Just define the SP shapes of the logs as cylinders before rotating them, set the SP shape of the container as "static mesh" and hit the play button. When you're satisfied, hit the pause button and Save the SketchUp file as a copy.
      03.jpg
      04.jpg

    That's it!
    random-logs2.jpg

    If you liked this tip, please visit my sponsor's 3D catalog .

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

    1 Reply Last reply Reply Quote 0
    • X Offline
      xrok1
      last edited by 30 Oct 2009, 00:58

      now do the ends! 🀣

      β€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

      http://www.Twilightrender.com try it!

      1 Reply Last reply Reply Quote 0
      • P Offline
        pilou
        last edited by 30 Oct 2009, 01:01

        Similar use of Sketchyphysics for another case πŸ˜‰ (scroll the page)

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • P Offline
          pav_3j
          last edited by 30 Oct 2009, 01:10

          that's a really cool plugin!

          xrok 1 is correct about the ends, but that is a simple fix, set up a few different end patters, select the faces, use chris fullmer's random painter tool, and then replace the colours with materials.

          pav

          Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jeff hammond
            last edited by 30 Oct 2009, 01:40

            ha, nice! πŸ‘

            dotdotdot

            1 Reply Last reply Reply Quote 0
            • A Offline
              agamemnus
              last edited by 30 Oct 2009, 02:24

              Hmm, that looks like a plan, but I'm lost at step 3. How do I even apply the texture to the cylinder so that it is positioned and sized correctly? (the texture I found on my log was already positioned well on the original...) I used (or tried to use) the texture "BarkDecidious0061_1_M[1].JPG".

              Each cylinder has a length of 6m and a radius of .25m. I also beveled the edges by a small amount....

              1 Reply Last reply Reply Quote 0
              • E Offline
                Ecuadorian
                last edited by 30 Oct 2009, 03:29

                -Create a new material and load the bark texture
                -Apply the material to the side of your cylinder
                -Right click > UVtools > Cylindrical map.

                All links I placed in the first post lead to the necessary plug-ins. Whaat's UVtools is one of them. I haven't tried it with beveled edges.

                UPDATE: A couple more textures and some more "random select > make unique > reload component" iterations later, it starts to look good. This is straight SketchUp output. If you're still having trouble with this, just give us a call. πŸ˜›


                I took the background photo years ago. You might notice my camera being reflected in the glass of the car.


                SketchUp 6.0

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

                1 Reply Last reply Reply Quote 0
                • A Offline
                  agamemnus
                  last edited by 30 Oct 2009, 03:54

                  Well...

                  πŸ˜•


                  problem.jpg

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ecuadorian
                    last edited by 30 Oct 2009, 04:01

                    Just build and arrange the logs while they are in a vertical position, as I did in the tutorial. 😎
                    Rotate them only after having assigned cylindrical SketchyPhysics shapes to all of them.

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

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      agamemnus
                      last edited by 30 Oct 2009, 05:10

                      Wow, I just saw your last update. Beautiful. πŸ˜„

                      I set the cylinder to horizontal and it works now. β˜€

                      BUT... new problem, pictured below. The textures on the bevel just don't align as they did before when it was just a cylinder with a top. I might forgo on the bevel, though; dunno.


                      problem.jpg

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Ecuadorian
                        last edited by 30 Oct 2009, 05:15

                        • View Menu > Mark "Hidden geometry".

                        • Right click on the face you have on top and mark the option Texture > Projected if it isn't marked already

                        • Press B to activate the paint bucket and pick the projected texture with Alt+Click

                        • Paint the problematic faces

                        Then again, I would go with a smaller bevel. 😎

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

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          Ecuadorian
                          last edited by 30 Oct 2009, 05:52

                          logs.jpg
                          😲 Man, you're throwing them from a very high altitude! Check my first post again, they were nicely arranged before being dropped just a few centimeters.

                          For added control over how they stack, you might want to build the other wall. I just left the front side without a wall for illustrative purposes. 😎

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

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            agamemnus
                            last edited by 30 Oct 2009, 06:07

                            OK, one more. How on earth did you manage to get the logs to line up so nicely? I get a mess.


                            logs.skp

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              agamemnus
                              last edited by 30 Oct 2009, 06:08

                              @ecuadorian said:

                              [attachment=0:22ga54tc]<!-- ia0 -->logs.jpg<!-- ia0 -->[/attachment:22ga54tc]
                              😲 Man, you're throwing them from a very high altitude! Check my first post again, they were nicely arranged before being dropped just a few centimeters.

                              Hehe, I'm slow sometimes. I'll try that. πŸ˜† Did you manually copy/re-position each log in that first batch (before throwing 'em), or did you use a tool to do that?

                              @unknownuser said:

                              For added control over how they stack, you might want to build the other wall. I just left the front side without a wall for illustrative purposes. 😎

                              OK.

                              Thanks for the tip on the texture projection too. Works great for the top textures, but for the side log textures it looks mismatched (tried texture projection on both a log side and using the top log-- still looks a little mismatched. I just filled the bevel whole thing with the top (log end) texture, and it looks OK...

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                Ecuadorian
                                last edited by 30 Oct 2009, 06:37

                                I "arrayed" the logs while they were in a vertical position. SketchUp has the ability to create arrays without any additional tools:
                                [flash=640,505:2z4ntaeg]http://www.youtube.com/v/Yk6ok7S8goA&fs=1[/flash:2z4ntaeg]

                                Let's say you want to array logs in a triangle with 10 logs on each side.

                                • First, copy a log a distance equal to its diameter. Since you need 9 copies for a total of 11, type 9X and hit the Enter key before doing anything else.

                                • Now place a construction line at 60ΒΊ with the protractor tool . Remember, equilateral triangles have 60ΒΊ on each angle. It doesn't matter where you place the line as long as it forms a 60ΒΊ angle with the line of logs.
                                  array02.jpg

                                • Select the first line of logs, select the move tool, and copy them along the construction line, again a distance equal to the log diameter, and type 9x afterwards.
                                  array03.jpg

                                • Rotate your view so you can do a rectangular selection of the unwanted logs...
                                  array04.jpg
                                  ...and delete them. C'est fini.
                                  array05.jpg

                                I highly recommend watching all the official SketchUp videos. They have lots of tricks. 😎
                                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
                                • F Offline
                                  Fletch
                                  last edited by 31 Oct 2009, 14:40

                                  @ecuadorian said:

                                  ...This is straight SketchUp output...

                                  how did you know I needed this EXACT model right now?! πŸ˜„ πŸ˜† thanks for sharing!

                                  Fletch
                                  Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    Ecuadorian
                                    last edited by 31 Oct 2009, 15:33

                                    Ok, I wanted to add more randomness but I lost interest, I'll let you figure that part out. Here's the file, feel free to play with it and contributing your "random tips".
                                    SketchUp 6.0
                                    EDIT: Scroll down for finished model.

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

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      agamemnus
                                      last edited by 31 Oct 2009, 20:02

                                      I'm don't think you saw my edit, Ecuadorian, so I'll ask again -- did you manually copy/re-position each log in that first batch (before throwing 'em gently), or did you use a tool to do that? If so, what tool? I'm having some trouble even doing it manually because of the reference points -- the logs try to position themselves somewhere else... easier with top-down and parallel projection view though. (when copying)

                                      1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Ecuadorian
                                        last edited by 31 Oct 2009, 20:14

                                        πŸ˜• ...
                                        I have just described the exact process for copying them in an array, and in the first page I gave the instructions to randomly rotate and scale them. You have to do all this while the logs are in a vertical position, before positioning them for SketchyPhysics.

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

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          agamemnus
                                          last edited by 31 Oct 2009, 20:31

                                          @ecuadorian said:

                                          :? ...
                                          I have just described the exact process for copying them in an array, and in the first page I gave the instructions to randomly rotate and scale them. You have to do all this while the logs are in a vertical position, before positioning them for SketchyPhysics.

                                          I didn't see your last post. 😠

                                          Edit: I see. Your original model looked a little more randomly positioned. I guess all the different sizes make it look that way.

                                          I manually made a few logs (30 or so), but they are jumping up outwards in the first frame (even though they are close to each other) so they end up all displaced towards the end. I'll try an equally-positioned set and see what happens.

                                          Edit 2: Yes, jumping out again. Some falling through the catching mesh. Not sure what to do. Maybe not enough polys per log?

                                          Edit 3: Used the same log model as yours (increased the size a bit), but still jumping.

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

                                          Advertisement