# Interaction problem while multi-object rendered in one actor

**URL:** https://discourse.vtk.org/t/interaction-problem-while-multi-object-rendered-in-one-actor/3428
**Category:** Support
**Created:** [June 1, 2020, 2:58am UTC](https://discourse.vtk.org/t/interaction-problem-while-multi-object-rendered-in-one-actor/3428 "2020-06-01T02:58:39Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [June 2, 2020, 9:18pm UTC](https://discourse.vtk.org/t/interaction-problem-while-multi-object-rendered-in-one-actor/3428/2 "2020-06-02T21:18:43Z")

</div>

We have been working on this in 3D Slicer for many months and tried many possible approaches. We ended up using vtkGlyph3D/vtkGlyph2D filters for this, and use a separate pipeline (point source, glypher, mapper, actor) for selected, non-selected, and highlighted points. The performance is good for tend of thousands of points.

See a short demo on the video below of interacting with 1000 and 10000 labeled points; and find link to source code and some more information in [this post](https://discourse.vtk.org/t/picking-glyphs-vtkglyph3dmapper/1618/2).

[![](https://discourse.vtk.org/uploads/default/original/2X/9/9ad1817470e21b5a81251e2cbb924322190ad9f3.jpeg "Slicer markups manipulation performance improvement") ](https://www.youtube.com/watch?v=dXV8-Z8Z_NM)

---

_[View the full topic](https://discourse.vtk.org/t/interaction-problem-while-multi-object-rendered-in-one-actor/3428)._
