# Does VTK-8.9 Support GLTFExport?

**URL:** https://discourse.vtk.org/t/does-vtk-8-9-support-gltfexport/2730
**Category:** Support
**Created:** [March 1, 2020, 9:10pm UTC](https://discourse.vtk.org/t/does-vtk-8-9-support-gltfexport/2730 "2020-03-01T21:10:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ShaneKirkbride](https://discourse.vtk.org/user_avatar/discourse.vtk.org/shanekirkbride/32/1392_2.png) [@ShaneKirkbride](https://discourse.vtk.org/u/ShaneKirkbride)
#### Post date: [March 1, 2020, 9:10pm UTC](https://discourse.vtk.org/t/does-vtk-8-9-support-gltfexport/2730/1 "2020-03-01T21:10:06Z")

</div>

Hello  
I’m trying to export a PolyData object to GLTF format. I got the example here:  
[https://lorensen.github.io/VTKExamples/site/Cxx/IO/GLTFExporter/](https://lorensen.github.io/VTKExamples/site/Cxx/IO/GLTFExporter/)

I get this error in cmake:  
Skipping GLTFExporter: Could not find the VTK package with the following required components: IOExportOpenGL2.

I can’t find any options in the VTK 8.9 build that supports this.

What should I do to export something to GLTF in VTK-8.9? Is this possible?  
Thanks,  
~Shane

---

<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: [March 2, 2020, 2:36am UTC](https://discourse.vtk.org/t/does-vtk-8-9-support-gltfexport/2730/2 "2020-03-02T02:36:45Z")

</div>

The example seems out of date. Just remove the dependency for the CMakeLists.

---

<div class="post-metadata">

### Author: ![ShaneKirkbride](https://discourse.vtk.org/user_avatar/discourse.vtk.org/shanekirkbride/32/1392_2.png) [@ShaneKirkbride](https://discourse.vtk.org/u/ShaneKirkbride)
#### Post date: [March 2, 2020, 3:12am UTC](https://discourse.vtk.org/t/does-vtk-8-9-support-gltfexport/2730/3 "2020-03-02T03:12:19Z")

</div>

@mwestphal you are correct. I just removed the dependency and it exports .gtlfs just fine.

I actually would like to export a monolithic or binary file but I’m not sure how to do this. Is there a way to export to .GLB? I’ll ask in a separate thread if necessary.
