一键导入
playcanvas-googlemaps-3dtiles
Streaming, rendering, and decoding Google Maps Photorealistic 3D Tiles in PlayCanvas
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Streaming, rendering, and decoding Google Maps Photorealistic 3D Tiles in PlayCanvas
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Three.js Polygon Streaming .xrg integration and debugging playbook for @polygon-streaming/web-player-threejs, including correct wrapper events, asset publishing, model fitting, and fallback replacement policy
Bundle entry for the exported VIVERSE PlayCanvas Toolkit workflow pack. Use when you want bundled VIVERSE PlayCanvas Toolkit skills, prompts, catalogs, and helper assets in one standalone package.
Collision detection patterns for Three.js games without physics engines
Protect third-party API keys by moving secret-bearing calls into VIVERSE Play Lambda scripts and keeping only non-secret user data in VIVERSE Storage.
Build or fix CPU racing drivers for Three.js or VIVERSE racing games. Use for waypoint loops, tile-to-route reconstruction, lap completion, recovery logic, and low-overhead debug workflows.
VIVERSE Login SDK integration for user authentication and SSO
| name | playcanvas-googlemaps-3dtiles |
| description | Streaming, rendering, and decoding Google Maps Photorealistic 3D Tiles in PlayCanvas |
| prerequisites | ["PlayCanvas engine","3d-tiles-renderer","Google Maps API Key"] |
| tags | ["playcanvas","google-maps","3d-tiles","draco","gltf"] |
Reliable Google Photorealistic 3D Tiles streaming in PlayCanvas using 3d-tiles-renderer.
Use this when a project needs to:
.drc/KHR_draco_mesh_compression) geometry from Google's servers.3d-tiles-renderer, threeroot.json using key-authenticated request.TilesRenderer with root URL.import { TilesRenderer } from "3d-tiles-renderer";
import { GLTFExtensionsPlugin } from "3d-tiles-renderer/plugins";
import { DRACOLoader } from "three/examples/jsm/loaders/DRACOLoader.js";
const draco = new DRACOLoader();
draco.setDecoderPath("https://www.gstatic.com/draco/versioned/decoders/1.5.6/");
const rootResp = await fetch(`https://tile.googleapis.com/v1/3dtiles/root.json?key=${apiKey}`);
const tiles = new TilesRenderer(rootResp.url);
tiles.registerPlugin({ preprocessURL: (u) => patchedUrl(u, apiKey, sessionToken) });
tiles.registerPlugin(new GLTFExtensionsPlugin({ dracoLoader: draco }));
3d-tiles-renderer, direct preprocessURL assignment may be ignored; use plugin registration.