Repository navigation
Conversation
…nate grazing-ray aliases
…ruction cache and authoring
…ed road and rail cache
…dependent Sun cache shaders
…ered multi-octave cellular morphology
…on and determinism
…dates and guarded switch reservations
…y tests in docs tree
…ty limitations in viewport
…in visual parity spec
…ned turnout previews
…ge split with Studio RPC and UI
…Pipeline tests Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Phacelle GPU params move to indices 60-64 (54-59 now baked tectonics, rivers and geology); Phacelle is mixed into ComputeSourceRevision and runs before the impact/ice block; sandbox app removed upstream; GPU field parity test now runs Phacelle in every baked/river mode. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and-only, ground-anchored) Replaces the uniform half-cell march with dense log-spaced steps capped at the peak-to-peak horizon distance, skips open water, and starts the ray from the coarse field's own ground so pixels below the smoothed surface do not self-shadow. CPU reference and HLSL updated together; new coast/sea and self-shadow tests; GPU parity covers the water branch. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…o not hold old daylight Cells store the luminance of the sky summary they were baked with; direct lighting divides it out and applies the current sky luminance. Un-refreshed cells after a day/night or cloud change no longer show the previous sky. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ght does not linger When the sun drops below the camera's horizon (with hysteresis) the radiance cache zeroes every resident cell's L1 while keeping cells valid and scheduled, so the geometry-only sky channel still works and un-refreshed blocks no longer show daylight bounce. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… valid cell Direct lighting returns a found flag from the sky-cache lookup and falls back to half the current sky irradiance weighted by surface openness (70% open fraction) instead of no ambient, so un-filled chunks and areas outside every cache level are lit immediately. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ect lighting Every clipmap level now carries a per-sample sky visibility + lean channel in one buffer with the level's own toroidal addressing. GpuTerrainAmbient marches 16 horizon azimuths over the level's elevation grid (coarse to fine, merging the coarser level's horizon) whenever the level's samples change; the renderer publishes the buffer plus a per-frame level table; direct lighting looks up the finest covering level (after the 3D cache's fine levels, before a flat analytic fallback) and scales by the current sky. Adds bypass_terrain_ambient (RPC, MCP, both UI panels), a real-GPU test of the compute pass and lookup, and the docs block /rendering/terrain/clipmaps/ambient. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ls count as missing Cells estimated while the sky summary was zero (start-up, night) were valid but black, hiding the clipmap ambient, and the 3D cache's uniform-hemisphere sky visibility reads about half as bright as the cosine-weighted clipmap channel on open terrain, so filling cells painted dark/bright chunks. Order is now clipmap ambient, then cache cell, then flat analytic fallback. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…, Plugins) actually show EditorUi keeps a single pending-focus slot, so the last panel focused wins. Switching workspaces focused the main panel before Properties, leaving the centre dock on Project Browser: the Planning tab looked closed. Focus Properties first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…band list A workspace tab click removes the mode toolbar band from inside the band draw loop. Erasing from the vector being iterated left the next band with an empty callback and Studio exited with std::bad_function_call. Iterate a copy; the edit takes effect next frame. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…re tabs - engine/web_view: WebView2 host (loader loaded at run time, SDK fetched at configure time) and a pure, tested page bridge (window.orbit.rpc onto the same dispatcher as MCP). - studio_ui HtmlPanelsUi + html.panel_* RPC and orbit_html_panel_* MCP tools; ChangeKind::WebAsset reloads a panel when a file under a web/ folder is saved. - Architecture panel in the Planning workspace with four tabs: Start here (plain-language tour), Residency (CPU / bridge / GPU and every hand-off), Timeline (cadence, one frame, event cascade) and Map. - Lighting inventory docs and graph.json the panel reads. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Single-file prototype used to develop the cloud and ambient lighting before it goes into Orbit: sun-aligned and vertical optical-depth clipmaps, baked diffuse sky light, column map, time-sliced volume builder, temporal cloud resolve, opt-in amortised (reprojected) clouds, and debug views for the cloud pass, its parts and the amortised carry. Findings the port should keep: - measure the camera's altitude on the curved planet, as the march does - solve layer entry and exit on the curved planet - never end haze or shaft rays at the layer base plane Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The grain and stripes in thin cloud came from the march itself. A stride through empty air that lands in cloud now bisects back to the real surface instead of treating the landing point as the surface. Also: - amortised resolve keeps a per-texel sample count and averages 1/N when still; history is replaced only when it falls outside the fresh range, and the depth tests no longer fire on sample noise - thin-cloud sampling slider (step growth, lighting shortcut thresholds) - debug views: amortised sample count, parts of the final image, raw cloud pass, slab missed Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A per-view GPU cache of per-column cloud facts (vertical optical depth, lowest base, highest top, coverage, albedo, asymmetry, type, precipitation) on three rings around the camera: 500 m near, 4 km regional, 256 x 128 global. A compute pass fills it lazily from the same CloudField product the ray marches read; a settled map skips its dispatch bit-identically. - CloudColumnMap module with a CPU reference (ComputeCloudColumn) - tests/CloudColumnMapTests: GPU vs CPU parity over the global ring and a sample of the near ring, skip bit-identity, field/camera/re-anchor phases - per-view flag cloud_column_map (default off): layer options, RPC, MCP, Studio checkboxes; its own graph pass, independent of System A and B - clouds.column_map_status RPC + MCP tool, Debug > Lighting sanity entry - docs block /rendering/clouds/column-map Nothing reads the map yet (P2 and P3). Not exercised in a live cloudy view. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… coast), and blend physical pages at the coast The baked stream-power incision delta (tens of metres) was added to land only, with no fade, so the ground stepped up by the whole delta where it crossed the sea level: a vertical wall along every shore. AnalyticTerrainSource::Sample and the GPU field generator now scale it by Smooth(height above sea / 60 m); the shore keeps its unmodified height and the relief builds up inland. The physical page composite also keeps the generated elevation and depth within a few metres of the sea level, because a page is a coarser evaluation and disagreed with the generated terrain by metres exactly at the coast (rectangles of water over land, strips of bed colour, steps in the shallows). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ort, TAA and atmosphere work (one combined commit) Several workstreams that were developed in the same tree and share files, committed together. Water and coast - Volumetric near-field ocean: two passes over the clipmap water (a Multiply pass tints the lit bed by per-channel column transmittance, an Additive pass adds marched in-scatter, crest subsurface scattering, Fresnel sky reflection, glint and foam); wind-stretched ripples. New rhi::BlendMode::Multiply. Studio Properties > Ocean & Surface sliders, RPC view.terrain_layers_set ocean_* and MCP params, docs. - Flat-per-triangle sea surface, shoreline colour by height above the sea, foam from the bed depth step, land biome neighbour replacement, steep-slope shading normal from a wider stencil, a 5 x 5 bed blur near the sea level (not applied to the water pass). - Stored lake/river depth is trusted only on level ground (bed slope < 0.05), all-or-nothing per triangle: hydrology rain sheeting down a slope drew as a field of blue tiles. Clouds - System B port of the cloud lab (column map, ambient probes, lab march/density/lighting/shadow/volumes, shafts, amortised march, adaptive resolution), cloud ray-trace debug tooling; the legacy cloud renderer and far field are removed. Anti-aliasing and atmosphere - TAA fixes (camera right = forward x up), half-resolution atmosphere march, studio/debug-center plumbing and docs. Not included: the meridian example project data and the untracked lighting-inventory overhaul plan. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…re sim), plus the near-field sea fixes from the report points - Ocean sim module: spectrum waves, foam, caustics and a shallow-water window along the shore, wired into the water passes (RPC/MCP and Studio options). - Moving: bed levels' centre offsets are lattice-frame positions, so the eye's position in the level frame comes off them (the sea flooded the coast and went flat once you moved). - Phantom foam shore: the sim placed the eye in its plane with a chord that carried altitude into the plane, and the window wrap used a negative-operand `%` that the shader compiler turned into an unsigned remainder (cells west/south of a positive window origin were 256 cells off, a false coast away from the sim's start). The eye now maps by arc along the sea sphere with the anchor's axes carried along the geodesic, the sim re-anchors beyond 20 km, and every wrap uses a positive operand. - Lakes and rivers keep the noise ripples (the sim's waves and shore blend only over the sea), the dry-corner fill is capped so steep banks don't spike. - Sea reflection at grazing angles is taken toward its own luminance so the sea fades into the horizon haze instead of printing a saturated band under it. - Docs: ocean card and water-volume card updated with the invariants and how to diagnose them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Scope
AnalyticTerrainSourceand matching VulkanGpuFieldGeneratorcompute path.strength = 0by default); only the sandbox uses0.85 / 1.0 / 4 octaves / 2500m fadefor visual testing.Known limitations / merge gates
Do not merge before validation.