Repository navigation
WorldWind Kotlin v2.0.6 #165
EMaksymenko
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
WorldWind Kotlin 2.0.6
This release rebuilds the real-time visibility stack: cascaded sun shadows and sightline analysis are rewritten on depth-texture pipelines with PCF filtering — moment shadow maps are gone from the engine — with hardware depth-compare samplers on capable GPUs, off-screen shadow casters, alpha-cutout shadows, and hemispheric ambient shading. Alongside: a 3D Tiles texture-upload throttle, a batch of iOS stability fixes, and MVT vector layer-ordering and offline-cache fixes.
🌑 Shadow pipeline rewritten as depth-texture CSM
ShadowLayer.debugShadowModeadds cascade-band / footprint / map-depth debug views.ShadowLayer.offscreenCasterCascades(default 2, 0 disables).🔭 Sightline rewritten on a depth cube
DirectionalSightlineandOmnidirectionalSightlinemerge intoRealtimeSightline(breaking) — the cube always covers the full sphere, so direction is just a receiver-side mask:fieldOfViewnow spans (0°, 360°], where 360° is the former omnidirectional and the old 90° limit is gone. Named against its static-analysis peerViewshedSightline.📐 Viewshed fixes
⚡ Hardware depth-compare receivers
sampler2DShadow/samplerCubeShadowwhere the platform supports them: nine hardware 2×2-PCF taps replace the 16-fetch software cascade filter, and each cube tent tap becomes one hardware compare. GLSL ES 1.00 in-shader compares remain the WebGL1 fallback, and Adreno GPUs stay on the software path (hardware compare is driver-unpredictable there). Also fixes the depth-read quantization artifacts (zebra stripes/circles) on Mac "Designed for iPad" builds.💡 Shading
🚀 Performance
glTexImage2D), producing 20–150 ms GL-thread stalls. Uploads now drain in per-frame batches capped by measured upload throughput, targeting a 3 ms bind slice.🍏 iOS fixes
SynchronizedPoolwas a plain unsynchronized pool despite the name; tile-decode workers and the render thread share the engine's pools, so concurrent access could corrupt them or hand the same instance to two consumers. Now locked, mirroring the JVM/Android contract.../dot segments — servers 403 raw dot segments sent verbatim by the Darwin HTTP stack, which spun tile fetching in an endless cancel/re-auth loop.🗺 Vector layers & MVT
VectorLayer.sector(mirroringElevationCoverage.sector) gates tile assembly; bulk downloads union the region into it, it persists as the GeoPackage content bbox, and reopening a cache restores it.User-AgentOSM's tile policy requires._linkramps, OMTpath/trackclasses,rock/wetlandlandcover, OpenTopoMap cream background, and no more debug-gray fill on unmapped layers.🐞 Fixes
textureSetDefinitions, or the legacy per-node href) instead of a hardcoded0.jpg— fixes white untextured meshes on Metashape-produced packages.📚 Tutorials
.3tz/.3dtiles) tutorial now runs on Android too, sharing one implementation with JVM.📦 Dependency updates
Full changelog:
v2.0.5...v2.0.6This discussion was created from the release WorldWind Kotlin v2.0.6.
All reactions