Repository navigation
v0.4.1
What's Changed
- sgl-2d: splitter drag no longer panics on inverted or NaN bounds by @stevepryde in #352
- sgl-post-fx: an SSR ray that runs out of lookups reports a miss by @stevepryde in #355
- sgl-3d: keep a resize's history reset requested after render by @stevepryde in #357
- sgl-core: animation ticks always return by @stevepryde in #359
- sgl-core: StateHasher promises distinct digests within one schema by @stevepryde in #362
- sgl-2d: refuse empty or mis-sized textures instead of panicking by @stevepryde in #361
- sgl-net: accept IPv6-literal WebSocket origins by @stevepryde in #353
- sgl-net: connect the native WebSocket client to IPv6-literal URLs by @stevepryde in #356
- sgl-net: threaded UDP disconnect delivers accepted messages before closing by @stevepryde in #360
- workspace: record clippy lint exemptions; sgl-input takes the clippy lints by @stevepryde in #354
- scripts/tasks.ts: check for the wasm-bindgen CLI before check runs by @stevepryde in #358
- sgl-core: derive_stream_seed absorbs components without cancelling by @stevepryde in #364
- sgl-2d: DrawList::sort uses a total order so NaN z cannot panic by @stevepryde in #371
- CHANGELOG: restore the truncated DrawList::sort bullet by @stevepryde in #384
- sgl-post-fx: clip SSR rays towards the camera at the near plane by @stevepryde in #366
- sgl-3d: refuse glTF accessors the gltf readers cannot read by @stevepryde in #367
- sgl-3d: auto exposure lands on its target after a long frame by @stevepryde in #369
- Packaging: include lists keep examples, tests and unused vendor files out of published crates by @stevepryde in #378
- sgl-2d: password clear keeps the preallocated secret buffer by @stevepryde in #374
- sgl-net: describe the WebSocket latest-state ordering it actually gives by @stevepryde in #375
- direct-game: keep one texture cache for the white and a second texture by @stevepryde in #381
- sgl-3d: refuse glTF node hierarchies that are not trees by @stevepryde in #370
- sgl-post-fx: roughness-0 SSR rays take the mirror direction; finite resolve weights by @stevepryde in #372
- sgl-core: a one-element ping-pong sequence plays its element once by @stevepryde in #380
- sgl-core: a zero-time sequence pass counts playback positions, not steps by @stevepryde in #373
- sgl-core: an embedded body cannot move deeper; reject bad collision lengths by @stevepryde in #383
- sgl-net: finish a native WebSocket graceful close only once it has flushed by @stevepryde in #365
- sgl-net: cancel a browser reconnect scheduled before a local disconnect by @stevepryde in #376
- sgl-3d: dynamic GI refunds a refused ray reservation by @stevepryde in #379
- sgl-2d: scroll areas intersect and restore the enclosing clip by @stevepryde in #382
- sgl-2d: a clipped dropdown blocks only its visible options by @stevepryde in #388
- Docs: make spec and README references match the code by @stevepryde in #386
- sgl-net: require a browser latest-state watermark that fits the largest state by @stevepryde in #389
- sgl-3d: refuse a glTF mesh whose primitives differ in morph-target count by @stevepryde in #387
- sgl-2d: Overlay takes WorldUnits so world gizmos are not shrunk by @stevepryde in #397
- sgl-core: ping-pong turns on the first and last frame steps by @stevepryde in #393
- sgl-core: bound the ColliderSet broadphase for huge boxes by @stevepryde in #398
- sgl-net: reconnect the browser client after a receive failure by @stevepryde in #390
- sgl-3d: a Velvet SSR ray that runs out of steps reports a miss by @stevepryde in #396
- sgl-post-fx: half-resolution SSR misses where its traced pixel is background by @stevepryde in #385
- sgl-input: report macOS input queued before an unplug ahead of its disconnect by @stevepryde in #399
- sgl-net: UDP retransmissions back off and only timeout_ms closes a peer by @stevepryde in #368
- sgl-net: a stopped UDP server still answers clients it already accepted by @stevepryde in #377
- sgl-3d: SMAA runs on tone-mapped display colour by @stevepryde in #392
- sgl-post-fx: TAA's closest-motion search clamps neighbours to the screen by @stevepryde in #395
- sgl-3d: cap probe_collection's bucket bit walk with a named constant (AR-12) by @stevepryde in #413
- sgl-2d: Aseprite frames outside the sheet are an error by @stevepryde in #404
- sgl-2d: a removed open dropdown closes and releases keyboard capture by @stevepryde in #403
- sgl-3d: an ignored glTF occlusion map constrains neither attributes nor sampling by @stevepryde in #401
- sgl-2d: Aseprite pingpong_reverse tags play in reverse ping-pong by @stevepryde in #407
- sgl-3d: reflection depth history is linearised with its own near plane by @stevepryde in #415
- sgl-2d: a scaled-down target keeps the window's UI layout by @stevepryde in #406
- sgl-post-fx: half-resolution SSR keeps every target at least one texel by @stevepryde in #414
- sgl-input: ignore repeated Gilrs Connected; drop unmatched releases by @stevepryde in #405
- sgl-2d: reuse least recently used glyph pages; bound ring widths by @stevepryde in #416
- sgl-2d: shadows of long edges near a light cover its footprint by @stevepryde in #417
- sgl-post-fx: linearise the reprojected depth with the previous projection by @stevepryde in #400
- sgl-3d: draw candidate buffers stop growing at the storage binding limit by @stevepryde in #408
- sgl-post-fx: the blue-noise draw cycles its frame index so its vertices fit by @stevepryde in #411
- sgl-3d: the shader contract describes the tangent a vertex without one gets by @stevepryde in #418
- sgl-2d: give an oversized glyph its own page instead of panicking by @stevepryde in #419
- sgl-3d: a game shader may not declare a WGSL built-in's name by @stevepryde in #420
- sgl-3d: the tone map encodes sRGB for an output that stores what is written by @stevepryde in #412
- sgl-3d: refuse shader loops whose test or step reads a hoisted counter by @stevepryde in #421
- sgl-net: a failed UDP receive skips its datagram instead of ending the poll by @stevepryde in #391
- sgl-net: a UDP client confirms the first challenge it receives by @stevepryde in #394
- sgl-3d: local shadows redraw shader-driven casters as their inputs change by @stevepryde in #402
- sgl-3d: a diffuse-only light lights a coated base whole by @stevepryde in #410
- sgl-net: a connection the caller disconnects reports Disconnected { Local } once by @stevepryde in #422
- sgl-2d: a negative or non-finite text size draws nothing instead of panicking by @stevepryde in #470
- sgl-core: Grid2::filled returns GridError::TooLarge instead of panicking by @stevepryde in #475
- sgl-2d: a negative or NaN circle radius emits nothing by @stevepryde in #477
- sgl-net: a native WebSocket client tries every resolved address by @stevepryde in #478
- sgl-3d: the glTF loader decodes only the images a sampled map uses by @stevepryde in #483
- scripts: the mutants task fails instead of reporting a previous run's results by @stevepryde in #481
- sgl-2d: text lays out the same whatever sizes drew before by @stevepryde in #480
- sgl-net: a native WebSocket client's handshake_timeout bounds host resolution by @stevepryde in #484
- scripts: generated notices check out with LF line endings by @stevepryde in #486
- tests: every GPU test treats SGL_REQUIRE_GPU=0 or empty as not required by @stevepryde in #489
- sgl-2d: the sprite instance buffer stops growing at the device's buffer limit by @stevepryde in #490
- sgl-net: a browser reconnect whose WebSocket constructor throws reports Disconnected by @stevepryde in #493
- sgl-3d: a glTF node with a tiny uniform scale loads instead of being refused as singular by @stevepryde in #492
- sgl-2d: clamping a target to the device's maximum dimension keeps its aspect by @stevepryde in #494
- sgl-3d: a material extension object may carry its own extensions by @stevepryde in #498
- sgl-3d: add_materials and set_material refuse out-of-range core material values by @stevepryde in #501
- sgl-2d: an open dropdown scrolled out of view closes and releases keyboard capture by @stevepryde in #503
- sgl-3d: a confident receiver in the roughness fade traces a world ray by @stevepryde in #506
- sgl-net: a threaded UDP server delivers a closed peer's last messages before its end by @stevepryde in #504
- sgl-3d: each world ray traces a pixel of its own block inside the screen by @stevepryde in #508
- sgl-net: an interrupted UDP handshake completes after its cookie expires by @stevepryde in #510
- sgl-post-fx: toggling HALF_PRECISION_DEPTH at one size recreates the depths by @stevepryde in #511
- sgl-3d: the traced-shadow history alternates its halves across the frame count's wrap by @stevepryde in #514
- sgl-3d: an EXT_materials_bump factor defaults to 1 and may exceed 1 by @stevepryde in #485
- sgl-2d: a glyph page past the requested texture limit is never rasterized by @stevepryde in #487
- sgl-3d: reflection history fallback floors its base texel at the top-left edge by @stevepryde in #512
- sgl-net: a UDP server drops a departed client's replayed confirm after many joins by @stevepryde in #513
- sgl-3d: heat distortion displaces by scene pixels under FSR2 by @stevepryde in #515
- sgl-core: a body exactly touching a collider contacts it at t = 0 by @stevepryde in #471
- sgl-net: the native WebSocket client refuses wss:// instead of connecting in plaintext by @stevepryde in #472
- sgl-3d: add_shader refuses a break-if loop whose first step wraps its counter by @stevepryde in #473
- sgl-3d: the fog's froxel volume stays square and within the 3D texture limit by @stevepryde in #474
- sgl-3d: add_shader refuses a built-in's name hidden by a WGSL line break or blankspace by @stevepryde in #476
- sgl: workspace dependencies require caret ranges, not exact versions by @stevepryde in #479
- sgl-3d: probe captures draw local-light shadows at the capture's time by @stevepryde in #482
- sgl-net: a native WebSocket peer that drops TCP or breaks framing is reported as Peer or ProtocolViolation by @stevepryde in #488
- sgl-3d: an orthographic camera with its near plane behind the eye keeps its clustered lights and directional shadow by @stevepryde in #491
- sgl-3d: dynamic GI depth moments hold at any probe spacing by @stevepryde in #495
- sgl-net: a 0 ms first round trip seeds the UDP retransmission timeout by @stevepryde in #496
- sgl-2d: a one-frame Aseprite Hash export loads as frame 0 by @stevepryde in #497
- sgl-2d: one wheel tick scrolls only the innermost hovered scroll area by @stevepryde in #499
- sgl-net: an unpolled memory peer drops its oldest unreliable messages instead of refusing the sender by @stevepryde in #500
- sgl-3d: the Godot SSR trace treats off-screen depth neighbours as missing by @stevepryde in #502
- sgl-2d: a one-frame click on a numeric field keeps its typing focus by @stevepryde in #505
- sgl-2d: a number field applies drag movement from the release frame by @stevepryde in #507
- sgl-post-fx: an infinite colour texel leaves TAA and SSR output finite by @stevepryde in #509
- sgl-2d: the scrolled-out dropdown test waits a frame for the end-of-frame wheel by @stevepryde in #517
- sgl-3d: additive glow adds its light through the fog without adding the fog's in-scatter again by @stevepryde in #516
- sgl-core: Rng::usize gives the same values on native and wasm32 by @stevepryde in #543
- sgl-2d: a dropdown blocks input underneath from the frame its popover first draws by @stevepryde in #544
- sgl-3d: a large light behind the camera takes the largest shadow slot instead of overflowing by @stevepryde in #545
- sgl-post-fx: the first TAA frame loads its colour as the resolve does by @stevepryde in #546
- sgl-net: MemoryServerIo::send reports a disconnected connection as UnknownConnection by @stevepryde in #549
- sgl-net: a late or mismatched ConnectDeny no longer tears down a UDP client by @stevepryde in #553
- sgl-3d: glTF keyframe times at one instant fail import by @stevepryde in #552
- sgl-2d: a scroll area clips content short of its scrollbar so a thumb press never presses a row by @stevepryde in #555
- sgl-input: a press of a button already held is reported once by @stevepryde in #557
- sgl-2d: a release and press in one frame keep the drag the press armed by @stevepryde in #550
- sgl-input: replacing a live Gamepads keeps macOS background events on by @stevepryde in #560
- sgl-3d: the deform stage aligns its dispatch records to the device's uniform offset alignment by @stevepryde in #556
- sgl-3d: a tiny probe box far from the render origin builds its probe grid instead of overflowing the cell count by @stevepryde in #551
- sgl-2d: fetch_runtime_bundle fetches assets relative to the manifest's directory by @stevepryde in #561
- sgl-3d: a vanished tangent on an anisotropic material shades a finite colour by @stevepryde in #547
- sgl-3d: the decal atlas computes texel counts and indices in usize by @stevepryde in #563
- sgl-post-fx: SSR rays past the far plane keep a finite length and their direction by @stevepryde in #554
- sgl-3d: a clearcoat and a sphere light keep a point light its base normal faces away from by @stevepryde in #559
- sgl-3d: a glTF accessor of a huge count fails import instead of aborting by @stevepryde in #548
- sgl-3d: record bump-map strength as per pixel in raster and per metre at ray hits (D-45) by @stevepryde in #566
- sgl-3d: frame counters wrap, and Velvet and world reflections alternate their history halves across the wrap by @stevepryde in #564
- sgl-3d: glTF import lists unread vertex attributes and drops tangents along the normal instead of failing by @stevepryde in #562
- sgl-3d: geometry::obstructed_distance hits small triangles by @stevepryde in #567
- sgl-post-fx: SSR takes the current frame after a history reset and keeps 0.95 of history by default by @stevepryde in #558
- sgl-post-fx: SSR pixels outside the reflection mask hold no radiance history by @stevepryde in #565
- sgl-input: dropping a macOS Gamepads clears only the callbacks it still holds by @stevepryde in #579
- sgl-2d: upload_normal replaces a diffuse's normal map under a different handle and refuses a call before the diffuse's upload by @stevepryde in #593
- sgl-3d: a nonfinite or negative auto-exposure speed takes the default by @stevepryde in #598
- sgl-post-fx: SSR traces a non-unit normal as a miss and caps the traversal and most_detailed_mip at the hierarchy's top mip by @stevepryde in #602
- sgl-3d: a baked probe box wider than about 7e12 m stays in the probe grid by @stevepryde in #599
- sgl-3d: surface_map_frame's comment states why a back face reverses its derivative tangent and bitangent by @stevepryde in #594
- sgl-3d: a tangent within 0.02° of its normal spans no frame in glTF import and procedural vertices by @stevepryde in #595
- sgl-post-fx: a TAA resize resets accumulation by @stevepryde in #604
- sgl-3d: a joint scaled to zero on an axis gives its skinned vertices finite normals by @stevepryde in #597
- sgl-net: WebSocket delivers the messages received before a protocol violation by @stevepryde in #596
- sgl-3d: a history reset in a frame without fog or ray-traced shadows ends their history by @stevepryde in #600
- sgl-3d: every DynamicGiQuality tier's ray slots hold a probe's full fixed-ray turn, asserted at compile time by @stevepryde in #603
- sgl-2d: closing a dropdown frees the widgets under its popover on the next frame by @stevepryde in #601
- sgl-net: a native WebSocket peer matches its ping's pong on arrival, so an unsolicited pong cannot stop its pinging by @stevepryde in #608
- sgl-3d: a deforming mesh above 4,194,240 vertices deforms through a 2-D dispatch by @stevepryde in #609
- sgl-3d: an orthographic camera shades every surface along its backward axis by @stevepryde in #607
- sgl-3d: a decal atlas too large to build is refused with DeviceLimit by @stevepryde in #605
- sgl-net: a UDP client answers a deny with a disconnect, freeing a server slot it was admitted to by @stevepryde in #610
- sgl-3d: a mesh with a non-finite UV or lightmap UV is refused with NonFiniteGeometry by @stevepryde in #611
- sgl-3d: a glTF morph target leaves a tangent along its normal undisplaced by @stevepryde in #606
- sgl-2d: read_scene and capture_scene are native-only, as is sgl-3d diagnostics::read by @stevepryde in #612
- sgl-3d: a glTF scene that would produce more than the load's byte limit, or lists a root twice or a child as a root, fails the load by @stevepryde in #613
- sgl-3d: a coatless surface takes its base normal as its coat normal; the G-buffer keeps the geometry normal for the shadow trace by @stevepryde in #580
- sgl-3d: glTF import of many morph-weight channels on a mesh of many primitives is no longer quadratic by @stevepryde in #619
- sgl-3d: box projection samples toward a huge proxy's hit instead of a zero direction by @stevepryde in #620
- sgl-net: a UDP endpoint sends a deny's answer and a violation's disconnect three times, as every disconnect by @stevepryde in #618
- sgl-3d: the README states a probe collection's 256-probe limit by @stevepryde in #623
- sgl-post-fx: SSR traversal addresses each depth-hierarchy mip by its own texel count by @stevepryde in #621
- sgl-2d: name the fixed shadow filter loop cap by @stevepryde in #661
- sgl-core: keep collision skin backoff on the swept path by @stevepryde in #662
- sgl-2d: block overlay controls behind popovers and modals by @stevepryde in #663
- sgl-net: budget graceful close retries independently by @stevepryde in #664
- sgl-3d: reject invalid scene shading inputs by @stevepryde in #665
- sgl-3d: blend shadows into the dark grading transition by @stevepryde in #666
- sgl-post-fx: sample the containing half-resolution ray block by @stevepryde in #667
- sgl-core: document the inclusive random pause range by @stevepryde in #668
- sgl-net: deliver latest state beside busy WebSocket lanes by @stevepryde in #669
- sgl-2d: cap shadow geometry at the device buffer limit by @stevepryde in #670
- sgl-3d: finish shadow capture before fallible readback by @stevepryde in #671
- sgl-3d: confine glTF URIs and bound source reads by @stevepryde in #672
- sgl-net: keep graceful UDP closes alive by @stevepryde in #684
- sgl-3d: import deep glTF hierarchies iteratively by @stevepryde in #673
- sgl-3d: reject invalid glTF sparse accessor indices by @stevepryde in #674
- sgl-core: ignore nonpositive animation time by @stevepryde in #675
- sgl-core: reject overflowing collision up directions by @stevepryde in #683
- sgl-2d: keep large widget lists below popovers and modals by @stevepryde in #682
- sgl-net: disable Nagle on native WebSocket sockets by @stevepryde in #685
- sgl-3d: wrap negative hue rotations by @stevepryde in #676
- sgl-3d: verify the original SMAA color contrast algorithm by @stevepryde in #677
- sgl-3d: exclude near-black samples from exposure averages by @stevepryde in #678
- sgl-3d: match primary geometry to world reflection rays by @stevepryde in #679
- sgl-3d: reject transient buffers beyond device limits by @stevepryde in #680
- sgl-post-fx: exclude missed rays from virtual hit distance by @stevepryde in #686
- Notify UDP peers on endpoint shutdown and worker failure by @stevepryde in #693
- Bound native WebSocket work during continuation floods by @stevepryde in #694
- Preserve SSR history when a candidate is off screen by @stevepryde in #690
- Keep glossy border pixels in half-resolution SSR by @stevepryde in #691
- Reset TAA placeholder history confidence by @stevepryde in #689
- Fix camera source changes overwriting caller buffers by @stevepryde in #687
- Preserve SSR depth precision for conventional depth by @stevepryde in #688
- Fade diffuse transmission with blended material coverage by @stevepryde in #692
- Attenuate refracted light beneath the sheen layer by @stevepryde in #695
- Retain UDP messages after local send backpressure by @stevepryde in #696
- Keep admitted UDP session cookies stable by @stevepryde in #697
- sgl-3d: bound decoded images and KTX2 levels by @stevepryde in #681
- fix(core): block one-way platforms by motion into the face by @stevepryde in #698
- fix(sgl-2d): ignore a modal's opening input and guard zero light vectors by @stevepryde in #699
- fix(sgl-3d): reject malformed GLB headers and invalid material factors by @stevepryde in #700
- fix(net): bucket IPv4-mapped challenges and harden endpoint lifecycle by @stevepryde in #701
- fix(sgl-3d): drop stale pipeline specialisations and bound BLAS index offsets by @stevepryde in #702
- fix(sgl-core): preserve swept broadphase corner boundaries by @stevepryde in #732
- fix(sgl-net): reserve TCP connection time for later addresses by @stevepryde in #733
- fix(sgl-net): acknowledge incoming reliable items while closing (#708) by @stevepryde in #734
- fix(sgl-net): retire disconnected cookies before admission (#709) by @stevepryde in #735
- fix(sgl-core): sweep tiny finite motion instead of dropping it (#707) by @stevepryde in #736
- fix(sgl-3d): reject malformed glTF references and image sources (#703) by @stevepryde in #737
- fix(sgl-3d): omit closed spot cones from shadow placement (#705) by @stevepryde in #738
- fix(sgl-2d): cap swapchain sizes to device limits (#714) by @stevepryde in #739
- fix(sgl-net): reject over-cap frames before queue admission by @stevepryde in #740
- fix(sgl-net): validate WebSocket subprotocol tokens by @stevepryde in #741
- fix(sgl-core): require validated collision configuration (#715) by @stevepryde in #742
- fix(sgl-3d): reject corrupt KTX2 descriptors before parsing (#704) by @stevepryde in #743
- fix(sgl-3d): retain exposure reset across abandoned frames by @stevepryde in #744
- fix(post-fx): clamp stored SSR sampling PDF to half range by @stevepryde in #745
- fix(sgl-2d): reserve clear button space in line edits (#717) by @stevepryde in #746
- fix(sgl-2d): distinguish vertical numeric drags from clicks (#718) by @stevepryde in #747
- fix(sgl-2d): shorten oversized numeric typing drafts (#719) by @stevepryde in #748
- fix(3d): preserve unobserved DDGI texels on sparse turns by @stevepryde in #749
- fix(sgl-3d): label filtered fog volumes with their current frame by @stevepryde in #750
- fix(sgl-3d): bound probe capture readbacks by device buffer limit (#725) by @stevepryde in #751
- docs(sgl-core): describe RNG range panic conditions (#716) by @stevepryde in #752
- fix(sgl-2d): parse extensionless dotted Aseprite frame keys (#720) by @stevepryde in #753
- fix(sgl-3d): reject overflowing skin influence weight sums (#729) by @stevepryde in #754
- fix(sgl-3d): compare frame probes at actual completed size (#726) by @stevepryde in #755
- fix(sgl-3d): bound reflection and GI trace specialisations (#727) by @stevepryde in #756
- fix(3d): saturate rect-light LTC view cosine by @stevepryde in #757
- refactor(3d): name the remaining fixed shader loop caps by @stevepryde in #758
- fix(sgl-post-fx): refresh frame description on output-only resize by @stevepryde in #759
- perf(sgl-net): index latest-state events during UDP polls (#711) by @stevepryde in #760
- Lift ray-traced shadow ray origins off distant receivers by @stevepryde in #761
- Release SGL 0.4.1 by @stevepryde in #762
- Move examples and integration tests into unpublished packages by @stevepryde in #763
Full Changelog: v0.4.0...v0.4.1