Skip to content

Add animated Isaac Lab 3 greetings to the loading screen - #7020

Merged
AntoineRichard merged 5 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/loading-screen-animations
Aug 21, 2026
Merged

AntoineRichard merged 5 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/loading-screen-animations

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

Description

This PR adds a lightweight, static greeting beside the loading-screen summary.

  • Retains the static Isaac Lab 3 and NVIDIA terminal artwork, selected once at random for each run.
  • Removes animated greetings, animation containers, environment overrides, packaging, authoring/viewer tooling, and their dedicated tests.
  • Removes the “The way it’s meant to be trained” tagline.
  • Starts the wide layout at 130 columns so the Isaac Lab 3 wordmark fits.

Validation

  • uv run isaaclab -f
  • Focused loading-screen tests: 14 passed

Checklist

  • Added a changelog fragment.
  • Added focused regression coverage.
  • Updated the PR branch against current develop.

@greptile-apps

greptile-apps Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR replaces hardcoded loading-screen greetings with packaged, compressed still and animated assets, adds environment-based selection and fallback behavior, and introduces authoring and preview tools.

  • Adds the animation container, packaged greeting assets, random/pinned selection, ANSI-aware layout, and refresh-driven playback.
  • Adds GIF/image/procedural conversion, terminal preview tooling, documentation, tests, and package-data configuration.
  • The runtime paths are well guarded, but two CLI numeric arguments permit invalid values that terminate previewing or generate unusable artifacts.

Confidence Score: 4/5

The PR appears safe to merge, with two non-blocking CLI validation issues in the animation authoring and preview tools.

Runtime loading and fallback paths remain robust, while unrestricted negative frame counts can generate rejected artifacts and non-positive playback rates terminate the viewer with unhandled exceptions.

Files Needing Attention: tools/gif2anim.py and tools/anim_view.py

Important Files Changed

Filename Overview
source/isaaclab/isaaclab/app/anims.py Adds deterministic compressed-container serialization, resource discovery, cached loading, and slot-aware random selection; no blocking runtime defect was established.
source/isaaclab/isaaclab/app/loading_screen.py Integrates random or pinned animated greetings with ANSI-aware sizing and broad fallback while correcting elapsed-time handling.
source/isaaclab/pyproject.toml Includes .anim resources in built package data so installed wheels retain the greetings.
tools/gif2anim.py Adds image and procedural-sprite conversion, but negative frame counts can produce an artifact that the loader rejects.
tools/anim_view.py Adds listing, static preview, and animated playback, but non-positive frame rates cause unhandled exceptions.
tools/anim_encode.py Implements quadrant-cell rendering with foreground/background color optimization and transparent-edge handling.
source/isaaclab/test/app/test_anims.py Covers serialization, damaged containers, shipped assets, slot selection, and caching.
source/isaaclab/test/app/test_loading_screen.py Covers responsive layout, lifecycle, animation selection, disabling, and damaged-asset fallback.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart LR
    Source[GIF / image / procedural sprite] --> Converter[tools/gif2anim.py]
    Converter --> Container[Compressed .anim container]
    Container --> Package[isaaclab.app.anims]
    Package --> Selection[Random or ISAACLAB_LOADING_ANIM selection]
    Selection --> Loading[LoadingScreen refresh loop]
    Container --> Viewer[tools/anim_view.py]
    Loading --> Terminal[ANSI terminal greeting]
    Viewer --> Terminal
Loading

Comments Outside Diff (1)

  1. tools/gif2anim.py, line 2266 (link)

    P2 Reject negative frame counts

    A negative --frames value reaches _resample(), where the empty range(count) produces a zero-frame animation that is still written successfully. The resulting artifact cannot be loaded because its declared frame count disagrees with the frame parsed from its empty body.

Reviews (1): Last reviewed commit: "Park the sprites, promote the encoder, t..." | Re-trigger Greptile

Comment thread tools/anim_view.py Outdated

try:
animation = resolve(args.target)
except (KeyError, OSError) as error:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Validate playback frame rates

The CLI accepts zero and negative --fps values, but playback evaluates 1 / fps and passes it to time.sleep(). These values terminate the viewer with an unhandled division or invalid-sleep exception instead of producing a clear argument error.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isaac Lab Review Bot

The animated greeting container, packaged assets, and render-time frame advancement are generally coherent, but two concrete issues remain: size-specific pinning can display a random greeting instead of the requested one, and shutdown still mishandles a valid start time of 0.0.

  • Design and architecture: The stdlib-only runtime decoder and Pillow-dependent authoring tools are appropriately separated, and shared slot geometry keeps runtime and tooling aligned. However, retaining a random animation for the non-matching slot conflicts with the pinning design because the responsive layout may prefer that larger random asset.
  • API: The documented ISAACLAB_LOADING_ANIM= contract is not consistently honored: pinning a 24x12 greeting on a wide terminal leaves a random 64x12 greeting available, which _format_header selects as the largest fitting asset. The implementation should ensure the requested greeting is displayed at every supported width or document a clear per-width limitation.
  • Implementation: ANSI-aware width measurement and the None sentinel in _render and _logos are consistent with the new rendering path. The shutdown elapsed-time calculation still uses self._started or time.monotonic(), so a valid 0.0 start time produces an incorrect 0.0-second result; it should use an explicit None check.

Minor fixes needed. Posted 2 actionable findings inline.

Automated review; human maintainers own approval decisions.

# a pinned greeting replaces whichever width it was drawn for; the other
# width keeps its random pick rather than being left empty
wanted = anims.load(pinned)
for index, slot in enumerate(anims.SLOTS):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Api — Pinned greeting ignored on wide terminals

Only the slot whose size matches the pinned greeting is replaced; the other keeps its random pick. _format_header then chooses max(fitting, key=_block_width), so pinning a 24x12 name on a 120+ column terminal always displays the randomly drawn 64x12 greeting instead. The changelog states the variable shows that greeting every run. Either apply the pinned art to every slot (or clear non-matching slots), or state the per-width limitation in the changelog.

self._write(hidden)
else:
elapsed = time.monotonic() - self._started
elapsed = time.monotonic() - (self._started or time.monotonic())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Suggestion · Implementation — Shutdown clock keeps falsy start-time check

_render and _logos were corrected to self._started is None, but this line still uses self._started or time.monotonic(), which treats a start time of exactly 0.0 as "not started" and reports Ready in 0.0s. That is the same falsy-zero handling the changelog fragment claims to have fixed. Use the explicit is None check here so all three sites express the condition identically.

@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

Thanks both — all four findings were real and are fixed in 5508e4b.

Pinned greeting ignored on wide terminals (isaaclab-review-bot) — confirmed and the most serious of the four. Reproduced with ISAACLAB_LOADING_ANIM=hello-small: 22 columns of greeting at 80 columns, 63 at 140, i.e. the random isaac-wide rather than the pinned art. A pin now offers that greeting and nothing else, which also deletes the slot-matching loop — there is nothing to match when there is only one.

Worth calling out that the existing test asserted on _animations[0] only, so it passed against the broken behaviour throughout. It now renders the header at both widths and measures what actually landed beside the box; reverting the fix fails it at both.

Shutdown clock keeps falsy start-time check (isaaclab-review-bot) — correct, and it was the third of three sites. The other two were changed to is None earlier and this one was missed, so the changelog claimed a fix that was only two-thirds done. All three now spell the condition identically, and the changelog fragment says so.

Validate playback frame rates (greptile) — --fps 0 divided by zero inside the loop. Now an argparse type that reports must be greater than zero, got 0.

Reject negative frame counts (greptile) — confirmed the failure mode exactly as described: range(-1) is empty, the container is written with frames: 0, and the body then parses as one empty frame, so unpack rejects a file that was written without complaint. Guarded in _resample so the API path cannot produce one either, with an argparse type for a clean CLI message.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 11, 2026
@AntoineRichard AntoineRichard changed the title Add animated greetings to the loading screen Add animated Isaac Lab 3 greetings to the loading screen Aug 11, 2026

@StafaH StafaH left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been trying to keep loading screen very very lightweight. Can we clean up this PR for a more lightweight approach.

  • We really don't need tests for loading screen related stuff, maybe 1 simple test but we don't need a whole test suite.
  • Reduce files/code down to more lightweight.

@StafaH StafaH left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can strip out the animated from the PR and just keep the green logo. Let's do IsaacLab 3 when we have space, and IL3 when we have less space.

I think we can bring back the animated stuff, let's make a mini-lib like we said for ASCII visualizer and loading screen, and we'll re-introduce it in 3.1, and add some easter eggs for christmas/halloween

@AntoineRichard
AntoineRichard force-pushed the antoiner/loading-screen-animations branch from c27e18a to dc58372 Compare August 20, 2026 08:32

@kellyguo11 kellyguo11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we quickly test this on windows to make sure it also works there? we had a QA bug with our previous implementation that caused issues on windows terminals.

@AntoineRichard

Copy link
Copy Markdown
Collaborator Author
image image Done!

@AntoineRichard
AntoineRichard merged commit 32955bb into isaac-sim:develop Aug 21, 2026
47 of 48 checks passed
mataylor-nvidia pushed a commit to mataylor-nvidia/IsaacLab that referenced this pull request Aug 21, 2026
)

# Description

This PR adds a lightweight, static greeting beside the loading-screen
summary.

- Retains the static Isaac Lab 3 and NVIDIA terminal artwork, selected
once at random for each run.
- Removes animated greetings, animation containers, environment
overrides, packaging, authoring/viewer tooling, and their dedicated
tests.
- Removes the “The way it’s meant to be trained” tagline.
- Starts the wide layout at 130 columns so the Isaac Lab 3 wordmark
fits.

## Validation

- `uv run isaaclab -f`
- Focused loading-screen tests: 14 passed

## Checklist

- [x] Added a changelog fragment.
- [x] Added focused regression coverage.
- [x] Updated the PR branch against current `develop`.
kellyguo11 added a commit that referenced this pull request Aug 22, 2026
## Description

Bundled backport to `release/3.0.0` to reduce CI load.

Source PRs reviewed for this bundle:

- #7020 — already represented in `release/3.0.0`; its cherry-pick was
empty, so no duplicate commit was added.
- #7207
- #7229
- #7227
- #7231
- #6762
- #7208
- #7168 — backports the current PR head while the source PR is still
open.
- #7157
- #7216

## Type of change

- Bug fix
- Documentation update
- Workflow / packaging update

## Checklist

- [x] I have read and understood the contribution guidelines.
- [x] I have run formatting checks.
- [x] Documentation changes are included.
- [x] Documentation build generates no new warnings.
- [x] Focused regression coverage passed.
- [x] Required changelog fragments are included by the source PRs.
- [x] Contributors are already listed or included by the source PRs.

---------

Signed-off-by: Kelly Guo <[email protected]>
Co-authored-by: Mustafa H <[email protected]>
Co-authored-by: Richard Lei <[email protected]>
Co-authored-by: Mustafa Haiderbhai <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
kellyguo11 pushed a commit to kellyguo11/IsaacLab-public that referenced this pull request Sep 17, 2026
)

# Description

This PR adds a lightweight, static greeting beside the loading-screen
summary.

- Retains the static Isaac Lab 3 and NVIDIA terminal artwork, selected
once at random for each run.
- Removes animated greetings, animation containers, environment
overrides, packaging, authoring/viewer tooling, and their dedicated
tests.
- Removes the “The way it’s meant to be trained” tagline.
- Starts the wide layout at 130 columns so the Isaac Lab 3 wordmark
fits.

## Validation

- `uv run isaaclab -f`
- Focused loading-screen tests: 14 passed

## Checklist

- [x] Added a changelog fragment.
- [x] Added focused regression coverage.
- [x] Updated the PR branch against current `develop`.

(cherry picked from commit 20f1885)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants