Repository navigation
Release v0.6.0 - #43
Merged
Merged
Conversation
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.
v0.6.0 (4 October 2026)
Breaking changes
iof enveis ati * num_batches + e(wase * stride + i). This affectsRbdState::body_posesand the otherper-body tensors, and
GpuRigidBodyRef::gpu_id.collision_pairs_lenandNexusCounts::collision_pairsreport the total,RbdCapacities::collisions_capacityis aper-env hint, and
RbdState::contacts_lenis removed.RbdSimParamsis a single uniform shared by all envs (finalizing panics if envs differ). Newfields:
contact_merge_cos,num_internal_pgs_iterations,friction_in_bias_pass.RbdSimParams::prediction_distance()instead of ahard-coded
0.02.GpuMultibodySet::set_num_internal_pgs_iterationsno longer drives the solver; useNexusState::set_rbd_num_internal_pgs_iterations(orRbdSimParams::num_internal_pgs_iterations).GpuMultibodySet:dof_values,contact_constraints_per_batch,contact_constraint_jacsandcontact_constraint_columnsare removed (seecontact_jac_cols);from_rapiertakes acontact-slot count.
UiSectionsis replaced by theUiSectionenum (UiState::ui_section); one panel tabis open at a time.
NBH_SHIFTSis now a plain array; usenbh_shift(i)for a vector.SolverArgs,ColoringArgs,GpuNarrowPhase::dispatch,BatchIndices, ...).0.4, vortx0.5, kiss3d0.47, rapier0.36and parry0.31.Added
NexusState::set_deterministic: two runs of the same scene give identical results on the samemachine and build. Costs ~10-17% per step, up to ~45% with trimeshes or polylines, and fixes the
rigid-body resize policies. Testbed: "Deterministic" checkbox,
--deterministicflag and a stepcounter (
NexusState::steps).cuda-oxidefeature (CUDA kernels compiled by cuda-oxide), and compute graphs:NexusState::set_compute_graphs_enabledrecords the step once and replays it as a CUDA graph(testbed:
--compute-graphs). Both need the GitHub version of khal/vortx.nodes, MPM particles and grid. Readbacks:
RbdState::debug_contacts,debug_lbvh,MpmState::debug_particles,debug_grid.add_sensor_camera,attach_sensor_camera,render_sensor_rgb,render_sensor_depth,render_sensor_segmentation, with MSAA, shadow and ambient controls.set_ambient,add_directional_light,set_body_color,set_body_casts_shadows,textured visual meshes,
set_shadow_softness/range/resolution.RbdState::snapshot,reset_env_from_snapshot, and the batchedpublish_reset_templates/reset_envs_from_templates.frictionloss), per-link contact sensors(
set_contact_sensor_links), actuator delay, motor targets read from a GPU tensor(
scatter_motor_targets), andset_substep_refresh.NexusState:control_multibody_motors,read_multibody_links,multibody_joint_positions/set_multibody_joint_positions/multibody_joint_velocities,read_rigid_body_poses/velocitiesandset_rigid_body_pose/velocity(3D),set_rbd_timestep,set_rbd_collisions_capacity,set_rbd_mb_contact_constraints_capacity,set_rbd_implicit_coriolis,set_rbd_substep_refresh.RbdSimParams::friction_in_bias_pass: also solve friction during the biased pass (off bydefault), which keeps pinch grasps and resting stacks from drifting.
RbdPipeline::contact_reduction).RbdPipeline::step_encodedrecords a step into a caller-owned encoder.Robot(URDF/MJCF loading,robot_state/robot_qvel,set_robot_targets, FK/IK, PDgains), MJCF actuators (
apply_actuator_controls), body pose/velocity read/write,set_rbd_solver_params, sensor cameras, contact debug readbacks,set_compute_graphs_enabled.Fixed
face, duplicate manifold points).
matches by collider pair and sub-shape, to the nearest point. Also fixes polyline warmstart.
GpuMultibodySet::read_dof_coordsreturned wrong locked axes for envs other than 0.mpmfeature.RbdState::debug_constraint_colorsnow reads the constraints and colors of the last step.Modified
are sized by total demand instead of the busiest env, and multibody contacts are indexed per
multibody.
num_internal_pgs_iterationsalso drives the rigid-body sweeps of the biased pass, interleavedwith the multibody sweeps.
with 16x anisotropic filtering. The viewer no longer steps before the first sync of a scene.