# Paraview Animations not working in VR

**URL:** https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513
**Category:** ParaView Support
**Created:** [March 22, 2019, 4:37pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513 "2019-03-22T16:37:10Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![graehlingq1](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/7c8e57/32.png) [@graehlingq1](https://discourse.paraview.org/u/graehlingq1)
#### Post date: [March 22, 2019, 4:37pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/1 "2019-03-22T16:37:11Z")

</div>

Hello, we are trying to get a paraview animation working in the openVR on an HTC Vive in version 5.6 but the animation just shows the first and last frames. There was a thread similar to this that said downgrading to 5.4 would work. This did solve the animation issue but the OpenVR paraview 5.4.1 does not let you import Macros as far as we can tell, which we need to do for our animation. We are looking for solutions for either getting animations for 5.6 to work in VR or a solution to get macros into 5.4.1 openVR version.

Thank you

---

<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: [March 26, 2019, 10:18am UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/2 "2019-03-26T10:18:12Z")

</div>

@martink

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [April 26, 2019, 2:00pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/3 "2019-04-26T14:00:29Z")

</div>

Right now PV’s animation rate is too slow to handle VR. And so the VR view just freezes while the animation is running. Utkarsh is planning to take a look at the performance issue in the next couple months. If all else fails I can add a record animation option to the OpenVR plugin that will cache all the animated geometry and then play it back in VR but the ideal solution would be to improve the core animation rate in PV so everyone benefits.

---

<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: [April 27, 2019, 1:42pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/4 "2019-04-27T13:42:14Z")

</div>

To second what @martink said, it is indeed one of my priorities to see what we can do to improve animation performance in general. I’ll report back once I get around to debugging it (probably once the 5.7 release related issues wrap up).

---

<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 12, 2019, 5:55pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/5 "2019-09-12T17:55:59Z")

</div>

Hi all,  
do you have any updates on the OpenVR animation front?  
I also have similar issues visualizing the animation with HTC vive.  
When I try to play my animation the only think i can see with my googles is some sort of “vibration” in the video. Looks like a video refresh rate issue.

The static visualization works perfectly for both the Oculus and HTC vive.

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [September 26, 2019, 2:22pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/6 "2019-09-26T14:22:24Z")

</div>

Utkarsh is working on it right now. See [animations in CAVE mode](https://discourse.paraview.org/t/animations-in-cave-mode/2548/10) What he is doing may not solve all of the issues, but we want to see where that puts us before dealing with any OpenVR specific issues.

---

<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:47pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/7 "2019-09-26T17:47:58Z")

</div>

Thank you Ken.

---

<div class="post-metadata">

### Author: ![martink](https://discourse.paraview.org/user_avatar/discourse.paraview.org/martink/32/2082_2.png) [@martink](https://discourse.paraview.org/u/martink)
#### Post date: [October 17, 2019, 3:01pm UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/8 "2019-10-17T15:01:14Z")

</div>

Utkarsh has merged his changes into ParaView master and animation is much better now. At least some of my test cases seem to work fine in VR. One tip, for best performance close the View-\>Animation View and turn off the View-\>Toolbars-\>Current Time Controls before running your animation. Those two widgets slow down the animation noticeably. Basically the more GUI elements updating the worse the performance is.

---

<div class="post-metadata">

### Author: ![wturner](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/ed8c4c/32.png) [@wturner](https://discourse.paraview.org/u/wturner)
#### Post date: [November 25, 2019, 7:14am UTC](https://discourse.paraview.org/t/paraview-animations-not-working-in-vr/1513/9 "2019-11-25T07:14:00Z")

</div>

> add a record animation option to the OpenVR plugin

Hi Ken and Utkarash, @utkarsh.ayachit@martink  
Thank you for your great work!

Please DO ADD a record animation option to the OpenVR plugin.  
Anything that can assist smoothness of animation via OpenVR plugin would be much appreciated! (Ryzen 3900x, Quadro P4000, Oculus Rift)

I’m using Paraview for geological data with multiple objects of millions of points (topography, underground excavations, data from thousands of drill holes each with thousands of data points, etc). Animation via VR just shows first and last frame.

As a work around, might it be possible to use Paraview to animate + record the animation into a VR video format for VR playback?
