point_labeler icon indicating copy to clipboard operation
point_labeler copied to clipboard

suggestion: dark background color to increase contrast to colored clouds

Open juliangaal opened this issue 2 years ago • 1 comments

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?

juliangaal avatar Mar 29 '23 15:03 juliangaal

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:

  1. Add a button (or something else) in the Qt Designer to have it togglable. (optional)
  2. Add in the beginning of Viewport::paintGL the line glClearColor(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.

jbehley avatar Apr 02 '23 11:04 jbehley