make visu_osg easier to extend
Closed this issue · 1 comments
sbarthelemy commented
Currently the visu is hard to extend because :
- the WorldDrawer is quite complicated, and there is no well defined way to add custom data to it
- we could dispatch its data in the osg graph (in UserData fields) instead
- there is no way to add custom code (like: draw and update a force)
- we could add arboris-defined callbacks
- we could use osg-defined callback (this would make our code more similar to (and compatible with) the osgAnimate one)
- the Viewer (especially the KeyboardHandler) is hard to extend
- maybe we could support several KeyboardHandlers (simultaneously)
- There is no well defined way for the viewer to modify the simulation
- add support for kinematic (0-order) joints ?
- allow to move subframes whose parent is ground ?
sbarthelemy commented
The visualization part of arboris will removed as soon as the C++ viewer is here.