
Creating Variation in Texture Copies (Snippet)
This post follows a theme that I explored in several other of my script examples as well: Copied objects in SketchUp don't appear overly realistic if they represent natural items; their geometry is simply too perfect. This is true for landscape items (trees, shrubs) but also for things like wooden boards (see left side in the image above): On a collection of real boards, the knots would be distributed somewhat randomly, not as shown here.
Turns out, we can fix this easily with a few lines of code. Just select textured objects, run the code snippet below, and your textures are randomized enough to look realistic (as can be seen in the right side of the image above).
Want to use this without coding? This script is also in one of the tools of my Random Tools extension.
Drag the slider to see the result of this code
Let's Explore the Code, Step by Step
The following steps reference the code snippet shown below. Select...