# Paint effect in 3d is slow

**URL:** <https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850>\
**Category:** Development\
**Created:** [January 17, 2020, 12:35pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850 "2020-01-17T12:35:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [January 17, 2020, 12:35pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/1 "2020-01-17T12:35:29Z")

</div>

Paint in 3d is too slow, but not the slice. However the speed of the paint seems be no associated with the scale of the brush. So can I paint many points(or times in 3d view) and then apply the segment just the last one?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 17, 2020, 1:26pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/2 "2020-01-17T13:26:42Z")

</div>

Paint in 3D is slower because it is often a computationally very hard task to accurately determine 3D position under the cursor. If you have volume rendering enabled or you have loaded a very complex model or segmentation then point picking in 3D view is expected to take noticeable time. What is your exact use case and how slow it is? (can you share a screen capture video?)

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [January 17, 2020, 1:48pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/3 "2020-01-17T13:48:04Z")

</div>

![Video_2020-01-17_214328 (1)](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/4/443aab18d71fadbc5c2b6ab91ad158c8463518e1.gif)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 17, 2020, 1:54pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/4 "2020-01-17T13:54:57Z")

</div>

It seems that you have loaded a high-polygon-count model, which slows down point picking a lot. You can make it much smoother if you use decimate the model (with a decimation factor of 80-99%) using Surface Toolbox module. Alternatively, you can show the skin surface using GPU volume rendering (rendering may slow down but point picking on volume rendering should be much faster).

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [January 17, 2020, 2:27pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/5 "2020-01-17T14:27:37Z")

</div>

Thanks, lassoan, I used the Volume rendering for picking and the speed was perfecter. And another problem, what my purpose is just pick the surface points. Can I use a circle to collect the points?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 17, 2020, 3:19pm UTC](https://discourse.slicer.org/t/paint-effect-in-3d-is-slow/9850/6 "2020-01-17T15:19:35Z")

</div>

> [@timeanddoctor](#):
>
> And another problem, what my purpose is just pick the surface points. Can I use a circle to collect the points?

Please post this in a new topic and make it more clear and provide more details. I don’t know what circle you are referring to.
