Skip to content

Commit 3ecf068

Browse files
Batch ModelBuilder replication (#3415)
Signed-off-by: Alain Denzler <adenzler@nvidia.com>
1 parent 88b0b08 commit 3ecf068

5 files changed

Lines changed: 1215 additions & 560 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- Compile tiled camera render kernels with CUDA fast math by default for faster rendering; set `SensorTiledCamera.render_config.enable_fast_math = False` for bit-exact, IEEE-precise output.
1212
- Optimize raycast/raytrace queries by restructuring ray-shape intersection into local-space primitives and compile specialized depth/shadow variants that skip unused surface-normal work (mesh shadows also use any-hit queries).
13+
- Speed up `ModelBuilder.replicate()` for large world counts by merging all copies in one pass; it no longer calls `add_world()` or `add_builder()` per copy, so `ModelBuilder` subclass overrides of those methods are not invoked during replication.
1314

1415
### Deprecated
1516

@@ -19,13 +20,17 @@
1920

2021
- Fix MJCF, URDF, and USD imports rendering collision-only bodies as visuals when the asset authors visual geometry elsewhere. (#3291)
2122
- Fix `ViewerUSD` texture consumers observing partially written PNGs by publishing generated textures atomically (#3288)
23+
- Fix builder merging (`ModelBuilder.add_builder()`, `add_world()`, `replicate()`) offsetting negative reference sentinels in custom attribute values stored as NumPy or Warp integer scalars.
2224
- Fix `ModelBuilder.add_usd()` requiring the optional `mujoco` package when handling `MjcActuator` prims, including during default MJC equality conversion.
2325
- Report malformed MJCF free-joint and inertial inputs with deterministic validation errors, and ignore MJCF mesh geom `size` lengths consistently.
2426
- Fix Style3D solver divergence caused by isolated vertices.
2527
- Fix the `diffsim_bear` example crashing with its default CUDA configuration and diverging after a few training iterations.
28+
- Preserve muscles and rigid-body color groups when copying or replicating a `ModelBuilder`.
2629
- Fix `ModelBuilder.add_usd()` to honor `PhysicsScene.gravityDirection`, including stage-to-builder rotation and per-world imports.
2730
- Fix stale overlay layers remaining visible after switching examples in the OpenGL viewer.
31+
- Reject incompatible custom attribute and frequency definitions before composing `ModelBuilder` instances.
2832
- Fix `cloth_franka` example rendering particles at simulation scale (cm) instead of viewer scale (m)
33+
- Fix `ModelBuilder` merges to accept array-valued transform fields and plain-list particle color groups.
2934

3035
## [1.4.0] - 2026-07-16
3136

0 commit comments

Comments
 (0)