# animations in CAVE mode

**URL:** https://discourse.paraview.org/t/animations-in-cave-mode/2548
**Category:** ParaView Support
**Tags:** vr
**Created:** [September 12, 2019, 2:54pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548 "2019-09-12T14:54:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![inealey](https://discourse.paraview.org/user_avatar/discourse.paraview.org/inealey/32/16422_2.png) [@inealey](https://discourse.paraview.org/u/inealey)
#### Post date: [September 12, 2019, 2:54pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/1 "2019-09-12T14:54:43Z")

</div>

Hi all,

I am new to Paraview and hoping to get some help with animations in ‘cave’ configuration.

I’m starting small with a sample blood flow dataset from ANL: [https://www.alcf.anl.gov/user-guides/vis-paraview-red-blood-cell-tutorial](https://www.alcf.anl.gov/user-guides/vis-paraview-red-blood-cell-tutorial).

When moving or scaling the dataset, the interaction is flawlessly smooth. However, stepping through the time series is quite slow, about 1 step/sec, even with geometry caching enabled.

Looking at the timer log, I see the task causing the slowdown is ‘FullRes Data Migration’, taking over half a second every time step. When running locally, I don’t see this step happening and the steps take much less time (~0.01 sec in the timer log after cached).

Any help speeding up this animation would be much appreciated!

Some basic info about my current set up:

- 35 x “worker” nodes with 16-core Intel Xeon CPU, 2 NVIDIA GTX 1080s, 64 Gb RAM
- 1 x “master” node, same system config
- 70 x 4K LG 3D TVs, arranged around a sphere (70 unique viewports)
- 40 Gbps network between nodes
- paraview v5.4.1
- 70 pvserver instances (2 per node, 1 per screen)
- data mounted from NFS but i have also tried copying to each node with same result - its not much data… yet 🙂

Thanks!

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 12, 2019, 4:57pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/2 "2019-09-12T16:57:00Z")

</div>

This is indeed a limitation of the current implementation. In the current implementation, the geometry caching is done at the wrong end – it’s cached on the data processing side and not on the rendering side. For CAVE, we clone data i.e. all geometry from all ranks is duplicated for each tile so that interactive rendering can happen without data movement. However, since the caching for temporal data happens on the data processing side, the data movement has to happen when timestep is changed.

It’s fixable, but would need some development to move the caching location.

---

<div class="post-metadata">

### Author: ![jjgraham](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/9e8a1a/32.png) [@jjgraham](https://discourse.paraview.org/u/jjgraham)
#### Post date: [September 12, 2019, 6:46pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/3 "2019-09-12T18:46:57Z")

</div>

> [@utkarsh.ayachit](#):
>
> It’s fixable, but would need some development to move the caching location.

How long would that take to fix ? How can we help

---

<div class="post-metadata">

### Author: ![jjgraham](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/9e8a1a/32.png) [@jjgraham](https://discourse.paraview.org/u/jjgraham)
#### Post date: [September 12, 2019, 6:50pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/4 "2019-09-12T18:50:54Z")

</div>

Here is what we see now

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 13, 2019, 6:18pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/5 "2019-09-13T18:18:59Z")

</div>

Haha! that’s awesome! despite the slow play speed, that’s pretty cool!

I am looking into it now…I need to refresh my memory on some of these components as it’s been a while since I looked at them, but I’ll keep you posted.

---

<div class="post-metadata">

### Author: ![inealey](https://discourse.paraview.org/user_avatar/discourse.paraview.org/inealey/32/16422_2.png) [@inealey](https://discourse.paraview.org/u/inealey)
#### Post date: [September 13, 2019, 6:56pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/6 "2019-09-13T18:56:48Z")

</div>

Thanks Utkarsh!  
Ping if there is anything we can investigate on our end.

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 17, 2019, 2:11pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/7 "2019-09-17T14:11:12Z")

</div>

status update: I’m making progress. I still need a few more days to make the changes merge ready but things so far are looking promising. Here’s a comparision between 5.6 and paraview with my changes, both using animation caching.

[https://discourse.paraview.org/uploads/default/original/2X/4/4c20073cd5f7da94f092e9b1a1a43d2c533393ca.mp4](https://discourse.paraview.org/uploads/default/original/2X/4/4c20073cd5f7da94f092e9b1a1a43d2c533393ca.mp4)

---

<div class="post-metadata">

### Author: ![lee-or](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/b9e5f3/32.png) [@lee-or](https://discourse.paraview.org/u/lee-or)
#### Post date: [September 18, 2019, 10:23am UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/8 "2019-09-18T10:23:06Z")

</div>

Hey,

This work looks amazing!  
I am currently trying to display an animation in VR-ParaView using HTC-VIVE, but still could not find the option…  
Is that what you guys are working on? If so, when are you plan to release it?  
If not, do you guys have any idea whats going on with that?

Thanks in advance,  
Lee-or

---

<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: [September 19, 2019, 5:36am UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/9 "2019-09-19T05:36:02Z")

</div>

This is related somehow, but will require more work to work in VR.  
This is discussed here : [Paraview Animations not working in VR](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/3)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 23, 2019, 5:43pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/10 "2019-09-23T17:43:09Z")

</div>

If you want to test the changes out, the merge-request is [here](https://gitlab.kitware.com/paraview/paraview/merge_requests/3597). I still have a few more things to do before this can be merged.

---

<div class="post-metadata">

### Author: ![Christos](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos/32/2013_2.png) [@Christos](https://discourse.paraview.org/u/Christos)
#### Post date: [September 26, 2019, 5:48pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/11 "2019-09-26T17:48:12Z")

</div>

Hi Utkarsh,  
and thank you for all your work on this problem.  
Was anybody able to actually play the paraview animations (and see with no “flashing”) using the goggles?  
Thank you in advance.

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [September 27, 2019, 12:33pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/12 "2019-09-27T12:33:14Z")

</div>

@Christos, there’s definitely more work that will follow to ensure there’s no flashing when using goggles that @martink intends to continue working on, however what I am working is the first step.

---

<div class="post-metadata">

### Author: ![Christos](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos/32/2013_2.png) [@Christos](https://discourse.paraview.org/u/Christos)
#### Post date: [September 27, 2019, 4:11pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/13 "2019-09-27T16:11:10Z")

</div>

Hi Utkarsh,  
and thank you for your reply.  
Do you think there is any workaround or a temporary solution for that?

---

<div class="post-metadata">

### Author: ![Christos](https://discourse.paraview.org/user_avatar/discourse.paraview.org/christos/32/2013_2.png) [@Christos](https://discourse.paraview.org/u/Christos)
#### Post date: [October 7, 2019, 11:48pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/14 "2019-10-07T23:48:14Z")

</div>

Hi Utkarsh,  
and thank you for your answer.  
If I understand correctly no one was able to hit play and actually watch the animation through the goggles using OpenVR, Is that right? Is that a question of libraries? Will use older versions change something?  
The only work around I have found (that is not actually a solution) is to move forward one step at a time by clicking with the mouse. Is there any workaround to this issue?

Thank you again.

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [October 8, 2019, 5:55pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/15 "2019-10-08T17:55:31Z")

</div>

> [@Christos](#):
>
> If I understand correctly no one was able to hit play and actually watch the animation through the goggles using OpenVR, Is that right?

That is correct, AFAIK.

> [@Christos](#):
>
> Will use older versions change something?

no, going to older versions of ParaView will not impact this.

> [@Christos](#):
>
> Is there any workaround to this issue?

There are no workarounds that I am aware of. [mr-3597](https://gitlab.kitware.com/paraview/paraview/merge_requests/3597) should land soon. After which, there needs to some more fine tuning on the OpenVR plugin side before animations in VR become fully functional.

---

<div class="post-metadata">

### Author: ![inealey](https://discourse.paraview.org/user_avatar/discourse.paraview.org/inealey/32/16422_2.png) [@inealey](https://discourse.paraview.org/u/inealey)
#### Post date: [October 9, 2019, 10:29pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/16 "2019-10-09T22:29:05Z")

</div>

Hi @utkarsh.ayachit,

Wow, remote/parallel rendering animations is much faster now, looks fantastic! Many thanks.

I am seeing a new issue in the CAVE, though. When I launch in cave mode, I get a blank white screen on the worker nodes. Client side renders as expected. Any ideas about what could be causing this?

 ![white-screen-w-client](https://discourse.paraview.org/uploads/default/original/2X/a/aefa682c57632f22313a609a17e1f78284cda6a4.jpeg) ![white-screen](https://discourse.paraview.org/uploads/default/original/2X/3/387c23b8139c3bb7fc09b7ad5c9ce3e93b646d1d.jpeg)

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [October 9, 2019, 10:33pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/17 "2019-10-09T22:33:34Z")

</div>

yup, the fix for that is under development [here](https://gitlab.kitware.com/paraview/paraview/merge_requests/3629). For a quick fix, just apply [this change](https://gitlab.kitware.com/vtk/vtk/commit/05f87557cd9fb6c20486398e2088fd70418276a3) to VTK and it should overcome this issue. The commit had to be reverted due to some other issues. The MR under development attempts to fix it properly on ParaView side itself.

---

<div class="post-metadata">

### Author: ![inealey](https://discourse.paraview.org/user_avatar/discourse.paraview.org/inealey/32/16422_2.png) [@inealey](https://discourse.paraview.org/u/inealey)
#### Post date: [October 9, 2019, 10:59pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/18 "2019-10-09T22:59:39Z")

</div>

quick fix works. thanks again!

---

<div class="post-metadata">

### Author: ![utkarsh.ayachit](https://discourse.paraview.org/user_avatar/discourse.paraview.org/utkarsh.ayachit/32/39_2.png) [@utkarsh.ayachit](https://discourse.paraview.org/u/utkarsh.ayachit)
#### Post date: [October 10, 2019, 12:51am UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/19 "2019-10-10T00:51:36Z")

</div>

cool! Mind sharing a video of the playback in action? I am curious how it compares to the previous video. thanks!

---

<div class="post-metadata">

### Author: ![inealey](https://discourse.paraview.org/user_avatar/discourse.paraview.org/inealey/32/16422_2.png) [@inealey](https://discourse.paraview.org/u/inealey)
#### Post date: [October 11, 2019, 9:51pm UTC](https://discourse.paraview.org/t/animations-in-cave-mode/2548/20 "2019-10-11T21:51:57Z")

</div>

here’s that same dataset running in the CAVE:

> **[bloodflow\_speedup.mp4 (video)](https://drive.google.com/file/d/1a8Snd7p4tz-YtvMjZjcLf_4xeUaN9IiI/view?usp=sharing)**
>
> Google Drive file.

[Next page](https://discourse.paraview.org/t/animations-in-cave-mode/2548.md?page=2)
