Legend
June 20, 2023
Answered
Fill Empty Tile Shapes
- June 20, 2023
- 1 reply
- 1653 views
I'm just not able to get the result you got using the Tile Generator node; therefore I've attached a scene to look at as to what I'm doing wrong ?
Hi
A few changes are needed to your graph, in terms of node settings and connections.
To make the tiles fit over each other, keep them in multiples e.g. I've made the bottom sampler 12 x 12 , the second 6 x 12, the third 6 x 6.
Turn global offset, and mask random off in the tile samplers.
I've made the tile generator 12 x 12 to match the bottom sampler, made the pattern square , and set scale to 1 so there are no gaps.
The histogram scan nodes need to be set to position 1 and contrast 1 - the idea being to get a pure white version of the tiles to use as a mask. The edge detect needs to be inverted, the line width widened slightly, and then the following blend node set to add so that it adds that edge to the masked tile shapes.
The connection to the main blend modes should be the mask (from histogram scan + edge detect) into the opacity input and the tile sampler outputs into the foreground and background.
I've made those changes and attached a revised version of your graph below. You can control the amount of rectangular tiles and large square tiles by adjusting the Mask map thresholds in the relevant tile sampler nodes.
I hope that helps you.
Dave
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.