Skip to content

[SofaMatrix.imgui] Custom style for the rendered matrix - #6211

Merged
fredroy merged 3 commits into
sofa-framework:masterfrom
alxbilger:matrixstyle
Aug 6, 2026
Merged

[SofaMatrix.imgui] Custom style for the rendered matrix#6211
fredroy merged 3 commits into
sofa-framework:masterfrom
alxbilger:matrixstyle

Conversation

@alxbilger

Copy link
Copy Markdown
Contributor

Additional features when visualizing a matrix in the GUI:

  • Custom colors: By default, it takes the colors ImGuiCol_Text for non-zero values and ImGuiCol_WindowBg for zero values. The image is more seamlessly integrated into the GUI.
  • Color picking: colors can be changed by the user (for now they are not saved persistently).
  • Save button: A button save the image along the executable file.
matrix.mp4

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

@alxbilger alxbilger added pr: enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request labels Jul 27, 2026
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Aug 6, 2026
@fredroy
fredroy merged commit ada328f into sofa-framework:master Aug 6, 2026
9 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: enhancement About a possible enhancement pr: status ready Approved a pull-request, ready to be squashed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants