Skip to main content
Inspiring
April 5, 2024
Question

Preventing Bitmap from Tiling/Stretching with Tile Sampler Color

  • April 5, 2024
  • 1 reply
  • 621 views

I have three tileable, seamless bitmaps that I want to use in a “Tile Sampler Color” node to create vertical siding.  I chose the “Tile Sampler Color” node so that I could iterate between each bitmap image to create a random pattern.  The problem I’m running into is that the bitmaps get scaled or stretched.  I have tried using “Absolute” under “Size Mode” and I end up with only one of the bitmaps showing.  There has got to be an easy way to randomly assign my bitmap images to these planks.  I can’t believe something so simple has to be so complicated in Substance Designer.  I would use Substance Sampler; however, I am not happy with the latest version, and I don’t have enough control over what I want to do.    I could also use a Flood Fill to move things around, but I think it would be much easier using “Tile Sampler” if it's capable of this taske  What am I missing here?  Thanks in advance.

This topic has been closed for replies.

1 reply

Luca Giarrizzo
Community Manager
Community Manager
April 5, 2024

Hello,

 

Indeed, using your tilable as direct inputs of a Tile Sampler for mapping planks will result in stretching, as the entire texture will be mapped to each individual plank.

 

Instead, a common technique for mapping wood tilables to planks is to create a plank grid with a different grayscale value for each plank, then use that to drive a Directional Warp on the wood tilable.

 

Then you can combine your tilable with blend nodes, by using a similar grayscale plank distribution for selecting planks. You can use Threshold or Histogram Select for creating masks. I have attached a sample project with this graph:

 

  

I hope this is helpful! Let me know if that does not address your request.

 

Best regards.

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe
kmwhittAuthor
Inspiring
April 5, 2024

Thank you, Luca.  I am aware of using directional warp but it doesn't give me the ability to rotate the bitmaps 180°, nor can I offset the position among  many of the other things available within tile sampler.  It would be nice if Substance created a simple node that accomplished all of this.  I guess that is what Sampler is for.  This function just seems so basic.

 

Is there a way using to randomly rotate in 180° increments?