Diffusion generative models have set the state of the art in image synthesis,
but they are typically trained on small crops and produce images of comparable
size. Many practical applications instead require very large, periodic images:
seamless textures for graphics, 360° panoramas, or planet-scale maps.
Existing approaches struggle with seam artefacts at tile boundaries and a lack
of global consistency, such as overly long uniform regions or
unrealistic class proportions.
We address this with a two-stage pipeline. First, simple
generative models — Wave Function Collapse, Markov Random Fields,
autoregressive models and neural cellular automata — produce a
low-resolution semantic map that combines local pattern statistics with
global class proportions. Second, a latent diffusion model in the spirit of
DiffInfinite synthesises a high-resolution image from the map using
overlapping patch updates, with periodic indexing adapted to toroidal,
cylindrical and spherical geometries.
As the main practical case study we tackle tree-log bark:
a log is cylindrical along its circumference, yet in practice only part of
its surface can be photographed at high resolution. From a limited set of
field-captured and segmented bark images we learn a model that generates
seamless toroidal and cylindrical textures with controllable distributions
of bark, knots and mechanical damage.