Inconsistent color legend for dislocations

Hi,

I’m having some issues with the color legend layer in my viewport when I render dislocations. The order of the dislocation types in the legend changes every frame which makes the legend useless for animations. There does not appear to be any pattern to the assignment. Rendering the same frame twice results in different ordering. I have included two screenshots of different timesteps to illustrate the problem.


I have replicated the issue in OVITO Pro 3.12 for both Windows 11 and Debian 12. I don’t require a specific ordering of dislocations in the legend, but I do require it to be stable for animation.

Thanks,
Aidan

Thank you for this report. This is obviously not how it should be. I prepared a fix for this problem. It is currently available in this OVITO development version and should be rolled into the next release:

OVITO Basic (linux)
OVITO Pro (linux)
OVITO Basic (windows)
OVITO Pro (windows)

Please let me know if this fixes this issue and whether you encounter any further problems.

I can confirm that the issue is resolved on OVITO Pro for Windows. However, there appears to be a problem with the Pro version for Linux. The shared library libhdf5_hl.so.310 is not working correctly. I checked the directory and the soft link to libhdf5_hl.so.310.06 is intact, but I get the following error when trying to run the executable “ovito-pro-3.12.1-dev-a9fd3976-x86_64-dev3.12.1/bin/ovito: error while loading shared libraries: libhdf5_hl.so.310: cannot open shared object file: No such file or directory”. Here is my system info from the 3.12.0 release:

======= System info =======
Current date: Fri Mar 14 17:51:50 2025
Application: OVITO Pro 3.12.0
uname output: 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 unknown GNU/Linux
LSB output: Debian Debian GNU/Linux 12 (bookworm) 12
Processor architecture: x86_64
Qt version: 6.7.3 (x86_64)
Command line: ovito-pro-3.12.0-x86_64/bin/ovito
Python file path: /opt/ovito-pro-3.12.0-x86_64/lib/ovito/plugins/python
CUDA support enabled: yes
======= CUDA info =======
No CUDA-capable device detected
======= OpenGL info =======
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2
Version number: 4.6
Version string: 4.6.0 NVIDIA 535.216.01
Profile: compatibility
Swap behavior: other
Depth buffer size: 24
Stencil buffer size: 8
Shading language: 4.60 NVIDIA
Deprecated functions: yes
Geometry shader support: yes
Alpha: 0

Thanks for the update. The hdf5 error should be resolved now:

OVITO Pro (linux)
OVITO Basic (linux)