# Paraview Glance vs. Paraview Web

**URL:** https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551
**Category:** Web Support
**Created:** [March 28, 2019, 2:41am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551 "2019-03-28T02:41:56Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Kevin\_Xiaomu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kevin_xiaomu/32/1234_2.png) [@Kevin\_Xiaomu](https://discourse.paraview.org/u/Kevin_Xiaomu)
#### Post date: [March 28, 2019, 2:41am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/1 "2019-03-28T02:41:56Z")

</div>

Hi, I am trying to investigate the possibilities to bring CFD results to VR/AR through Paraview Glance or Paraview Web.

1. Can Paraview Web support VR/AR export as well? I noted that Paraview Glance can do this.
2. For the supported file formats, it seems paraview glance doesn’t support many vtk file formats. Is there any plan to increase the supported file formats?
3. Overall speaking, which tool do you think will be more suitable for my intended use? the Paraview Glance or Paraview Web?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [March 28, 2019, 3:22pm UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/2 "2019-03-28T15:22:06Z")

</div>

For latency constraints, VR need to deal with rendering locally on a good GPU. ParaViewGlance rely on vtk.js which allow WebVR. For ParaViewWeb, we have 2 mode of operation, remote and local rendering.  
When doing remote rendering, we just send images which won’t work for VR. In local rendering mode, we send a geometry extract to vtk.js which does support VR in the same fashion as Glance but we did not exposed the control to switch to VR graphically.

ParaViewWeb rely on a full feature ParaView which has many readers and filters.  
ParaViewGlance on the other hand just rely on vtk.js for some readers and all its rendering along with itk.js for more medical oriented readers. The readers from itk.js are in fact the C++ version compiled to WebAssembly. This would be the way to go for vtk.js to add mode VTK/C++ readers to Glance. But that part is still WIP.

Regarding your questions:

1. ParaViewWeb could be used to do VR but the main driver should be where is the data and how do you want to deploy your web application? Those will actually tell you if any solution is indeed viable.
2. Yes via WebAssembly and @thewtex might be able to talk more about this.
3. I would need more informations as the key points that should drive your decision are missing here.

HTH,

Seb

---

<div class="post-metadata">

### Author: ![Kevin\_Xiaomu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kevin_xiaomu/32/1234_2.png) [@Kevin\_Xiaomu](https://discourse.paraview.org/u/Kevin_Xiaomu)
#### Post date: [March 29, 2019, 2:44am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/3 "2019-03-29T02:44:49Z")

</div>

Thanks for the quick response, Seb!

Regarding the data location, it will be saved on the server where Paraview Web or paraview Glance is located. Both the server and the client that opening paraview web/glance will be GPU based workstations, so they can do the rendering when needed.

The main purpose is to use VR or AR equipment to visualize results so user can get better better ideas regarding the results.

Based on the above, which option do you think is better for my purpose, Paraview Web or Paraview Glance?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [March 29, 2019, 6:51am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/4 "2019-03-29T06:51:30Z")

</div>

How big is the data that you want visualize? The size of the file could provide some indication.

---

<div class="post-metadata">

### Author: ![Kevin\_Xiaomu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kevin_xiaomu/32/1234_2.png) [@Kevin\_Xiaomu](https://discourse.paraview.org/u/Kevin_Xiaomu)
#### Post date: [April 1, 2019, 10:46am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/5 "2019-04-01T10:46:51Z")

</div>

The file size is around 100MB. Do you think Paraview Glance can handle this size if data? What is the upper size limit for files that can be dealt by paraview glance?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [April 1, 2019, 2:56pm UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/6 "2019-04-01T14:56:20Z")

</div>

Glance should be able to handle that, but are you ready to wait for the data to be sent over network to the client?

---

<div class="post-metadata">

### Author: ![Kevin\_Xiaomu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kevin_xiaomu/32/1234_2.png) [@Kevin\_Xiaomu](https://discourse.paraview.org/u/Kevin_Xiaomu)
#### Post date: [April 2, 2019, 12:38am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/7 "2019-04-02T00:38:18Z")

</div>

This maybe an issue. How about Paraview Web, if the view was rendered in the server and only a picture is sent to the client, is it still possible to use VR or AR technology?

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [April 2, 2019, 1:35am UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/8 "2019-04-02T01:35:25Z")

</div>

Is your data volumetric (3D cells?) or already a surface mesh?

If it is already a surface mesh, the amount of data that need to be sent to the client for doing VR will remain the same. But if the data come from simulation and extracting the surface would make the geometry transfer more manageable, then ParaViewWeb with local rendering could be an option for VR.

If VR is not require, simple image delivery can be done.

A way to present that to your user is to provide a progress bar only when he wants to go to VR, unless it’s the only purpose…

---

<div class="post-metadata">

### Author: ![thewtex](https://discourse.paraview.org/user_avatar/discourse.paraview.org/thewtex/32/854_2.png) [@thewtex](https://discourse.paraview.org/u/thewtex)
#### Post date: [April 25, 2019, 6:34pm UTC](https://discourse.paraview.org/t/paraview-glance-vs-paraview-web/1551/9 "2019-04-25T18:34:03Z")

</div>

> [@Kevin\_Xiaomu](#):
>
> For the supported file formats, it seems paraview glance doesn’t support many vtk file formats. Is there any plan to increase the supported file formats?

ParaView Glance supports a [number of image file formats provided by itk.js](https://insightsoftwareconsortium.github.io/itk-js/docs/image_formats.html). There are also some [geometry file formats supported by vtk.js](https://kitware.github.io/vtk-js/api/). In the future, more geometry file formats may be supported via WebAssembly.
