google-3d-tiles-r3f
Google 3D Tiles with R3F and ENU Coordinates
When to Use This Skill
- Integrating Google Maps Photorealistic 3D Tiles or Google Earth 3D Tiles API into a web app
- Building a Three.js or React Three Fiber (R3F) scene that displays real-world 3D terrain/buildings
- Correcting 座標系 (coordinate systems): converting ECEF (Earth-Centered, Earth-Fixed) to ENU (East-North-Up) so the map is flat and Y-up for gameplay, camera, or audio
- Placing objects (camera, vehicles, audio sources) in the same coordinate system as the tiles
Quick Overview
- Tiles: Google 3D Tiles are served in ECEF. Use
3d-tiles-rendererwithTilesRenderer(R3F) andGoogleCloudAuthPlugin(API key). - R3F: Render tiles inside a
<Canvas>; wrapTilesRendererin a transformer group that applies an ECEF→ENU matrix so the scene is local and Y-up. - Consistency: Use a single origin (e.g. city center). Convert all lat/lng/alt to ENU with that origin so camera, physics, and tiles share the same 座標系.
Stack and Packages
- three + @react-three/fiber (R3F)
- 3d-tiles-renderer (provides
TilesRenderer,TilesPlugin,WGS84_ELLIPSOID,GoogleCloudAuthPlugin,GLTFExtensionsPlugin)
More from liuchiawei/agent-skills
next-intl-app-router
Configures and uses next-intl for Next.js App Router with locale-based routing. Use when adding or changing i18n, locale routing, translations, next-intl plugin, middleware/proxy, or message files in Next.js App Router projects.
199mediapipe-usage
Provides guidance for Google MediaPipe Pose Landmarker on web using @mediapipe/tasks-vision. Covers setup, landmark indices, running modes, and real-time video patterns. Use when working with MediaPipe, pose detection, body landmarks, or @mediapipe/tasks-vision.
23frontend-developer
Build React components, implement responsive layouts, and handle
17web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
14frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
14ui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
13