suggestion: dark background color to increase contrast to colored clouds
I find that visualizing labeled data with the semantic-kitti-api viewer makes it way easier to find labelling mistakes, especially in low density scans. Darkening/blackening the background on the main window would make labelling way easier, in my opinion.
What do you think about this, maybe as an option?
I started working on this, and attempted
QPalette pal = app.palette();
pal.setColor(QPalette::Window, Qt::black);
app.setPalette(pal);
Which only changes the menu color, but not the main windows background. Could you point me in the right direction?
Thanks for the suggestion and it should be easy to implement; I'm currently quite busy with other projects, but if you want to give it a try:
- Add a button (or something else) in the Qt Designer to have it togglable. (optional)
- Add in the beginning of
Viewport::paintGLthe lineglClearColor(0.0f, 0.0f, 0.0f, 1.0f);and that changes the color to black in the viewport.
That's it. If you want to make also the UI "dark mode", it might be possible to define style files in Qt, but here I'm not an expert.