Repository navigation
This release syncs the port to upstream Box3D efca0c1. The C reference pin
advances from 9f998c8, and this port follows its API and behavior. The sync
ran one upstream commit at a time. Simulation results are not bit-compatible
with 0.4.x, and hull, compound, recording, and snapshot blobs from earlier
versions no longer load (see Breaking). The release also ports the replay
keyframe ring (RecPlayer::seek_frame), regenerates the demo's bundled replay
recording, and fixes the recording code generators. Ported:
51f056eSAT benchmark (#177)e77352cAdd support for AVX2 and runtime feature detection (#174)16f7f4cTree perf (#179)f8c4fe8Shape cast support for box movers (#180)003a3f7Fix recording crash on compounds (#181)3d9db79Various recording fixes (#182)5d83df8Improve compound serialization (#183)a2e4816Fixes for #175 (#187)8128d74Discussion template (#185) (GitHub discussion template only, nothing to port)0cfc475Solver stuff (#189)efca0c1Gyro tolerance (#191)
Breaking
- Hulls store the dot product of the two adjacent face normals for each full
edge (upstream51f056e).HullDatagainsedge_cosine_offset,
edge_cosines, and an explicitpaddingfield;BoxHullgains
edge_cosines: [f32; 12](left zero, as upstream never fills them for
boxes). The serialized layout grows: theHullDataheader is 152 bytes
(was 144),HULL_BYTE_COUNT_OFFSETis 144,BoxHullis 696 bytes (was
640), andHULL_VERSIONchanges to0x9D3E61B7C2A4F085. Hull hashes
change, and serialized hulls, baked compounds, and recordings that embed
hulls from earlier versions no longer load. - Hull SOA vertex and normal arrays are padded to a multiple of 8 (was 4) so
upstream's AVX2 kernels can load full lanes (upstreame77352c,
B3_HULL_SOA_PADDING). NewHULL_SOA_PADDINGandget_hull_soa_stride;
hull_soa_vertex_count/hull_soa_normal_countnow return the 8-padded
stride. Hulls whose vertex or face count is not a multiple of 8 grow, and
HULL_VERSIONchanges again to0x6B1E39D4A87C25F3. Hull hashes change
(box hulls included, through the version), and hull blobs from earlier
versions no longer load. core::set_stall_threshold/core::get_stall_thresholdare removed, as
upstream removedb3SetStallThreshold/b3GetStallThresholdand the CCD
stall logging (upstream16f7f4c). The demo's Continuous / Stall readout
goes with them.- The wide contact solver types change shape (upstream
16f7f4c).
contact_solver::wide::ContactConstraintWidekeeps the per-lane body data
and gainsmanifold_count; the per-manifold data moves to the new
ContactManifoldWide(withrolling_mask), and a color's constraints live
inWideContactConstraints(constraints, manifolds, manifold starts). The
convex kernels are replaced by kernels shared with mesh contacts:
warm_start_contacts_w,push_contacts_w,solve_contacts_w,
apply_restitution_w,store_impulses_w, plus
prepare_contacts_mesh_wide.make_matrix_from_quat_wis removed. - Baked compounds no longer carry a dynamic tree or tree proxies (upstream
5d83df8).CompoundDatalosesproxy_offsetandtreeand gains
bounds,tree_height,node_count, andnodes(the live tree nodes;
leaves hold the child index). The blob header is 96 bytes (was 184; the
embeddedb3DynamicTreeandCOMPOUND_TREE_OFFSETare gone), the proxy
array is dropped, andCOMPOUND_VERSIONno longer depends on the tree
version: it is now0x9E4B17D3A25C68F1 ^ MESH_VERSION ^ HULL_VERSION
(0x5FFEB407FB88E7F5). Compound blobs and hashes change, and compound
blobs and recordings from earlier versions no longer load. convert_compound_to_bytesandconvert_bytes_to_compoundare replaced by
CompoundData::to_bytesandvalidate_compound(upstream
b3ValidateCompound, replacingb3ConvertCompoundToBytes/
b3ConvertBytesToCompound). In C the compound is now a pointer-free blob
used in place; the port still parses it into an ownedCompoundData.RegistrySlot::live_compoundandRegistrySlot::get_live_compoundare
replaced byRegistrySlot::compound, filled when the registry loads
(upstream removedb3RegistrySlot::liveandb3RecGetLiveCompound).- The local rotational inertia moves from
Body::inertiato
BodySim::inertia(upstreamefca0c1), so the solver reads it directly.
body_flags::BODY_ENABLE_CONTACT_RECYCLINGis renamed
body_flags::ENABLE_CONTACT_RECYCLING, andmath_functions::skewis
removed (upstream removedb3Skew). The snapshot version becomes 11 (the
world config stores the isotropic inertia tolerance) and the Rust snapshot
layout version 5, so snapshots from earlier versions no longer load. The
recording minor version becomes 9. - The
RecPlayerkeyframe ring fieldskeyframe_interval,
keyframe_min_interval,keyframe_budget,keyframe_bytes, and
last_keyframe_frame(public in 0.4.1) are now crate-private, as C keeps
them private. Set the budget and minimum interval with
set_keyframe_policyand read the first four with theget_keyframe_*
getters;last_keyframe_framehas no public replacement.
Added
get_hull_edge_cosines(upstreamb3GetHullEdgeCosines).core::is_avx2_available(upstreamb3IsAVX2Available). It returns false:
the port implements the scalar path, matching aBOX3D_DISABLE_SIMDbuild.world_enable_sse2_fallback(upstreamb3World_EnableSSE2Fallback). The
world's SIMD width (crate-internal, like upstream'sworld->simdWidth) is
always 4 in the port, so the call has no effect on the simulation. Internally the port also gains upstream's
b3GetSIMDWidth/b3SetSIMDWidth,b3ComputeSeparatingAxisAtWidth, and
b3CollideHullsAtWidth; contacts collide hulls at the world's width.shape::compute_shape_min_extent(upstreamb3ComputeShapeMinExtent):
the radius for spheres and capsules, the inner radius for hulls, and the
compute_shape_extentminimum otherwise.shape_get_compound(upstreamb3Shape_GetCompound). The port's shape
owns a copy of the compound, so it returns that copy.dynamic_tree::TreeViewandmake_tree_view(upstreamb3TreeView,
b3MakeTreeView,b3TreeView_Query/_QueryClosest/_RayCast/
_BoxCast): the queries and casts run on a node array with optional
proxies. A view without proxies skips the category test and reports the
leaf's shape index as the user data; compound queries use it. The
DynamicTreequeries wrap it and are unchanged.WorldDef::isotropic_inertia_tolerance(default 0.2, clamped to [0, 1])
withworld_set_isotropic_inertia_tolerance/
world_get_isotropic_inertia_tolerance(upstreamefca0c1,
b3World_SetIsotropicInertiaTolerance/_GetIsotropicInertiaTolerance),
recorded as the newWorldSetIsotropicInertiaToleranceop (0x70). A
change only reaches bodies whose mass is computed afterwards. New body
flagbody_flags::ENABLE_GYROSCOPIC_TORQUE.- The replay keyframe ring (upstream
b3RecCaptureKeyframe,
b3RecPlayerRestoreKeyframe,b3RecSeedKeyframeRegistry).RecPlayer
now snapshots the world every keyframe interval while stepping (also in
sub_step_frameandvalidate_replay), within a byte budget: when a
capture would exceed it, the interval doubles and keyframes off the new
grid are evicted.seek_framerestores the nearest keyframe strictly
before the target (or restarts) and re-steps only the gap, and seeking to
the current frame is now a no-op, as in C. The policy defaults to a 16
frame interval and a 512 MiB budget (get_keyframe_budgetused to report
0);set_keyframe_policykeeps the current value for a zero budget or a
non-positive interval and drops the ring, andrestartkeeps the ring.
Captures serialize through a registry pre-seeded 1:1 from the player's
geometry slots, so geometry ids stay stable and the registry never grows.
get_keyframe_bytescharges each keyframe its image allocation plus its
outliner body list, as C does; the images are the port's field-by-field
snapshots, so the totals differ from C's (in float, 8744 bytes per
keyframe of the four box stack where C charges 12400 to 12496), and a
budget sized between keyframes can keep a different ring than C's.
Capture cadence, eviction, and seek targets under the default and a one
byte budget, and the world hashes after each seek, were confirmed against
a scalar C build ofefca0c1in both precision modes; two budgets sized
relative to the first keyframe also keep C's ring in float.
RecBuffergainscapacity, the allocation size C'sb3RecBufAppend
growth rule would reach, which the keyframe budget charges.
Changed
-
GeometryRegistry::internmatches an existing entry by bytes only, as
upstream'sb3InternGeometrydoes; it used to also require the same
kind. -
The separating axis test culls edge candidates with upstream's inscribed
sphere testb3TestEdgeCandidateSorted(replacingb3TestEdgeCandidate),
using per-hull plane separations of the other hull's center and the stored
edge cosines. With early return it re-culls the candidates against the
support points of the best face axes when there are enough edge pair
tests, and it reuses the seed face separation instead of recomputing it.
Contact manifolds are unchanged on 30,000 randomized hull pairs; the
early-return query can report a different (non-winning) edge axis.
Checked bit-exact against a scalar C build of51f056eon those pairs. -
The wide contact solver blends the clamped rolling resistance impulse to
+0 in lanes without rolling resistance instead of scaling it by zero, which
produced -0 for negative impulses (upstreame77352c). Stored rolling
impulses can change from -0 to +0, which can change later results bitwise
in scenes that mix rolling and non-rolling contacts. The loops over the hull
SOA arrays in the separating axis test andfind_hull_support_vertexkeep
running to the count rounded up to 4, so their results are unchanged.
Checked against a scalar C build ofe77352cwith upstream's new rolling
mix determinism scene (both precision modes). -
Graph-color mesh contacts are solved by the wide (four lane) contact
solver instead of the scalar mesh kernels (upstream16f7f4c). Each color's
mesh contacts are sorted by manifold count (stable, largest first), grouped
four at a time, and each group is padded to the largest manifold count in
it. Only overflow contacts still use the scalar kernels. The wide warm start,
restitution, and rolling resistance now work per manifold; restitution
computes the current separation from the normal rotated into each body frame
(like push and solve) instead of rotating the anchors. -
The overflow (scalar) contact warm start sums the impulses of all manifolds
and applies them to the bodies once, instead of applying every point
impulse in turn. -
Mesh and height field contacts transform the cached triangles into the
shape frame four at a time and, for hulls, cull triangles whose bounds plus
the speculative distance miss the hull bounds before the narrow phase,
resetting their SAT cache.MAX_MESH_CONTACT_TRIANGLESgrows from 256 to
512, and the per-contact triangle buffers move to the heap (C moved them to
the step arena). -
query_meshtests the root bounds once and then tests both children before
descending, pushing only overlapping children. The triangle visit order is
unchanged. -
Continuous collision skips non-bullet shapes that cannot tunnel
(b3IsShapeFast): the centroid travel plus the rotation chord times the
shape radius must exceed the body'ssafety_factortimes the shape's
minimum extent. The continuous fallback radius uses
compute_shape_min_extent. -
Simulation results change. The determinism goldens move to upstream's new
values: falling ragdolls 267 /0x9BCA269D(double 266 /0x68FC7728),
wave pile 270 /0xAD7C3901(double 312 /0xFD6BD36B), mesh drop 218 /
0x0A23CFA2(double 218 /0x26F9A566). Query spawn and the rolling mix
hash are unchanged. Adds upstream's mesh mix scene (SingleMeshMixTest)
with hashes0xC24D812B(double0x0151E8CA). All values were confirmed
with a scalar C build of16f7f4c(BOX3D_DISABLE_SIMD) in both precision
modes. -
shape_castwithcan_encroachno longer reports an initial overlap when
the shapes start separated but within the cast target distance and no more
than2 * linear_slopapart (upstreamf8c4fe8, for box movers). It
advances by first order while retaining half a linear slop of separation:
sweeps that cannot consume the free gap (receding, tangential, grazing)
miss, as do hits at or beyondmax_fraction; otherwise it reports a hit at
that fraction with the frame A point and normal. Gaps over
2 * linear_slopstill reduce the target as before, and overlapping or
touching shapes still report an initial overlap. Ports upstream's eight new
shape cast tests. Checked bit-exact against a scalar C build off8c4fe8
on 200,000 randomized near-contact casts (about 53,000 reach the new
branch). -
GeometryRegistry::intern_compoundscrubs the compound through
convert_compound_to_bytes, mirroring upstream'sb3RecInternCompound
(upstream003a3f7). Upstream previously nulled onlytree.nodes, so C
recordings embedded the livetree.proxiespointer and its hash, which
broke registry dedup during keyframe capture (an assert in
b3RecCaptureKeyframe). The port always wrote every tree pointer as zero,
so its recorded bytes are unchanged and now match C exactly: the interned
blob and hash of a capsule plus three spheres compound were confirmed
against a scalar C build of003a3f7. Adds tests for the pointer-free blob
and for a seek across a live compound that mirrors the keyframe-policy call
upstream added toAllOps. -
Replay checks the kind of every geometry registry slot it resolves
(upstream3d9db79,b3RecGetSlot). The seed snapshot path (des_shapes,
upstreamb3DesShapes) used to check only the range and reinterpret a
slot of the wrong kind, so a relabeled hull, mesh, height field, or
compound slot restored the seed; nowRecPlayer::createreturnsNone.
The shape op dispatch already checked kinds; its messages now match C
("<kind> geometryId <id> is invalid", "<kind> geometry <id> is corrupt"). Newrecording::registry::get_slot;RegistrySlot:: ensure_compoundis renamedget_live_compound(b3RecGetLiveCompound). -
Loading the geometry registry follows upstream's
b3RecLoadSlots: a block
past the end of the file, a count that cannot fit, a truncated or out of
bounds entry, or a compound entry smaller thanb3CompoundData(new in
3d9db79) failsRecPlayer::createwith upstream's message. The port
used to stop loading silently and keep going, so a compound entry with a
shortened length loaded and the following bytes were parsed as more
entries. The registry and tag table are now bounded by the header's
registryByteCount, as in C. The loader moves to
recording::registry_load(load_slots,load_tags). Two deliberate
divergences: the bounds are checked inu64where C narrows the header
offsets with(int)casts first, and a failedRecPlayer::create
restores the previous length scale where C leaves the recording's scale
set globally. -
RegistrySlot::kindis now the rawu8kind byte, as C stores it. An
unknown kind (above 3) matches noget_slotrequest and fails the shape
op with "<kind> geometryId <id> is invalid"; the port used to treat it as
a compound. -
The query tag table loads like upstream's
b3RecLoadTags: a count that
cannot fit the remaining bytes (18 per tag) loads no tags instead of the
ones that fit, names end at the first NUL, andRecPlayer::resolve_tag
returns the last tag loaded for a duplicate key (C's tag map replaces on
insert). Names that are not valid UTF-8 are still converted lossily, the
one remaining difference from C's rawcharbuffer. -
Ports upstream's
CorruptCompoundtest and theAllOpsseek addition
(seek to frames 6 and 9, ray cast the compound). Both, plus a new test that
relabels each seeded registry slot and one that sets a compound slot's kind
to 7, were checked against a scalar C build
of3d9db79: same messages, same failures.b3CreateCompoundnow copies
the tree header fields explicitly instead of copying the whole struct and
fixing it up; the port always wrote that header this way, and the interned
compound blob and hash are unchanged against C. -
validate_compoundruns upstream's checks in upstream's order: at least
the header size, the version, a stored byte count equal to the buffer
length, a node offset past the header and 8 byte aligned, at least two
nodes, and the node array inside the buffer (in 64-bit arithmetic). It
also keeps the port's existing section, nested blob, and material index
checks, and adds node checks C does not make: every internal node must
point at a sibling pair after it inside the node array, every node with
the leaf bit (empty nodes included) must name an existing child, and the
tree may be at most 256 levels deep (half the traversal stack; C's
balanced median split trees stay far below it), so a corrupt tree is
rejected instead of panicking, looping, or overflowing the stack in a
query. The compound blobs of four test compounds (including a
40 sphere compound with a 7 level tree), their hashes, a ray cast, the
bounds, and the header check outcomes were confirmed against a scalar C
build of5d83df8in both precision modes; the blobs are byte-identical. -
Compound AABBs come from the stored
bounds, and compound queries, casts,
the mover, and the broad-phase child pairs run on the compound tree view.
The traversal order and results are unchanged. The demo's compound stats
report the tree byte count asnode_counttimes the 32 byte node and the
storedtree_height, as the C samples now do. -
Loading the geometry registry follows upstream's new
b3RecLoadSlots: an
entry of any kind with zero bytes (or more thani32::MAX) fails
RecPlayer::create("has an invalid byte count"), as does a compound
entry that failsvalidate_compound("is not a valid compound"). Both
used to load: an empty hull, mesh, or height field entry failed only its
shape op, and a corrupt compound only when a shape used it. The "too small
for a compound" check is now part of compound validation, and the replay's
"compound geometry is corrupt" message is gone, as in C. Hull, mesh,
and height field slots are still converted (and checked) when a shape
uses them, with "geometry is corrupt", where C uses the bytes as they
are. -
The snapshot layout hash also mixes in the geometry blob sizes the port
tracks and the hull, mesh, height field, and compound versions, following
upstream'sb3ComputeLayoutHash. Snapshot images from earlier builds no
longer load. -
Ports upstream's
CompoundSerializeBadNodeCounttest, the updated
CompoundCreateMixed,CompoundSerializeRoundtrip, and
CompoundMeshContactMaterialchecks, and the zero byte count case in
CorruptCompound. The compound part ofTreeSaveLoadRoundtripis removed,
as upstream did. Adds tests for a zero byte hull entry and an invalid
compound entry failing player creation, and for the tree node checks. -
Contact recycling no longer skips real overlap (upstream
a2e4816,
discussion #175).collide_spheresandcollide_capsule_and_spherenow
report pairs within the speculative distance, like the other manifold
routines, instead of only overlapping pairs. A contact recycles only when
speculative points are enabled for the pair, and a pre-solve rejection
clears the cached relative transform so the next step rebuilds the
contact. Reproducing tests (SpeculativeMarginTest,
RecycledSphereApproachTest,PreSolveRejectRecycleTest,
SpeculativeOffRecycleTest, ported from upstream) failed before the fix.
The wave pile determinism goldens change to upstream's values, and the
mesh mix hash changes; all confirmed against a scalar C build of
a2e4816in both precision modes.World::stepdocuments that a zero
time step still runs collision and reports contact and sensor events. -
The solver accumulates velocity changes instead of applying every impulse
to the bodies in turn (upstream0cfc475). The wide contact push and solve
track the linear normal velocity per manifold, apply the normal impulses
to the angular velocities through precomputedinvI * (r x n)terms, and
apply the summed normal impulse to the linear velocities once (in solve,
together with the central friction impulse). The normal clamp computes
the delta impulse directly with max, and the twist friction clamp with
min / max. Revolute
spring, motor, and limits share one axial velocity and apply one combined
axial impulse; spherical spring, motor, twist limits, and cone limit do
the same with the angular velocity. The revolute, spherical, motor, and
weld point constraints solve the 3x3 system with the new
joint::solve_point_constraint(upstreamb3SolvePointConstraint)
instead of forming the effective mass from skew products and calling
solve3. Simulation results change. The determinism goldens move to
upstream's values: falling ragdolls 265 /0xB98B3638(double 267 /
0x01EB8FDB), wave pile 288 /0xFC1CD2DC(double 333 /0x80D5266B),
query spawn hash0x58F47348(double0x90EE3E7C), mesh drop
0x983F27EA(double0x10051259). The rolling mix hash becomes
0x3447FD01(double0x6686EFA8) and the mesh mix hash0x141DBC7E
(double0xD802486E). All values were confirmed with a scalar C build of
0cfc475(BOX3D_DISABLE_SIMD) in both precision modes. -
Gyroscopic torque is skipped for nearly isotropic bodies (upstream
efca0c1). Each mass update (update_body_mass_data,
body_set_mass_data) measures the deviatoric part of the local inertia
(upstreamb3UpdateIsotropicInertia, the squared Frobenius norm against
the mean of the diagonal) and setsENABLE_GYROSCOPIC_TORQUEonly when
the anisotropy exceeds the world tolerance.update_body_mass_data
clears the flag first, so bodies without shapes and static or kinematic
bodies stay unflagged; fixed rotation zeroes the inertia, which clears it
too. The
velocity integration runs the gyroscopic Newton solve only for flagged
bodies and readsBodySim::inertiainstead of inverting the inverse
inertia. PortsCompoundInertiaConsistencyand
IsotropicInertiaTolerancefromtest_body.c, the new
TestWorldCoveragechecks, and theAllOpstolerance addition as a
replay round trip. Simulation results change. The determinism goldens
move to upstream's values: falling ragdolls 291 /0xFF4C605B(double
263 /0xA5423F98), wave pile 272 /0x266F83B0(double 272 /
0xC8E5F3D6), query spawn hash0xF3AD9BA6(double0x489585E6), mesh
drop 226 /0xD2FF069D(double 218 /0xD378CF04). The rolling mix hash
becomes0x56B250F7(double0xB7FBCFC0) and the mesh mix hash
0x246CC2A7(double0x9DA0B374). All values were confirmed with a
scalar C build ofefca0c1(BOX3D_DISABLE_SIMD) in both precision
modes.
Fixed
- The demo Replay viewer's bundled
demo/public/recordings/sample.b3recwas
stale after the upstream format bumps (recording 6.9, snapshot 11, hull and
compound layouts) and was rejected byRecPlayer::create. It is regenerated
from the current wasm build (same Box Stack scene, 300 frames at 60 Hz, 4
sub-steps) by the new reproducible generatorbun run record:samplein
demo/(demo/scripts/record-sample.ts, run afterbun run build:wasm),
and the new testbundled_demo_recording_replays_without_divergencefails
whenever a future format change makes the file stale again. - The recording code generators (
scripts/gen_recording_ops.py,
scripts/gen_recording_dispatch.py) failed withKeyError: STRafter
upstream merged theBODYSTR/SHAPESTRargument tags intoSTR. They now
handleSTR, fail with a clear message on any unknown tag, emit the
current splitsrc/recordinglayout (run through rustfmt), and share the
op-manifest parser in the newscripts/recording_manifest.py.
Regenerating reproduces the checked-in files; the only change is that the
body setter writers and dispatch arms now follow manifest order. RecPlayerper-frame query store now matches Cb3RecPlayer_StepFrame/
b3RecPlayer_Restart:restart(and a backwardseek_framethat falls
back to it) clears the stashed queries,step_frameat the end of the
recording no longer wipes the last frame's queries, andrestartkeeps
the pending query-tag key as C does. The keyframe ring tuning fields
(keyframe_interval,keyframe_min_interval,keyframe_budget,
keyframe_bytes,last_keyframe_frame) are now crate-private (see
Breaking); external code could setkeyframe_intervalto 0 and panic on
a divide by zero.
Not ported
- The new GJK-versus-SAT benchmark (
shared/sat_benchmark.c,benchmark --sat) and its sample, plus the other samples-only changes (ImGuizmo).
The Rust benches do not mirror the C benchmark harness. b3World_GetCountersnow reportsbyteCountas the world memory
footprint (b3GetWorldByteCount, factored out of
b3World_DumpMemoryStats).Counters::byte_countstays zero in the port.- The SSE2, AVX2, and Neon kernels (
simd_sse2.h,simd_avx2.h,
simd_neon.h,wide8.c), CPUID based AVX2 detection, the 32 byte
allocation alignment, the benchmark--simd-widthoption, and the
sample's SSE2 fallback checkbox. The port keeps the scalar width 4 path.
Upstream'sSIMDWidthTestandCrossWidthReplayskip when the native width
is 4; the port runs both widths anyway (both are 4), which reduces them to
repeatability checks. - The new mesh drop benchmark (
CreateMeshDropBenchmark,benchmark/main.c,
sample_benchmark.cpp; listed as planned in the demo registry) and the
refreshed benchmark CSVs. The width 8
(W8) mesh kernels andb3MoveMaskW4for SSE2 / Neon are SIMD-only. - The new Encroach Cast collision sample (upstream
f8c4fe8); it is listed
as planned in the demo registry. - The
b3Freezero-size fix incore.c(upstream3d9db79). The port has
no custom allocator hooks. - The rename of
recording_replay.c/.htoreplay.c/.hand the
CMakeLists.txtreorder (upstream3d9db79) have no Rust counterpart
beyond updated doc comments; the Rust module names stay as they were. - The new Village benchmark (upstream
5d83df8:CreateVillage/
StepVillageinshared/benchmarks.c,benchmark/main.c, and the
Benchmark / Village sample; listed as planned in the demo registry), the
compound panel in the replay sample's shape inspector, the
debug_adapter.cculling switch tob3QueryCompound, and the
docs/compound.mdupdate. b3InternGeometry/b3AppendGeometrynow copy the bytes instead of
taking ownership (upstream5d83df8). The port's registry already owns
Veccopies. The compound pointer scrub upstream added to
b3RecSeedKeyframeRegistryin003a3f7and removed again in5d83df8
needs no port: the port's keyframe seed hashes and appends the slot bytes
as they are, like upstream's current seed.- The replay sample's keyframe-policy popup (budget, minimum interval, and
pre-generating the ring behind a progress bar). The demo's replay viewer
seeks through the ring under the default policy. - The new cylinder questions in
docs/faq.md(upstreama2e4816). - The new Bodies / Spinning Capsule sample (upstream
efca0c1); it is
listed as planned in the demo registry.