MapzenGo icon indicating copy to clipboard operation
MapzenGo copied to clipboard

it is not possible to travel around the world

Open felipemagrelo opened this issue 8 years ago • 5 comments

If you reach the South, North, West or East, the tiles stop... We need a way to smoothly change the coordinates without blink the existing tiles.

felipemagrelo avatar Sep 29 '16 01:09 felipemagrelo

Hmm I'm not sure if I get that.

"If you reach the South, North, West or East, the tiles stop..." you mean border edges of one tile or the whole world (mercator) ?

"We need a way to smoothly change the coordinates without blink the existing tiles." Blink? You mean the spikes while loading new tiles?

brnkhy avatar Sep 29 '16 13:09 brnkhy

Sorry for my bad English.

Yes, I mean the whole word (mercator), first I walked to the South, in the Antartica, and when I reach the limit the tiles just stop load. Then I walked to the West, and right after Hawaii, the tiles stoped too.

About the blink, I tried a fast solution moving the ThirdPerson to the other side of the world, but it was ugly, with a blink in the surrounding tiles.

felipemagrelo avatar Sep 29 '16 14:09 felipemagrelo

well that's how mercator works :) we can add wrapping though, shouldn't be hard at all.

I haven't tried moving too fast and admittedly it's not build to perform at that level either. If you're planning to move fast, you can use a hight range but that'll be quite costly as well. So yeah, we have some limits. It's get so much better if I can find some time to work on threading and mesh generation refactoring.

brnkhy avatar Sep 29 '16 17:09 brnkhy

I'm working on a solution now, if I can get some good results I advise you!

(but my programing skill are very limited, I'm just a curious designer, dot expect some beautiful optimized code)

felipemagrelo avatar Sep 29 '16 17:09 felipemagrelo

no worries man, have fun and if you want, I'll check&fix your code when you're done ;)

brnkhy avatar Oct 04 '16 20:10 brnkhy