-
Notifications
You must be signed in to change notification settings - Fork 383
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
Hillshading #922
Hillshading #922
Conversation
…ared between files)
…s in terms of image blending modes than AWT (colors can be mangled freely with a colormatrix, but blending will use the alpha from before the mangling)
… the wrong assumption that ways are pushed into PolyLineContainers more often than they are read)
…values corresponding to the mapping required by the Android implementation)
Conflicts: mapsforge-map-android/src/main/java/org/mapsforge/map/android/graphics/AndroidCanvas.java mapsforge-map-android/src/main/java/org/mapsforge/map/android/graphics/AndroidGraphicFactory.java
…t improves alignment and enables filtered upscaling on android, unfinished renderscript alternative not removed yet (includes a nice workaround to enable rendersript kernels on rbg565)
alignment and unfiltered upscaling on android are fixed with latest commit (by switching from matrix-contolled scaling to src-rect/dest-rect controlled scaling), sorry for being a moving target |
Thanks! I'd like to parse the PR for some improvements like code formatting, methods order and rebase / squash in a new branch to be able to continue there. |
I expect work on todo.3 (better hgt to shading) to be pretty much self-contained in a new implementation of o.mf.m.layer.hills.ShadingAlgorithm so it will smoothly merge with any changes you make to the stuff in the current PR. I'll just do it in a new branch so that I can keep the merging effort with your changes to the current PR on my side. |
I'll merge this PR and any improvements in a new BTW you can use GitHub markdown task lists in your first comment to indicate the completed tasks. |
Rebased, squashed and merged in hillshading branch via f66021f, with minor improvements via 16be706. Can you post any future PR work on that branch? |
Since regular Mapsforge API can continue as usual and for broader user visibility.. I included the hillshading rules in new renderTheme-v6 XML schema definition. |
Open todos: