scenerygraphics / sciview

sciview is a tool for visualization and interaction with ND image and mesh data
BSD 2-Clause "Simplified" License
67 stars 17 forks source link

Enable bounding box display for selected objects #74

Closed kephale closed 6 years ago

kephale commented 6 years ago

Scenery support via https://github.com/scenerygraphics/scenery/blob/master/src/main/kotlin/graphics/scenery/BoundingGrid.kt

skalarproduktraum commented 6 years ago

You can use this as (Kotlin)

val bg = new BoundingGrid()
bg.node = myNodeThatShouldHaveAGrid
kephale commented 6 years ago

These old ones are essentially equivalent, so I am closing them and leaving this open.

https://github.com/scenerygraphics/SciView/issues/10 https://github.com/scenerygraphics/SciView/issues/9

kephale commented 6 years ago

@skalarproduktraum BTW, how do you remove a BoundingGrid after creating one? removeNode from scene doesnt work.

kephale commented 6 years ago

@wrongapocalypse relevant branch https://github.com/scenerygraphics/SciView/tree/bounding-grid

kephale commented 6 years ago

and note this issue https://github.com/scenerygraphics/scenery/issues/184

kephale commented 6 years ago

done