# 360 degree view

**URL:** https://discourse.vtk.org/t/360-degree-view/8984
**Category:** Support
**Tags:** python
**Created:** [July 21, 2022, 12:26am UTC](https://discourse.vtk.org/t/360-degree-view/8984 "2022-07-21T00:26:25Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [July 21, 2022, 12:26am UTC](https://discourse.vtk.org/t/360-degree-view/8984/1 "2022-07-21T00:26:25Z")

</div>

I am trying to obtain a 360 view of a terrain rendered in VTK. I have come across `vtkPanoramicProjectionPass()` but I have not found any examples. Can anyone point to some example, ideally, using python bindings?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [July 21, 2022, 8:00am UTC](https://discourse.vtk.org/t/360-degree-view/8984/2 "2022-07-21T08:00:51Z")

</div>

Hi @llobera ,

This is only used in ParaView for now, see this:  
[https://www.kitware.com/generate-360-images-with-paraview/](https://www.kitware.com/generate-360-images-with-paraview/)

An example usage can be seen here:  
[https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/PanoramicProjectionView/Views/vtkPVPanoramicProjectionView.cxx](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/PanoramicProjectionView/Views/vtkPVPanoramicProjectionView.cxx)

---

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [July 22, 2022, 7:15pm UTC](https://discourse.vtk.org/t/360-degree-view/8984/3 "2022-07-22T19:15:36Z")

</div>

👍

---

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [September 16, 2022, 3:12pm UTC](https://discourse.vtk.org/t/360-degree-view/8984/4 "2022-09-16T15:12:03Z")

</div>

@mwestphal In the tutorial you reference to it is possible to specify the type of projection and whether the angle we want to consider but I unfortunately I have been unable to find how to do so. In addition, what location does it take as the center around which the view is generated?

regards,  
M

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [September 19, 2022, 2:28am UTC](https://discourse.vtk.org/t/360-degree-view/8984/5 "2022-09-19T02:28:29Z")

</div>

All of the methods are there:

[https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/PanoramicProjectionView/Views/vtkPVPanoramicProjectionView.h](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Plugins/PanoramicProjectionView/Views/vtkPVPanoramicProjectionView.h)

It probably use 0, 0, 0 as the center though.

---

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [September 20, 2022, 8:23am UTC](https://discourse.vtk.org/t/360-degree-view/8984/6 "2022-09-20T08:23:08Z")

</div>

Hi Mathieu,  
What I was after was how to access the parameters in paraview? I was able to load the plugin and use the extension but was not able to figure out how I can access the parameters that appear mentioned in the [blog post](https://www.kitware.com/generate-360-images-with-paraview/) you sent earlier.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [September 20, 2022, 8:37am UTC](https://discourse.vtk.org/t/360-degree-view/8984/7 "2022-09-20T08:37:32Z")

</div>

They are in the properties panel, View part.

---

<div class="post-metadata">

### Author: ![llobera](https://discourse.vtk.org/user_avatar/discourse.vtk.org/llobera/32/5540_2.png) [@llobera](https://discourse.vtk.org/u/llobera)
#### Post date: [September 20, 2022, 8:43am UTC](https://discourse.vtk.org/t/360-degree-view/8984/8 "2022-09-20T08:43:47Z")

</div>

Got it! My bad… I had not scroll down enough.

Thank you!
