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

glTF projection and positioning issues #1381

Open
xfischer opened this issue May 30, 2020 · 0 comments
Open

glTF projection and positioning issues #1381

xfischer opened this issue May 30, 2020 · 0 comments

Comments

@xfischer
Copy link

xfischer commented May 30, 2020

Hi! I'm loading a glTF model (San Francisco OSM buildings extruded, in 3857 projection (Web Mercator)

I'm struggling to find the correct way to get things georeferenced right.

Actual Result

Model needs to be scale to a weird 0.79 factor to get well positioned.
Here is what it looks like with a 1 scale
image

Expected Result

Scale should be 1 as base layer is a 3857 map from MapBox, or native 4326 coordinates (lat/lon) should be supported.

Reproduce Steps

Editor URL : https://codesandbox.io/s/gltf-nebulagl-vo7mi?fontsize=14&hidenavigation=1&theme=dark
Model bbox : Xmin: -13626844.045070592, Xmax: -13626364.313725019, Ymin: 4552046.34776861, Ymax: 4552229.3712238865, Center: -13626604.179397807, 4552137.859496249

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

1 participant