Open GiulioRomualdi opened 3 years ago
I am afraid the new color is too cool and too 2020s for iDynTree. iDynTree vibe is much more "old stuff that works" that is reflected by the 1980s TRON-like currently used palette. :D
Jokes apart, I think the new palette seems nice, it is totally ok for me to switch to it. Just to understand, is this issue about changing the default palette or also changing some parameters that can't be changed back by the user?
Just to understand, is this issue about changing the default palette or also changing some parameters that can't be changed back by the user?
We may think to define different palets.
I definitely don't feel strong on this, so whatever you or other users of the visualizer prefer is fine for me.
As far as I understood, the main interest is in changing the background and the ground grid color. They both are in the environment, so we could add a method like setTheme
in IEnvironment
with an enum or a string. Then, each tag will correspond to a specific set of colors. The naming then is up to who implements it :grin:
As far as I understood, the main interest is in changing the background and the ground grid color. They both are in the environment, so we could add a method like
setTheme
inIEnvironment
with an enum or a string. Then, each tag will correspond to a specific set of colors. The naming then is up to who implements it 😁
Can't we just have a setBackgroundColor or setGroundGridColor or similar methods?
As far as I understood, the main interest is in changing the background and the ground grid color. They both are in the environment, so we could add a method like
setTheme
inIEnvironment
with an enum or a string. Then, each tag will correspond to a specific set of colors. The naming then is up to who implements it grinCan't we just have a setBackgroundColor or setGroundGridColor or similar methods?
They are there already (https://github.com/robotology/idyntree/blob/devel/src/visualization/include/iDynTree/Visualizer.h#L294-L302). The problem is that setting the RBGA values by hand is not very intuitive. I think that the idea behind this discussion is to have a no-brainer for quickly changing both the ground grid and the background color.
Ok! Changing the default or adding theme are both ok options for me.
Ok! Changing the default or adding theme are both ok options for me.
We may do both of them :) The problem is which colors do you (@S-Dafarra and @traversaro ) like?
Any palette is fine for me, the proposed meshcat one is great!
Ok! Changing the default or adding theme are both ok options for me.
We may do both of them :) The problem is which colors do you (@S-Dafarra and @traversaro ) like?
I would keep the default as it is for continuity.
I opened this issue out the possibility to change the color palette of the iDynTree visualizer.
Disclaimer: colors are really subjective. The colors that I like are probably terrible for you :smile:
During my latest work, I had the opportunity to play with the colors of the visualizer and I was able to mimic di aspect of meshcat.
This is an example:
What do you think? How can we make visualizer more appealing?
@traversaro and @S-Dafarra