Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With the 3D views bridges and tunnels are rendered on the hight of the terrain, instead of the objects #20987

Open
DDzwiedziu opened this issue Oct 6, 2024 · 4 comments

Comments

@DDzwiedziu
Copy link

DDzwiedziu commented Oct 6, 2024

Description

In the 3D view roads on bridges and tunnels are rendered following the terrain shape, not their actual shape.

This is the Ponc Viaduc https://wikiless.northboot.xyz/wiki/Passerelle_(Luxembourg) and below is the view in OsmAnd

Steps to reproduce

Look at any bridge or tunnel.

Actual result

The object is drawn along the terrain curve.

Expected result

The object is shown at it's actual height.

Your Environment (required)

OsmAnd Version: 4.8.5
Android/iOS version: Android 14
Device model: Asus Zenphone 11/AI2401 H
Crash-Logs: not a crash
@scaidermern
Copy link
Contributor

The height above or below ground isn't known, so the only option would be to guess/estimate it.

@pebogufi
Copy link

pebogufi commented Oct 6, 2024

A good estimation would be the average of the values before and after the tunnel.

@DDzwiedziu
Copy link
Author

A good estimation would be the average of the values before and after the tunnel.

Or draw a line in 3D space between the entrance and exit and use that for approximation.

@yuriiurshuliak
Copy link

The issue has been successfully reproduced. To replicate it, go to coordinates 49.60561394289059, 6.133672699373974, load the Terrain map (3D), and tilt the map downward using two fingers.

As a result, in the 3D view, the bridge is incorrectly displayed at the terrain level instead of at the height of the bridge structure.

OsmAnd~ 4.9.0#3365m, released: 2024-10-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants