34
Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University of Constance Oliver Deussen University of Constance

Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Embed Size (px)

Citation preview

Page 1: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Image and Texture Generation

Michael Cohen Microsoft Research

Jonathan Shade University of Washington and WildTangent

Stefan Hiller University of Constance

Oliver Deussen University of Constance

Page 2: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

• Rules – Tilings are assembled by matching like edges– Tiles cannot be rotated

• In 1961 Wang asserted that no aperiodic set of tiles exists, i.e., a set that– COULD tile the plane– could NOT tile it periodically

• He was wrong, but still got to keep his name on them

• Aperiodic sets can be used to – Simulate Turing machines– Act as life forms in science fiction (“Wang’s

Carpets” by Greg Egan)

Page 3: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles – not new to CG

• Jos Stam– Showed the use of aperiodic tile sets for

texture assembly

Page 4: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles – not new to CG

• Jos Stam– Showed the use of aperiodic tile sets for

texture assembly

• Neyret and Cani– Used triangular tiles with coded edges to

assure continuous texture

Page 5: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

Mirrored Wang Tiles

Page 6: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

Page 7: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

• We introduce non-periodic tilings– set can trivially tile the plane periodically– simple stochastic algorithm → non-periodic

aperiodic non-periodic

Page 8: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

• 2 colors = 8 tiles

• 3 colors = 18 tiles• C colors ?

Wang Tiles

2 x C2

Page 9: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Why Wang Tiles?

• Once you fill a set of Wang Tiles with stuff

• You can create as much of that stuff as you want for almost free.

Free stuff!Free stuff!Demo

Page 10: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 11: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 12: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 13: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 14: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 15: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Demo

Page 16: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Texture Synthesis

Page 17: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles: the corner problem

?

Page 18: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles: the corner problem

Page 19: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles: the corner problem

A better solution? Lefebvre and Neyret, I3D 2003

Page 20: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Poisson Disc Distributions

Wang Tiles for Distributions

Page 21: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 22: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 23: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 24: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 25: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 26: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 27: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 28: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 29: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles for Distributions

Page 30: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

3D Wang Tiles

• Volumetric tiles filled with 3D “texture”

• In this example, 2.5D

• Layered Depth Image samples

Page 31: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

3D Wang Tiles

• Hierarchical

• View Dependent

Page 32: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

3D Wang Tiles

Page 33: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

• Simple stochastic assembly: non-periodic

• Texture synthesis

• Distribution synthesis

• The corner problem

• Some 3D applications

Free stuff!Free stuff!

Page 34: Wang Tiles for Image and Texture Generation Michael Cohen Microsoft Research Jonathan Shade University of Washington and WildTangent Stefan Hiller University

Wang Tiles

T H A N KY O U

Don Mitchell

Alex Colburn

Reviewers