Repository navigation
Conversation
- Run typecheck, lint, test and build on PR and pushes to main/develop - Add lint:ci script without --fix so CI never rewrites sources - Ignore docs directory in ESLint config
- Add Picker class with click and hover detection via Raycaster - Support targets, recursive, filter, layers, near and far options - Coalesce hover raycasts through requestAnimationFrame - Skip raycasting entirely when no listener is registered - Use a click threshold to tell clicks apart from camera drags - Add onClick, onHover, pickFilter and pickRecursive props to Scene - Expose Picker plus PickEvent, PickEventType, PickCallback and PickerOptions from the public entry point - Add unit tests and English and Chinese documentation
- Add LightPillar group with TSL cone, top glow and ground pulse rings - Share one material per layer and drive per-mesh data via attributes - Auto-detect the renderer and pre-correct color on WebGPU - Dispose geometries, materials, the added listener and the rAF loop - Export LightPillar and LightPillarOptions from the public entry point - Add unit tests, dual-renderer demo and bilingual documentation - Drop the unused options argument from the Popup demo - Add a default export condition to package.json for CJS consumers
- Add WGS84/GCJ02/BD09 datum conversion, recentered Web Mercator and local tangent plane projections, and a GeoReference for geographic-to-local mapping - Add Scene origin/crs/datum/axes/geo props, plus object-form gridHelper options - Add GeoObject to anchor objects at geographic coordinates and GeoJsonLayer for GeoJSON geometries - Add TileLayer that streams XYZ raster tiles with quadtree selection, worker image decode and crossfade - Add tests, dual-renderer demos and bilingual documentation COMMIT_EXIT=
- Replace the #1a1a2e scene background with rgb(40, 42, 54) across all demo components, including the equivalent hex literal used by the Bloom demo onCreated handler - Update the matching code samples in the English and Chinese docs - Update the default demo background convention in AGENTS.md
- Add HeightFog screen-space height fog effect with WebGPU/WebGL - Add Fireworks particle effect with docs and demos - Add EN/ZH effect docs and sidebar entries - Fix Picking doc frontmatter delimiters - Normalize source formatting to match Prettier config
- Move pillars closer, enlarge, and darken them so they read as silhouettes against the fog layer - Consolidate the three disposal refs into one meshesRef - Sync English and Chinese doc snippets with the demo
- Port the 14 wave directional spectrum shared by the CPU sampler and the GPU displacement - Shade the surface with Fresnel reflectance, GGX sun glitter, foam, water depth colors and planar reflection/refraction - Capture reflections and refractions for the WebGL renderer while WebGPU uses reflector and viewport shared texture nodes - Tint the underside and ease the underwater transition from the sampled surface height - Add the demo, English/Chinese docs and unit tests
- Add HeightFog, Fireworks and Water to the English and Chinese README feature lists - Note that the gh CLI is unavailable so release pull requests are opened through the GitHub compare link
- Store LF in the repository and check out LF so prettier output no longer produces whole-file line ending diffs - Mark binary assets so they are never converted
Owner
Author
|
Superseded by a fresh 0.7.0 release PR from develop to main - this draft predates the 0.7.0 release prep and no longer describes the branch content. |
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
Unify the demo scene background from
#1a1a2etorgb(40, 42, 54)across every demo component and its documentation, and record the convention inAGENTS.mdso future demos do not drift back.What changed
docs/src/components/— the<Scene bgColor="...">value is nowrgb(40, 42, 54); the Bloom demo's equivalent hex literal0x1a1a2ebecamenew THREE.Color('rgb(40, 42, 54)').docs/guide/and 12 Chinese docs indocs/i18n/zh-CN/docusaurus-plugin-content-docs/current/— the matchingtsxsamples were updated so the rendered examples match the live demos.AGENTS.md— the default demo background convention now readsrgb(40, 42, 54).50 files changed, 76 insertions(+), 76 deletions(-). Every changed line is only the background color literal.
Why
The demos and their documentation had drifted onto a mix of the legacy
#1a1a2ehex and the newerrgb(40, 42, 54)value, so pages rendered visibly different backgrounds and copy-pasted samples could pick up the stale color. Pinning a single value — and documenting it inAGENTS.md— keeps every current and future demo consistent.Impact
groundColorfallback in theTileLayerdocs is intentionally left as#1a1a2e, because it documents the library's realDEFAULT_GROUND_COLORdefault rather than a demo background.Validation
#1a1a2eorrgb(40, 42, 54), with zero unrelated lines.eslint .passes (0 errors; one pre-existing warning insrc/components/Scene.tsx).