# Surface LIC does not seem to respect input data

**URL:** https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053
**Category:** ParaView Support
**Created:** [February 24, 2022, 10:25am UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053 "2022-02-24T10:25:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bastian](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bastian/32/7513_2.png) [@bastian](https://discourse.paraview.org/u/bastian)
#### Post date: [February 24, 2022, 10:25am UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053/1 "2022-02-24T10:25:38Z")

</div>

I am trying to employ Surface LICs for the visualization of flow features, but the lines that I get don’t make much sense to me.

Strikingly, the LIC texture does not rotate with the surface in regions with low magnitude (blue):  
 ![rate](https://discourse.paraview.org/uploads/default/original/2X/e/eb9e9f6352cb37770c28ae1d088d467e9f2f4a76.gif)

Also, the texture is unaffected by the choice of input:  
 ![input](https://discourse.paraview.org/uploads/default/original/2X/6/6118a86011a825485ea35b2280e1c3a0e0f74888.gif)

Am I missing something? I have never used LIC before, but I went through pretty much all the settings I could find.

I am using the current binary release [ParaView-5.10.0-MPI-Linux-Python3.9-x86\_64.tar.gz](https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.10&type=binary&os=Linux&downloadFile=ParaView-5.10.0-MPI-Linux-Python3.9-x86_64.tar.gz)

 ![plugins](https://discourse.paraview.org/uploads/default/original/2X/c/c7d9caeccde29a9676d3a84c95dc3ce85f0ec1b4.png)

This is the data I am using in the demo (Provided by [Boston University TechWeb](https://www.bu.edu/tech/support/research/software-and-programming/software-and-applications/rcs-software-packages/paraview/paraview_examples/)):  
[subset.vtk](http://scv.bu.edu/documentation/software-help/scivis/paraview_examples/materials/Data/subset.vtk)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 24, 2022, 12:57pm UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053/2 "2022-02-24T12:57:13Z")

</div>

> [@bastian](#):
>
> Strikingly, the LIC texture does not rotate with the surface in regions with low magnitude (blue):

This is expected behavior

> Also, the texture is unaffected by the choice of input:

Works well here, without any issue:  
 ![Peek 2022-02-24 13-55](https://discourse.paraview.org/uploads/default/original/2X/0/0a9b5c86c4fba8a3f2517f41b40f4f5af0a93f98.gif)

---

<div class="post-metadata">

### Author: ![bastian](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bastian/32/7513_2.png) [@bastian](https://discourse.paraview.org/u/bastian)
#### Post date: [February 24, 2022, 1:15pm UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053/3 "2022-02-24T13:15:21Z")

</div>

> [@mwestphal](#):
>
> Works well here, without any issue:

weird, now that I tried it again, it also works for me.

And the result looks reasonable also when rotating the view.

---

<div class="post-metadata">

### Author: ![bastian](https://discourse.paraview.org/user_avatar/discourse.paraview.org/bastian/32/7513_2.png) [@bastian](https://discourse.paraview.org/u/bastian)
#### Post date: [February 24, 2022, 1:32pm UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053/4 "2022-02-24T13:32:30Z")

</div>

mh but here I have the issue again:  
when looking from the inside, the LIC-structures are pretty much aligned with the x-axis, when looking from the outside, they have a -y component.

![demo2](https://discourse.paraview.org/uploads/default/original/2X/6/6b631eb52060015fc4aaf48f045ec7589a480b7d.gif)

I am loading the plugin with

```auto
LoadPlugin('/soft/ParaView-5.10.0-MPI-Linux-Python3.9-x86_64/bin/../lib/paraview-5.10/plugins/SurfaceLIC/SurfaceLIC.so', remote=False, ns=globals())

```

before building the pipeline.

When the bug appears, the LICs react to the Color input instead of the Vectors input:  
 ![demo3](https://discourse.paraview.org/uploads/default/original/2X/1/12cc9abce826180050e0187e5a6779c4e8cfbd62.gif)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 24, 2022, 1:53pm UTC](https://discourse.paraview.org/t/surface-lic-does-not-seem-to-respect-input-data/9053/5 "2022-02-24T13:53:49Z")

</div>

please share steps to repro
