# How is selection supposed to work?

**URL:** https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081
**Category:** ParaView Support
**Created:** [July 19, 2024, 2:30am UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081 "2024-07-19T02:30:48Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://discourse.paraview.org/user_avatar/discourse.paraview.org/petrkryslucsd/32/5908_2.png) [@PetrKryslUCSD](https://discourse.paraview.org/u/PetrKryslUCSD)
#### Post date: [July 19, 2024, 2:30am UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/1 "2024-07-19T02:30:48Z")

</div>

I am attempting to select some triangles. When I click somewhere “on the surface”, triangles get selected, but they are nowhere near the point where I clicked.  
This is the result of selecting triangles within a rectangle near the center of the blue surface:  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/e/efe542a12fc3d410603d5c35d590a2a84818903d.png)  
Edit: This surface was exported as .vtk. When it is exported as .vtu, the selection seems to work as expected.  
Edit 2: No, spoke too soon. The information on the cells is displayed correctly, but the selection still doesn’t work.  
Edit 3: I changed the view, and the info for the cells is now reported incorrectly.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 19, 2024, 12:48pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/2 "2024-07-19T12:48:16Z")

</div>

Hi @PetrKryslUCSD, selection should be more intuitive than what you are seeing. Would you be able to share:

- the exact steps you are doing in ParaView prior to the selection, e.g., load this file, apply a filter, set color array to “X”, etc.
- a dataset with which you are seeing this behavior. If a dataset is not shareable, are you seeing this with, say, the **Unstructured Cell Types** source in the Sources → Alphabetical menu?

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://discourse.paraview.org/user_avatar/discourse.paraview.org/petrkryslucsd/32/5908_2.png) [@PetrKryslUCSD](https://discourse.paraview.org/u/PetrKryslUCSD)
#### Post date: [July 19, 2024, 1:40pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/3 "2024-07-19T13:40:31Z")

</div>

The dataset is here: [Dropbox](https://www.dropbox.com/scl/fi/u69cp0efeww8qmpoldc36/mt013.7z?rlkey=6txryq81m9mcqwjlihghr21mv&dl=0)

It consists of triangulated surfaces and the dataset is the classification into fifteen topological surfaces.

I just load it into Paraview and then try to identify the classification of individual triangles by using the info tool.

Client Information:  
Version: 5.11.0  
VTK Version: 9.2.20220823  
Qt Version: 5.15.2  
vtkIdType size: 64bits  
Embedded Python: On  
Python Library Path: C:\Program Files\ParaView 5.11.0\bin\lib  
Python Library Version: 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]  
Python Numpy Support: On  
Python Numpy Path: C:\Program Files\ParaView 5.11.0\bin\Lib\site-packages\numpy  
Python Numpy Version: 1.21.1  
Python Matplotlib Support: On  
Python Matplotlib Path: C:\Program Files\ParaView 5.11.0\bin\Lib\site-packages\matplotlib  
Python Matplotlib Version: 3.2.1  
Python Testing: Off  
MPI Enabled: Off  
ParaView Build ID: superbuild 296d2d1b237965dbf5059263bb6feac90417f250 (!1041)  
Disable Registry: Off  
Test Directory:  
Data Directory:  
SMP Backend: TBB  
SMP Max Number of Threads: 8  
OpenGL Vendor: Intel  
OpenGL Version: 3.2.0 - Build 31.0.101.2125  
OpenGL Renderer: Intel(R) Iris(R) Plus Graphics  
Accelerated filters overrides available: No

Connection Information:  
Remote Connection: No

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 19, 2024, 2:20pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/4 "2024-07-19T14:20:01Z")

</div>

Hmm, I cannot reproduce on macOS with ParaView 5.11.0 or 5.13.0-RC1. Interactive selection of individual cells works as expected, and so does hovering over them to get information (and the information is correct).

I hate to rush to blame Intel’s graphics implementation, but that’s where my suspicion lies. We have had a number of issues with Intel rendering. ParaView uses the graphics hardware to do selection, and if something is rendered incorrectly in that process, you could get the strange results you see. If you have another graphics card on that machine, such as an NVIDIA card, could you ensure ParaView is using that one?

One more thing to check. If you open a Spreadsheet view and show only the selected elements, do they look like the cells you picked, or is that list a wild selection?

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://discourse.paraview.org/user_avatar/discourse.paraview.org/petrkryslucsd/32/5908_2.png) [@PetrKryslUCSD](https://discourse.paraview.org/u/PetrKryslUCSD)
#### Post date: [July 19, 2024, 2:25pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/5 "2024-07-19T14:25:36Z")

</div>

> [@cory.quammen](#):
>
> We have had a number of issues with Intel rendering. ParaView uses the graphics hardware to do selection, and if something is rendered incorrectly in that process, you could get the strange results you see. If you have another graphics card on that machine, such as an NVIDIA card, could you ensure ParaView is using that one?

Well, that sucks. This is on a Microsoft Surface. There is no other graphics card.

Can I use software rendering?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 19, 2024, 3:04pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/6 "2024-07-19T15:04:27Z")

</div>

> [@PetrKryslUCSD](#):
>
> Can I use software rendering?

This guide for using mesa on Windows may get you software rendering on a Microsoft Surface.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 19, 2024, 3:15pm UTC](https://discourse.paraview.org/t/how-is-selection-supposed-to-work/15081/7 "2024-07-19T15:15:44Z")

</div>

Sorry, here is the guide: [How to run ParaView (including the binary release) using Mesa on Windows](https://discourse.paraview.org/t/how-to-run-paraview-including-the-binary-release-using-mesa-on-windows/4321)
