Repository navigation
Tags
Tags
Hosted sub-level rendering under Sodium (v0.3.1) With Sodium loaded, LevelRenderer's vanilla terrain path is dormant and Sable drives sub-level rendering from SodiumWorldRenderer, gathering from the camera level's own container - so hosted sub-levels (which live in the ipl_sable:sublevels container) were never culled, compiled, or drawn: every ship was invisible whenever Sodium was installed. Add IplHostedSubLevelRenderSodiumMixin, mirroring Sable 2.0.3's three Sodium hook points for the hosted + straddle-projection lists: culling at the markGraphDirty point (using IP's per-pass frustum accessor), section compiles at setupTerrain TAIL with Sodium's defer-mode-derived priority, and layer draws at drawChunkLayer TAIL including straddle clip-state wrapping and Veil layered render types. No dispatcher rerouting is needed on this path: Sable's reach-around dispatcher already rebinds its SectionRenderDispatcher to each sub-level's plot level, and the source-clip mixin targets VanillaChunkedSubLevelRenderData, which the reach-around backend reuses. Verified in-game with Sodium 0.8.12: hosted rendering, portal views, and straddle clipping all work. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rz6u3wLiaWE6EWR5ffRydh
README: update for the 0.3.0 release Per-scene physics architecture, clone bodies with position-based coupling, in-solver aperture contact clipping via bundled custom natives, world-frame router for Create actors, dimension-stack seam support, new version baseline (Sable 2.0.3 / Create Aeronautics 1.3.0), full kill-switch list, and natives build instructions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Dimension-stack seams: hook global portals into straddle/transit disc… …overy IP's dimension stack connects worlds with VerticalConnectingPortals held in GlobalPortalStorage -- never returned by entity queries, so both our discovery points were blind to them: the transit controller's getEntitiesOfClass scan and the client finder's entitiesForRendering loop. Everything downstream (crossing detector, pose map, terrain clone, transit executor) was already plane-generic. - SableTransitController: global portals join the nearby query when their rect-clamped nearest point reaches the inflated ship box. - SourceClipPortalFinder: globals join the candidate list -- this single function feeds dest-pass projections, collision offsets and isStraddling, so dual-render and straddle physics engage from there. - Both pickers now use getDistanceToNearestPointInPortal instead of origin distance: a global portal's origin sits at (0, seamY, 0) and would lose to any entity portal for ships away from the world axis. - Terrain clone: portal scale gated like rotation (a respectSpaceRatio stack's 1:8 seam would feed wrong-sized terrain; default stacks are scale-1 pure-vertical translations and get the full treatment), and the carrier-section lookup is clamped so source-frame voxels beyond the parent's build height still feed (floor/ceiling seams). - Client straddle offset: same scale gate. Verified in-game: ship descends through the overworld floor seam with clean parent flip, riders carried. Known gap (deferred to the ship-ship collider-clone design): no dest-terrain collision during the seam straddle -- the ship free-falls through; sub-floor source-frame voxels are dropped somewhere past the feed (native scene height bounds or neighbor re-reads are the remaining suspects). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
README: rewrite for the dim-agnostic v2 release Replaces the mirror-era description (kinematic mirrors, item-duplication warnings, riders-left-behind caveats -- all obsolete in v2) with the dimension-agnostic architecture: hosting dimension, parent-as-metadata, dual-pass straddle rendering, both-side physics, parent-flip transit, and the frame-mapped interaction stack. Current What Works / Known Limitations reflect the verified v2 state; points to REFACTOR_SPEC s20 for internals. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>