# how to show a vtu file in unity？

**URL:** https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291
**Category:** Support
**Created:** [April 13, 2022, 2:08pm UTC](https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291 "2022-04-13T14:08:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chengchengjing](https://discourse.vtk.org/user_avatar/discourse.vtk.org/chengchengjing/32/4395_2.png) [@chengchengjing](https://discourse.vtk.org/u/chengchengjing)
#### Post date: [April 13, 2022, 2:08pm UTC](https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291/1 "2022-04-13T14:08:40Z")

</div>

![image](https://discourse.vtk.org/uploads/default/original/2X/6/6d17676351def026f92bb019fe24c84acb1e452a.png)  
The topology supported by unity is shown in the figure. Therefore, if the vtu file contains hexahedrons, can it not be displayed in unity?

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.vtk.org/user_avatar/discourse.vtk.org/danlipsa/32/390_2.png) [@danlipsa](https://discourse.vtk.org/u/danlipsa)
#### Post date: [April 13, 2022, 2:22pm UTC](https://discourse.vtk.org/t/how-to-show-a-vtu-file-in-unity/8291/2 "2022-04-13T14:22:37Z")

</div>

You can use vtkExtractSurface to extract the outside shell of the volume and vtkTriangleFilter to change all cells to triangles. The resulting dataset will be compatible with what unity can display.
