# Dynamic scene

**URL:** https://discourse.paraview.org/t/dynamic-scene/399
**Category:** ParaView Support
**Tags:** vr, python
**Created:** [August 7, 2018, 1:55pm UTC](https://discourse.paraview.org/t/dynamic-scene/399 "2018-08-07T13:55:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![GPsalachs](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gpsalachs/32/223_2.png) [@GPsalachs](https://discourse.paraview.org/u/GPsalachs)
#### Post date: [August 7, 2018, 1:55pm UTC](https://discourse.paraview.org/t/dynamic-scene/399/1 "2018-08-07T13:55:11Z")

</div>

Hello, Is it possible to export a full 3D dynamic scene? If possible how is it done?

Thank you!

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [August 13, 2018, 8:29pm UTC](https://discourse.paraview.org/t/dynamic-scene/399/2 "2018-08-13T20:29:52Z")

</div>

@GPsalachs, can you be a bit more specific about what you expect to be exported/written? I see a similar question on the mailing list (I think from you) that states you are _not_ trying to output an animation. What is it that you _do_ what as the output?

There are ways to write out data sets that encapsulate data that changes over time. (Often this is encapsulated as a series of data files for each time step although some file formats can encapsulate the time within them.) Is this what you had in mind?

You can also write out the state of ParaView, which will include any time dependent information.

Did you have something else in mind?

---

<div class="post-metadata">

### Author: ![GPsalachs](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gpsalachs/32/223_2.png) [@GPsalachs](https://discourse.paraview.org/u/GPsalachs)
#### Post date: [August 14, 2018, 10:51am UTC](https://discourse.paraview.org/t/dynamic-scene/399/3 "2018-08-14T10:51:03Z")

</div>

Hello,

the thing that i have in mind comes i think really close to the Paraview VR state but i want to represent it in AR. Thing is i don’t exactly know first if it is possible and second how to do it.So i ask in the mailing list and in the forums if someone has a dynamic scene exportation sequence.  
What would you suggest?

Thank you.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [August 14, 2018, 7:19pm UTC](https://discourse.paraview.org/t/dynamic-scene/399/4 "2018-08-14T19:19:18Z")

</div>

Uhhhh…

I don’t really have any experience with the ParaView VR functionality, so I might not be the best person to answer. But I’m not really aware of any special components to the VR setup other than specialized head tracking, display, and input hardware. Any dynamic component you set up in ParaView should be saved in a state file.

I think I must not understand what you are looking for.

---

<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: [August 27, 2018, 1:46pm UTC](https://discourse.paraview.org/t/dynamic-scene/399/5 "2018-08-27T13:46:04Z")

</div>

ParaView can export several types of file formats that recreate many of the elements in the ParaView render view (but not all elements are exported to all formats). Examples include VRML, WebGL, X3D. Each captures only the current scene. For dynamic datasets, you would need to script the export, e.g.,

```python
# get animation scene
animationScene = GetAnimationScene()

for frame in xrange(animationScene.GetNumberOfFrames()):

  # export view  
  ExportView('myscene%04d.webgl' % frame, view=renderView1)

  animationScene1.GoToNext()

```

You could export scenes these way and play them back through some kind of player on your AR system, but I suspect this may not be possible, and it may won’t be entirely satisfactory for what you envision. You could consider paid support from Kitware to implement viewing in the AR environment you are using, which would likely get you much closer to what you have envisioned.

---

<div class="post-metadata">

### Author: ![GPsalachs](https://discourse.paraview.org/user_avatar/discourse.paraview.org/gpsalachs/32/223_2.png) [@GPsalachs](https://discourse.paraview.org/u/GPsalachs)
#### Post date: [August 27, 2018, 1:57pm UTC](https://discourse.paraview.org/t/dynamic-scene/399/6 "2018-08-27T13:57:52Z")

</div>

Thank you very much for the response! I will try to make something with the example you have shown me!
