-
Notifications
You must be signed in to change notification settings - Fork 91
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
Multiple TextureAtlas per SymbolBucket #301
Comments
Some issue in latest texture atlas pull request code? |
No, not at my code. Is deeper. I will check the buckets and the gl texture binding. |
The problem is Android and Mac desktop. On Windows I have no problems. |
We need a test sample anyway in order to check what actually happens, have not seen any texture problems so far (besides those in issues list). If it involves changes in VTM core we should probably proceed on VTM 0.7.0 release as with SVG themes less users actually use a texture atlas. |
My Testcase: Put into Playground, start, zoom in, and move map! Texture will change with move! On Windows I have the Problem not evry map move, but somtime! |
👍 |
Yes I will upload it with a PR! |
👍 |
Too early. I'll stay! |
You mean with each tap? That would not be good for memory / performance. I've not debugged further, but is it indeed the problem with the >1 created texture atlases? |
No not at every touch event! Only if I click on a symbol and then with item.setMarker () a Symbol exchange! But that only makes problems if the old marker is not in the same atlas as the new marker! |
ONLY with more then one TextureAtlas! |
Fixed via #303. |
I found a bug while drawing with a TextureAtlas.
If an Atlas has several Textures, the correct Texture is not always selected when drawing. The region is drawn correctly, but from a false texture.
Or otherwise described, when a symbol is drawn, the correct region is drawn, but from the wrong Texture.
So here the Texture binding does not seem to work properly.
I will try to find the bug. I have written a test and am looking.
The text was updated successfully, but these errors were encountered: