scalars on TensorGlyph issue
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 316
- Avg merge
- 7h 44m
- Merged PRs (30d)
- 5
Description
Hi,
Scalars values on TensorGlyph are not displayed correctly as shown in the following simple example:
file tensors.vtk:
# vtk DataFile Version 3.0
Random data to test tensors
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 8 float
0 0 0
1 0 0
0 1 0
1 1 0
0 0 1
1 0 1
0 1 1
1 1 1
POINT_DATA 8
SCALARS scalars float
LOOKUP_TABLE default
1 2 3 4 5 6 7 8
TENSORS tensors1 float
1 0 0
0 2 0
0 0 3
2 0 0
0 3 0
0 0 4
3 0 0
0 4 0
0 0 5
4 0 0
0 5 0
0 0 6
5 0 0
0 5 0
0 0 5
6 0 0
0 6 0
0 0 6
7 0 0
0 7 0
0 0 7
8 0 0
0 8 0
0 0 8
using the command line:
mayavi2 -d tensors.vtk -m TensorGlyph
It displays:

It should display:

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.