-
-
Notifications
You must be signed in to change notification settings - Fork 767
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
Incorrect custom layer render methods argument args.defaultProjectionData.mainMatrix
value using globe projection with high zoom level
#5117
Comments
When using the main branch and looking at the |
Hi! Thank you for your response! So I just did a quick check on latest Here are some videos.
Screen.Recording.2024-11-27.at.15.54.44.mov
Screen.Recording.2024-11-27.at.15.58.24.movWhen you looked at |
I'm not a three.js expert, so I'm guessing you'll need to dig into it and understand what doesn't work correctly... |
Maybe I am wrong (I didn't go very deep to the source code) but let me share two more examples.
So I feel like it is not directly related to three.js but rather with value passed via |
What you detailed above is exactly the implementation details. |
I think I've managed to fix this, it is a bug in |
|
Can't we use the |
We can add any single function or API to |
I think it will be better not to showcase an example that uses an "intenal" API, it's true that people might need it, but I would like to avoid "promoting" it. |
maplibre-gl-js version: 5.0.0-pre.7
browser: Chrome Version 131.0.6778.86 (Official Build) (x86_64) (MacOS, Intel)
Steps to Trigger Behavior
test/examples/globe-3d-model.html
Link to Demonstration
https://jsbin.com/bedahot/edit?html,output
Expected Behavior
3D model should be visible on all zoom levels.
Actual Behavior
3D model disappear on zoom level 12 (when projection is changed to mercator).
Screen.Recording.2024-11-25.at.15.25.01.mov
I was able to make it work using:
The text was updated successfully, but these errors were encountered: