Skip to content

Distorted textures for draped imagery near antimeridian #12769

@javagl

Description

@javagl

The first bullet point of the list of follow-ups for draping imagery on 3D Tiles is that wrong texture coordinates are computed at the antimeridian. This is particularly noticable for global tilesets, like Google Photorealistic 3D Tiles in this example:

https://sandcastle.cesium.com/index.html#c=bVTbattAEP2VRU8OhFXaUFJcJ21wigk42OC0eRGYlTSWhuxF7I6kqKX/3l1JbpTGftsz58zlzMiZ0Y5Yg9CCZddMQ8uW4LBW/GePzZIo699Lo0mgBptE5+x3ohkjVCA9MmcHIR2cB0xoVILQ6CnoMtDwYHLYYvYMdhpKhYO16MC+DxVgMq/x2NjQvdGrAdta06APPXYV8NVms1p/HyTSpJN2/px9SfQwGu974O65uyVlXFWC9a/StH5msjV4YqKz3gtCCQ7IB0QrkI7VMwuCYGVMIWFbGjL+LdERZpd3j4Nk1tsSx2yjZceoBDbQ2di2ZZnQLAVWO8hZaCHwjSf/cKiLJ6RyEKz+jR56OzlJZVEhYQOOizyfjU2fTeZolduaqpb9Ot6u9gnSB1GFrndgG8zgXokCbHf0dRiktnLOkqgkqtw8jgtMHQdhqcwFCa6FE7wwTdwqcjFUrrj8/OkqTsFRD/GswK/+VkImGTYccq22T/vXpvZ3oB1St/94cXExUh11EgI1h4OoJY1wmO9BkMWXHdD9XZ+rt8rP4ZZGVT5hKmG/hgbk1ShS4gVVrXpszq567GCsP9CgxzBzXOliZPsF5+gjE5+WPTR79aBt21MWJNHZcUmD9zj4OVz2ZAmhzvGaJxR+sEYdzb91nc5mb7YXEo8b5tPUw+5PFwua6Dxa9IbehMLh9w1VZSyF3c44jwlU5eng4rT23x/xzLkgDNRFPJUucmwY5tcn/g5YJoVzPnKopdzhL0iim0Xs+e+k0ojcH/qmAetPItDKDzfrAeScL2L/PK0kY2Qq7H+Z/wI

Some reasons that contribute to this have already been identified (and some are already fixed in a local branch). But solving this issue generically involves digging through code parts that had to be... "extracted"... from the legacy terrain imagery draping, without completely reverse engineering these parts. Whether or not these parts have to be removed, replaced, or modified is not yet clear. Further details may be added here later.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions