feat(samples): implement occlusion toggles, dual-polyline path following, and 4-approach camera animations - #56
Closed
LoyalAbbas wants to merge 8 commits into
Closed
Conversation
… Field of View, Path Following, and Advanced Camera Animation
…atting - Add showcase demos for Advanced Camera Animation, Path Following, Data Visualization, Roadmap Mode, and Field of View - Synchronize hardware frame loops to VSYNC and improve touch-fade UX - Format codebase using spotless to adhere to 4-space ktlint rules
… auto-fade, and literate docs (#54) * Enhance Advanced Camera Animation and Path Following samples - Advanced Camera Animation: - Add modular step animation pipeline (FlyToStep, OrbitStep, DwellStep, FlyAroundStep, KeyframeStep). - Add high-altitude San Francisco starting camera view. - Implement full reset and continuous orbit support. - Sync Java, Kotlin, and Jetpack Compose implementations. - Path Following: - Implement two-polyline progress tracking with wide blue base route (lower z-index) and narrow purple progress route (higher z-index). - Use in-place fixed polyline IDs to eliminate rendering flickering. - Default altitude mode to 'Clamp to Ground' with support for Relative to Ground, Relative to Mesh, and Absolute. - Add dynamic path height slider to avoid z-fighting with terrain. - Add collapsible control panel with explicit collapse/expand button, auto-slide dismissal, and subtle idle opacity. - Extract all hardcoded strings into strings.xml resources. - Align Java and Kotlin implementations. * feat(fieldofview,datavisualization): polish FOV and Data Visualization with collapsible cards and literate docs * feat(roadmapmode): polish Roadmap Mode with collapsible header and literate docs * feat(routes): polish Routes API sample with collapsible control panel, auto-fade, and literate docs * docs(samples): augment literate comments explaining 3D coordinates, extrusion, and smoothing * build: untrack and gitignore gradle-daemon-jvm.properties * docs: update copyright headers to 2026 for camera animation step classes * fix(samples): address PR review feedback on animation timing, tour resume, onPause, and TransitionManager collapse
…ayout hierarchy, and KTX color parsing (#55)
…vance camera animation
This was referenced Aug 27, 2026
Collaborator
|
Closing as superseded by PR #50, which merged all 0.2.2 showcase features, architecture refactorings, Jetpack Compose parity, and branded icons directly into main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Summary
This PR enhances the Path Following and Advanced Camera Animation sample features across Kotlin Views, Java Views, and Jetpack Compose with occlusion visualization toggles, dual-polyline rendering, dynamic altitude modes, 4 selectable camera animation approaches, and Compose parity.
🚀 Key Features & Improvements
1. 🛣️ Path Following (
PathFollowingActivity)drawsOccludedSegments):switch_draws_occluded_segments) in Kotlin, Java, and Compose allowing polylines to render through or behind 3D terrain and building geometry.#4285F4, 16dp,zIndex = 1).#9C27B0, 8dp,zIndex = 2) that extends in real-time as the route is traversed.path_following_static_route,path_following_progress_route) eliminate rendering flicker.PathFollowingActivity.ktwith dual-polyline rendering, 4 Altitude Modes selector (CLAMP_TO_GROUND,RELATIVE_TO_GROUND,RELATIVE_TO_MESH,ABSOLUTE), Path Height slider (0–10m), aligned SF Urban & CA Rural datasets, and collapsible UI with idle auto-fade.2. 🎬 Advanced Camera Animation (
AdvancedCameraAnimationActivity)rg_animation_approach) to showcase 4 distinct camera animation techniques in Kotlin and Java:flyTo: Native Maps 3D camera transition.control_panel_advanced_animation.xmlandstrings.xmlwith approach selector radio buttons, tour step cards, and status indicators.3. 🧪 Testing & Verification
PathFollowingVisualTest.ktinComposeDemosto match Kotlin and Java visual regression coverage with the Gemini API testing pipeline.