Topic: Altitude issue and input smoothness

Hello,


I'm using Online Maps as the core of my project and i'm facing some issues :


First:
The altitude looks a bit buggy. At start it works fine, but after a single aggressive zoom-out then zoom-in, everything gets messed up. ( See attached screen )

I'm currently working with the following location :
Lat : 49.2905693054199
Long : 2.74574303627014

There's a farm there. And whenever we zoom out, then zoom in with the bing elevation enabled the resulting bug occurs.

I've tried it elsewhere, for eg, in the mountain, and it looks like it works just fine there. But not on the zone i need to exploit in my app.
Any clue on what's happening ?


Second :
The drag is sketchy whenever i increase the resolution of the map. ( Pixels size )
Currently set to 8192 and it really feels like there's steps working back there. It doesn't feel good to move around with small movements. It feels good with a 1024 size.


Third :
We use both a orthographic view and a 3D view. The controls are fine in 2D, though sketchy, as said before. In 3D however, with the altitude enabled, it feels really bad. When the altitude delta is large enough, there's a lot of tileset teleportation going on while dragging.


Fourth :
The zoom looks like it doesn't update the altitude at the same time as the zoom is going on. This leads to a visible and unclean update of the map height a few frames after the zoom.

The smooth zoom doesn't work on desktop, does it? Plus the current smooth zoom should probably update the tile at some point as we can see the end of the tile otherwise. sad


These issues have been verified with version 2.5.2.1.


Thanks for your support and keep up the good work.

Alexandre.

Re: Altitude issue and input smoothness

Hello.

1. Your post does not contain a screenshot.
It would be nice to see it to know what the bug we are looking for.

2. I checked 8192x8192 + Use Elevation - ON. I have ~ 20-30 fps.
This is a very high settings, and of course it will be quite slow.
A little trick: deselect a map GameObject, and you get a huge performance boost. Unity spends a lot of time to redraw inspector (in this case with 1024+ materials).

3. Try to use «Collider Type - Simple Mesh». This should help.

4a. This is because the elevations loaded for the full map view.
We plan in Online Maps v2.6 rework elevations, to make it load for the tiles.
This will solve the problem.

4b. Smooth zoom designed for mobile devices and should not be work on other platforms.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Altitude issue and input smoothness

Hello

Alex Vertax wrote:

1. Your post does not contain a screenshot.
It would be nice to see it to know what the bug we are looking for.

uups, here it is, my bad.

Alex Vertax wrote:

2. I checked 8192x8192 + Use Elevation - ON. I have ~ 20-30 fps.
This is a very high settings, and of course it will be quite slow.
A little trick: deselect a map GameObject, and you get a huge performance boost. Unity spends a lot of time to redraw inspector (in this case with 1024+ materials).

I'm using size (in scene )8192. Pixels size is 2048. Working fine on my computer and on my android phone.
Can you reproduce the stutter in the drag movement ? Would you recommand using a 2048 world size ?

Alex Vertax wrote:

3. Try to use «Collider Type - Simple Mesh». This should help.

Doesn't quite fix the problem. Mostly visible on high elevation. When dragging form a lower location to a higher one with an important camera pitch.
I'll attach something here tomorrow about this issue. ( Gif or video )


Alex Vertax wrote:

4b. Smooth zoom designed for mobile devices and should not be work on other platforms.

Alright. What about this part of the question :

alexp wrote:

Plus the current smooth zoom should probably update the tile at some point as we can see the end of the tile otherwise. sad

Thanks for your support.

Alexandre

Post's attachments

Attachment icon Altitude_bug.png 87.56 kb, 243 downloads since 2017-02-12 

Re: Altitude issue and input smoothness

Hello.

Thanks for the screenshot.
I was able to reproduce it, and we will try to fix it in the next version.

alexp wrote:

I'm using size (in scene )8192. Pixels size is 2048. Working fine on my computer and on my android phone.
Can you reproduce the stutter in the drag movement ? Would you recommand using a 2048 world size ?

I tested your settings, but unfortunately, I can not reproduce the stutter.

alexp wrote:

Doesn't quite fix the problem. Mostly visible on high elevation. When dragging form a lower location to a higher one with an important camera pitch.
I'll attach something here tomorrow about this issue. ( Gif or video )

I think I know what you mean.
But I have no idea how to fix it.
If you have any suggestions, we can discuss it.
You can try to use «Collider - Box» or «Collider - Flat Box».

alexp wrote:

Alright. What about this part of the question :
Plus the current smooth zoom should probably update the tile at some point as we can see the end of the tile otherwise. sad

Unfortunately, I'm not sure I understand this correctly.
You want something like this?
http://forum.infinity-code.com/viewtopi … 1442#p1442
If not, please rephrase it.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.