idyntree icon indicating copy to clipboard operation
idyntree copied to clipboard

[Visualizer] Cannot visualize models in two separate Visualizer objects

Open prashanthr05 opened this issue 4 years ago • 2 comments

Here, I tried to add the same model to two instantiated objects of the iDynTree visualizer. I set camera targets and positions. And when I call draw() on both the objects, only one of the object gets updated.

multiviz

Am I missing something here? Or is it not possible to have multiple instances of the Visualizer due to some underlying shared SceneManager ?

prashanthr05 avatar Mar 20 '20 12:03 prashanthr05

CC @traversaro @gabrielenava @S-Dafarra

DanielePucci avatar Mar 20 '20 13:03 DanielePucci

As discussed on Teams, in theory the two Visualizers should be completely independent, but it is possible there are some bugs in iDynTree or in Irrlicht, I personally do not remember if I have tried to do something like that.

traversaro avatar Mar 20 '20 13:03 traversaro